Skip to content

Commit 00b533e

Browse files
change ScrivenerList to Scrivener.List for sake of consistency with other extensions
1 parent 04c4f85 commit 00b533e

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
/cover
33
/deps
44
/.idea
5+
/doc
56
erl_crash.dump
67
*.ez

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# ScrivenerList [![Build Status](https://travis-ci.org/stephenmoloney/scrivener_list.svg)](https://travis-ci.org/stephenmoloney/scrivener_list) [![Hex Version](http://img.shields.io/hexpm/v/scrivener_list.svg?style=flat)](https://hex.pm/packages/scrivener_list) [![Hex docs](http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat)](https://hexdocs.pm/scrivener_list)
1+
# Scrivener.List [![Build Status](https://travis-ci.org/stephenmoloney/scrivener_list.svg)](https://travis-ci.org/stephenmoloney/scrivener_list) [![Hex Version](http://img.shields.io/hexpm/v/scrivener_list.svg?style=flat)](https://hex.pm/packages/scrivener_list) [![Hex docs](http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat)](https://hexdocs.pm/scrivener_list)
22

3-
[ScrivenerList](https://hex.pm/packages/scrivener_list) is a Scrivener compatible extension that
3+
[Scrivener.List](https://hex.pm/packages/scrivener_list) is a Scrivener compatible extension that
44
allows one to paginate a list of elements.
55

6-
ScrivenerList extends the functions `Scrivener.paginate/2` and `MyApp.Repo.paginate/2` such that
6+
Scrivener.List extends the functions `Scrivener.paginate/2` and `MyApp.Repo.paginate/2` such that
77
a list can be passed and the function returns pages in the %Scrivener.Page{} format, the same as scrivener.
88
[Scrivener](https://hexdocs.pm/scrivener/) is a required dependency but the creation of
99
a Repo module and `use Scrivener` statement therein is optional.

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule ScrivenerList.Mixfile do
1+
defmodule Scrivener.List.Mixfile do
22
use Mix.Project
33

44
def project do

test/scrivener_list_test.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
defmodule ScrivenerListTest do
2-
use ScrivenerList.TestCase
1+
defmodule Scrivener.ListTest do
2+
use Scrivener.List.TestCase
33
@languages ["C#", "C++", "Clojure", "Elixir", "Erlang", "Go", "JAVA", "JavaScript", "Lisp",
44
"PHP", "Perl", "Python", "Ruby", "Rust", "SQL"]
55
@total_entries length(@languages)

test/test_helper.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule ScrivenerList.TestCase do
1+
defmodule Scrivener.List.TestCase do
22
use ExUnit.CaseTemplate
33
using(opts) do
44
quote do

0 commit comments

Comments
 (0)