Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
thebugcatcher committed Feb 16, 2017
1 parent 1e768f0 commit 50335dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This is [available in Hex](https://hexdocs.pm/rummage_phoenix/api-reference.html
```elixir
def deps do
[
{:rummage_phoenix, "~> 0.5.0"}
{:rummage_phoenix, "~> 0.6.0"}
]
end
```
Expand All @@ -36,7 +36,7 @@ This is **NOT** the preferred way to set `per_page` as it might lead to conflict
do it per model as show below in the [Initial Setup](#initial-setup) section. If you wanna set per_page
for all the models, add it to `model` function in `web.ex`

- Add `rummage_phoenix` to your list of dependencies in `mix.exs`:
- Add `rummage_phoenix` config to your list of configs in `dev.exs`:

```elixir
config :rummage_phoenix,
Expand All @@ -62,7 +62,7 @@ Search, Sort and Paginate in Phoenix!
```elixir
defmodule MyApp.Product do
use MyApp.Web, :model
use Rummage.Ecto, repo: MyApp.Repo, per_page: 5 # <-- You don't have to pass per_page if you have set it in the config.exs
use Rummage.Ecto, repo: MyApp.Repo, per_page: 5 # <-- You don't have to pass per_page if you have set it in the config.exs, but this way is preferred over setting it up in config file.

# More code below....
end
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Rummage.Phoenix.Mixfile do
use Mix.Project

@version "0.5.0"
@version "0.6.0"
@url "https://github.com/Excipients/rummage_phoenix"

def project do
Expand Down Expand Up @@ -44,7 +44,7 @@ end
defp deps do
[
{:phoenix, "~> 1.2.1"},
{:rummage_ecto, "~> 0.5.0"},
{:rummage_ecto, "~> 0.6.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
]
end
Expand Down

0 comments on commit 50335dc

Please sign in to comment.