Current section

26 Versions

Jump to

Compare versions

3 files changed
+10 additions
-10 deletions
  @@ -16,7 +16,7 @@ A GraphQL client for Elixir.
16 16
17 17 ```elixir
18 18 def deps do
19 - [{:neuron, "~> 3.0.0"}]
19 + [{:neuron, "~> 3.0.1"}]
20 20 end
21 21 ```
22 22
  @@ -103,9 +103,14 @@ To run the tests
103 103 mix test
104 104 ```
105 105
106 - To run the lint
106 + ## Style guide
107 +
108 + Code is formatted with `mix format` and `mix credo` should not show warnings.
109 +
110 + To format the code and run static code analysis with credo
107 111
108 112 ```elixir
113 + mix format
109 114 mix credo
110 115 ```
  @@ -17,14 +17,9 @@
17 17 {<<"optional">>,false},
18 18 {<<"repository">>,<<"hexpm">>},
19 19 {<<"requirement">>,<<"~> 1.0">>}],
20 - [{<<"app">>,<<"poison">>},
21 - {<<"name">>,<<"poison">>},
22 - {<<"optional">>,false},
23 - {<<"repository">>,<<"hexpm">>},
24 - {<<"requirement">>,<<"~> 4.0">>}],
25 20 [{<<"app">>,<<"jason">>},
26 21 {<<"name">>,<<"jason">>},
27 22 {<<"optional">>,true},
28 23 {<<"repository">>,<<"hexpm">>},
29 24 {<<"requirement">>,<<"~> 1.1">>}]]}.
30 - {<<"version">>,<<"3.0.0">>}.
25 + {<<"version">>,<<"3.0.1">>}.
  @@ -1,7 +1,7 @@
1 1 defmodule Neuron.Mixfile do
2 2 use Mix.Project
3 3
4 - @version "3.0.0"
4 + @version "3.0.1"
5 5 @github "https://github.com/uesteibar/neuron"
6 6
7 7 def project do
  @@ -28,8 +28,8 @@ defmodule Neuron.Mixfile do
28 28 defp deps do
29 29 [
30 30 {:httpoison, "~> 1.0"},
31 - {:poison, "~> 4.0"},
32 31 {:jason, "~> 1.1", optional: true},
32 + {:poison, "~> 4.0", only: :test},
33 33 {:mock, "~> 0.3.3", only: :test},
34 34 {:coverex, "~> 1.5", only: :test},
35 35 {:credo, "~> 1.1", only: [:dev, :test]},