validate_nz_bank_acc 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ 0.0.3 - Bugfix
2
+ 0.0.2 - Never happened
3
+ 0.0.1 - Initial Release
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ValidateNzBankAcc
2
2
 
3
- An implimentation of the process described on page 15 of
3
+ An implementation of the process described on page 15 of
4
4
  http://www.ird.govt.nz/resources/a/c/ac60890040b57d0e9bd4df41f9f3ce1d/rwt-nrwt-spec-2010-v3.pdf
5
5
 
6
6
  ## Installation
@@ -11,7 +11,7 @@ Add this line to your application's Gemfile:
11
11
 
12
12
  And then execute:
13
13
 
14
- $ bundle
14
+ $ bundle install
15
15
 
16
16
  Or install it yourself as:
17
17
 
@@ -2,8 +2,8 @@ require "validate_nz_bank_acc/version"
2
2
 
3
3
  class ValidateNzBankAcc
4
4
 
5
- BANKS = { 1 => {:ranges => [1..999, 1100...1199]},
6
- 2 => {:ranges => [1..999, 1200.1299]},
5
+ BANKS = { 1 => {:ranges => [1..999, 1100..1199, 1800..1899]},
6
+ 2 => {:ranges => [1..999, 1200..1299]},
7
7
  3 => {:ranges => [1..999, 1300..1399, 1500..1599, 1700..1799, 1900..1999]},
8
8
  6 => {:ranges => [1..999, 1400..1499]},
9
9
  8 => {:ranges => [6500..6599], :algo => :d},
@@ -1,3 +1,3 @@
1
1
  class ValidateNzBankAcc
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validate_nz_bank_acc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-01 00:00:00.000000000 Z
12
+ date: 2012-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &17470780 !ruby/object:Gem::Requirement
16
+ requirement: &21755100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *17470780
24
+ version_requirements: *21755100
25
25
  description: Validates a NZ bank account against checksum rules
26
26
  email:
27
27
  - eadz@eadz.co.nz
@@ -30,6 +30,7 @@ extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
32
  - .gitignore
33
+ - CHANGELOG
33
34
  - Gemfile
34
35
  - LICENSE
35
36
  - README.md