changed
README.md
|
@@ -2,7 +2,7 @@
|
2
2
|
|
3
3
|
ABA is an Elixir library for performing validation and lookups on ABA routing numbers. It stores all routing numbers and bank information in an ETS table. Therefore, you should initialize the application in a supervision tree.
|
4
4
|
|
5
|
- Full docs here: https://hexdocs.pm/big_brother/ABA.html
|
5
|
+ Full docs here: https://hexdocs.pm/aba/index.html
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
|
@@ -11,7 +11,7 @@ Add `big_brother` to your list of dependencies in `mix.exs`:
|
11
11
|
```elixir
|
12
12
|
def deps do
|
13
13
|
[
|
14
|
- {:aba, "~> 0.1.0"}
|
14
|
+ {:aba, "~> 0.3.0"}
|
15
15
|
]
|
16
16
|
end
|
17
17
|
```
|
changed
hex_metadata.config
|
@@ -4,12 +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/aba.ex">>,<<"lib/aba/bank.ex">>,<<"lib/aba/registry.ex">>,
|
8
|
- <<"lib/aba/validator.ex">>,<<"priv/data.txt">>,<<"mix.exs">>,
|
9
|
- <<"README.md">>,<<"LICENSE">>]}.
|
7
|
+ [<<"lib">>,<<"lib/aba">>,<<"lib/aba.ex">>,<<"lib/aba/bank.ex">>,
|
8
|
+ <<"lib/aba/registry.ex">>,<<"lib/aba/validator.ex">>,<<"priv">>,
|
9
|
+ <<"priv/data.txt">>,<<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}.
|
10
10
|
{<<"licenses">>,[<<"MIT">>]}.
|
11
11
|
{<<"links">>,[{<<"GitHub">>,<<"https://github.com/whitepaperclip/ABA">>}]}.
|
12
|
- {<<"maintainers">>,[<<"Nick Kezhaya <nick@whitepaperclip.com>">>]}.
|
13
12
|
{<<"name">>,<<"aba">>}.
|
14
13
|
{<<"requirements">>,[]}.
|
15
|
- {<<"version">>,<<"0.2.0">>}.
|
14
|
+ {<<"version">>,<<"0.3.0">>}.
|
changed
lib/aba.ex
|
@@ -1,6 +1,8 @@
|
1
1
|
defmodule ABA do
|
2
2
|
@moduledoc """
|
3
|
- ABA is an Elixir library for performing validation and lookups on ABA routing numbers. It stores all routing numbers and bank information in an ETS table. Therefore, you should initialize the application in a supervision tree.
|
3
|
+ ABA is an Elixir library for performing validation and lookups on ABA routing
|
4
|
+ numbers. It stores all routing numbers and bank information in an ETS table.
|
5
|
+ Therefore, you should initialize the application in a supervision tree.
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
|
@@ -28,14 +30,14 @@ defmodule ABA do
|
28
30
|
```elixir
|
29
31
|
iex> ABA.get_bank("111900659")
|
30
32
|
{:ok, %ABA.Bank{routing_number: "111900659", name: "WELLS FARGO BANK",
|
31
|
- address: "255 2ND AVE SOUTH", city: "MINNEAPOLIS",
|
32
|
- state: "MN", zip: "55479"}}
|
33
|
+ address: "255 2ND AVE SOUTH", city: "MINNEAPOLIS",
|
34
|
+ state: "MN", zip: "55479"}}
|
33
35
|
```
|
34
36
|
"""
|
35
37
|
|
36
38
|
use Application
|
37
39
|
|
38
|
- @spec start(any(), any()) :: {:ok, pid()} | {:error, any()}
|
40
|
+ @doc false
|
39
41
|
def start(_type, _args) do
|
40
42
|
import Supervisor.Spec, warn: false
|
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.2.0",
|
7
|
+ version: "0.3.0",
|
8
8
|
elixir: "~> 1.5",
|
9
9
|
start_permanent: Mix.env() == :prod,
|
10
10
|
description: description(),
|
unknown
priv/data.txt
CANNOT RENDER FILES LARGER THAN 1MB