Current section

16 Versions

Jump to

Compare versions

3 files changed
+6 additions
-7 deletions
  @@ -6,7 +6,7 @@ An OTP application for auto-discovering services with [Consul](http://www.consul
6 6
7 7 ## Requirements
8 8
9 - * Elixir 0.14.0 or newer
9 + * Elixir 0.15.0 or newer
10 10
11 11 ## Installation
12 12
  @@ -19,15 +19,13 @@ end
19 19
20 20 defp deps do
21 21 [
22 - {:discovery, "~> 0.1.0"},
23 - {:hackney, github: "benoitc/hackney"},
22 + {:discovery, "~> 0.3.1"}
24 23 ]
25 24 end
26 25 ```
27 26
28 27 Then run `mix deps.get` in your shell to fetch the dependencies.
29 28
30 - > NOTE: Hackney is currently not hosted on [Hex](https://hex.pm) so it must be added explicitly as a github dependency
31 29
32 30 ## Usage
  @@ -16,5 +16,6 @@
16 16 {<<"links">>,#{<<"Github">> => <<"https://github.com/undeadlabs/discovery">>}}.
17 17 {<<"requirements">>,
18 18 #{<<"consul">> => #{<<"optional">> => nil,<<"requirement">> => <<"~> 0.1.0">>},
19 + <<"hackney">> => #{<<"optional">> => nil,<<"requirement">> => <<"~> 0.13.1">>},
19 20 <<"hash_ring_ex">> => #{<<"optional">> => nil,<<"requirement">> => <<"~> 1.1">>}}}.
20 - {<<"version">>,<<"0.3.0">>}.
21 + {<<"version">>,<<"0.3.1">>}.
  @@ -4,7 +4,7 @@ defmodule Discovery.Mixfile do
4 4 def project do
5 5 [
6 6 app: :discovery,
7 - version: "0.3.0",
7 + version: "0.3.1",
8 8 elixir: "~> 0.15.0",
9 9 deps: deps,
10 10 package: package,
  @@ -34,7 +34,7 @@ defmodule Discovery.Mixfile do
34 34 [
35 35 {:consul, "~> 0.1.0"},
36 36 {:hash_ring_ex, "~> 1.1"},
37 - {:hackney, github: "benoitc/hackney"},
37 + {:hackney, "~> 0.13.1"},
38 38 ]
39 39 end