changed
README.md
|
@@ -6,12 +6,12 @@ Full docs here: https://hexdocs.pm/aba/index.html
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
|
- Add `big_brother` to your list of dependencies in `mix.exs`:
|
9
|
+ Add `aba` to your list of dependencies in `mix.exs`:
|
10
10
|
|
11
11
|
```elixir
|
12
12
|
def deps do
|
13
13
|
[
|
14
|
- {:aba, "~> 0.3.0"}
|
14
|
+ {:aba, "~> 0.3"}
|
15
15
|
]
|
16
16
|
end
|
17
17
|
```
|
changed
hex_metadata.config
|
@@ -4,11 +4,11 @@
|
4
4
|
<<"ABA is an Elixir library for performing validation and lookups on ABA routing numbers.">>}.
|
5
5
|
{<<"elixir">>,<<"~> 1.5">>}.
|
6
6
|
{<<"files">>,
|
7
|
- [<<"lib">>,<<"lib/aba">>,<<"lib/aba.ex">>,<<"lib/aba/bank.ex">>,
|
8
|
- <<"lib/aba/registry.ex">>,<<"lib/aba/validator.ex">>,<<"priv">>,
|
7
|
+ [<<"lib">>,<<"lib/aba.ex">>,<<"lib/aba">>,<<"lib/aba/registry.ex">>,
|
8
|
+ <<"lib/aba/bank.ex">>,<<"lib/aba/validator.ex">>,<<"priv">>,
|
9
9
|
<<"priv/data.txt">>,<<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}.
|
10
10
|
{<<"licenses">>,[<<"MIT">>]}.
|
11
11
|
{<<"links">>,[{<<"GitHub">>,<<"https://github.com/whitepaperclip/ABA">>}]}.
|
12
12
|
{<<"name">>,<<"aba">>}.
|
13
13
|
{<<"requirements">>,[]}.
|
14
|
- {<<"version">>,<<"0.3.0">>}.
|
14
|
+ {<<"version">>,<<"0.4.0">>}.
|
changed
lib/aba.ex
|
@@ -42,7 +42,7 @@ defmodule ABA do
|
42
42
|
import Supervisor.Spec, warn: false
|
43
43
|
|
44
44
|
children = [
|
45
|
- worker(ABA.Registry, [])
|
45
|
+ ABA.Registry
|
46
46
|
]
|
47
47
|
|
48
48
|
opts = [strategy: :one_for_one, name: ABA.Supervisor]
|
changed
lib/aba/registry.ex
|
@@ -3,9 +3,9 @@ defmodule ABA.Registry do
|
3
3
|
use GenServer
|
4
4
|
alias ABA.Bank
|
5
5
|
|
6
|
- @spec start_link() :: {:ok, pid()} | {:error, any()}
|
7
|
- def start_link() do
|
8
|
- GenServer.start_link(__MODULE__, nil, name: __MODULE__)
|
6
|
+ @spec start_link(term()) :: {:ok, pid()} | {:error, any()}
|
7
|
+ def start_link(arg) do
|
8
|
+ GenServer.start_link(__MODULE__, arg, name: __MODULE__)
|
9
9
|
end
|
10
10
|
|
11
11
|
## Server callbacks
|
changed
mix.exs
|
@@ -4,7 +4,7 @@ defmodule ABA.Mixfile do
|
4
4
|
def project do
|
5
5
|
[
|
6
6
|
app: :aba,
|
7
|
- version: "0.3.0",
|
7
|
+ version: "0.4.0",
|
8
8
|
elixir: "~> 1.5",
|
9
9
|
start_permanent: Mix.env() == :prod,
|
10
10
|
description: description(),
|
|
@@ -18,7 +18,7 @@ defmodule ABA.Mixfile do
|
18
18
|
end
|
19
19
|
|
20
20
|
defp deps do
|
21
|
- [{:ex_doc, ">= 0.0.0", only: :doc}, {:dialyxir, "~> 1.0.0-rc.3", only: :dev, runtime: false}]
|
21
|
+ [{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, {:dialyxir, "~> 1.1", only: :dev, runtime: false}]
|
22
22
|
end
|
23
23
|
|
24
24
|
defp package do
|
unknown
priv/data.txt
CANNOT RENDER FILES LARGER THAN 1MB