Packages

Automatically creates a behaviour from a module's specs.

Current section

5 Versions

Jump to

Compare versions

4 files changed
+19 additions
-12 deletions
  @@ -1,4 +1,7 @@
1 1 # Used by "mix format"
2 2 [
3 - inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"]
3 + inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"],
4 + export: [
5 + locals_without_parens: [spec_and_callback: 1]
6 + ]
4 7 ]
  @@ -38,7 +38,7 @@ From Hex:
38 38 ```elixir
39 39 def deps do
40 40 [
41 - {:behaves_like, "~> 0.4.0"}
41 + {:behaves_like, "~> 0.5.0"}
42 42 ]
43 43 end
44 44 ```
  @@ -10,4 +10,4 @@
10 10 {<<"links">>,[{<<"GitHub">>,<<"https://github.com/koudelka/behaves_like">>}]}.
11 11 {<<"name">>,<<"behaves_like">>}.
12 12 {<<"requirements">>,[]}.
13 - {<<"version">>,<<"0.4.0">>}.
13 + {<<"version">>,<<"0.5.0">>}.
  @@ -1,7 +1,7 @@
1 1 defmodule BehavesLike.MixProject do
2 2 use Mix.Project
3 3
4 - @version "0.4.0"
4 + @version "0.5.0"
5 5
6 6 def project do
7 7 [
  @@ -13,7 +13,7 @@ defmodule BehavesLike.MixProject do
13 13 dialyzer: dialyzer(),
14 14 description: "Automatically creates a behaviour from a module's specs.",
15 15 package: package(),
16 - docs: docs(),
16 + docs: docs()
17 17 ]
18 18 end
19 19
  @@ -39,15 +39,19 @@ defmodule BehavesLike.MixProject do
39 39 end
40 40
41 41 defp package do
42 - [maintainers: ["Michael Shapiro"],
43 - licenses: ["MIT"],
44 - links: %{"GitHub": "https://github.com/koudelka/behaves_like"}]
42 + [
43 + maintainers: ["Michael Shapiro"],
44 + licenses: ["MIT"],
45 + links: %{GitHub: "https://github.com/koudelka/behaves_like"}
46 + ]
45 47 end
46 48
47 49 defp docs do
48 - [extras: ["README.md"],
49 - source_url: "https://github.com/koudelka/behaves_like",
50 - source_ref: @version,
51 - main: "readme"]
50 + [
51 + extras: ["README.md"],
52 + source_url: "https://github.com/koudelka/behaves_like",
53 + source_ref: @version,
54 + main: "readme"
55 + ]
52 56 end
53 57 end