uk_account_validator 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.rubocop.yml +0 -0
- data/.travis.yml +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +4 -4
- data/Rakefile +9 -0
- data/data/scsubtab.txt +0 -0
- data/data/valacdos.txt +1015 -987
- data/features/allow_hyphens_in_sort_codes.feature +0 -0
- data/features/exceptions.feature +0 -0
- data/features/invalid_formats.feature +0 -0
- data/features/modulus10.feature +0 -0
- data/features/modulus11.feature +0 -0
- data/features/modulus_weight.feature +0 -0
- data/features/modulus_weights_table.feature +0 -0
- data/features/step_definitions/basics.rb +0 -0
- data/features/step_definitions/modulus_weight.rb +0 -0
- data/features/step_definitions/modulus_weights_table.rb +0 -0
- data/features/support/env.rb +0 -0
- data/features/two_modulus_check.feature +0 -0
- data/lib/uk_account_validator/exceptions/base_exception.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_1.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_10.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_12.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_14.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_2_9.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_3.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_4.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_5.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_6.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_7.rb +0 -0
- data/lib/uk_account_validator/exceptions/exception_8.rb +0 -0
- data/lib/uk_account_validator/modulus_weight.rb +0 -0
- data/lib/uk_account_validator/modulus_weights_table.rb +0 -0
- data/lib/uk_account_validator/number_indices.rb +0 -0
- data/lib/uk_account_validator/validator.rb +0 -0
- data/lib/uk_account_validator/validators/base_validator.rb +0 -0
- data/lib/uk_account_validator/validators/double_alternate.rb +0 -0
- data/lib/uk_account_validator/validators/modulus10.rb +0 -0
- data/lib/uk_account_validator/validators/modulus11.rb +0 -0
- data/lib/uk_account_validator/validators/standard_modulus.rb +0 -0
- data/lib/uk_account_validator/version.rb +1 -1
- data/lib/uk_account_validator.rb +0 -0
- data/uk_account_validator.gemspec +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23894d58e4469aba7454ac64a533f23b97907c94
|
4
|
+
data.tar.gz: 02606a90ad2a6b843dafc047bc1a91cac3ceb5e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85b8b0a4c85180a6075b417be05f6872dc3fe69fa3e55da71847a31ad6d7a57bac64fbafb02c042f06c7e172a14e3cdbf3949953ac5949ba264d71ca80bedd63
|
7
|
+
data.tar.gz: a96a205ec4b4d47d3fb139d5c2b496f63e483e127725fd975429969cfda5e153dda948a93e339e1e3b37b116e282d9794595757e13176c48ecde39ea635dd1d7
|
data/.gitignore
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -3,9 +3,7 @@ UkAccountValidator
|
|
3
3
|
|
4
4
|
[](https://travis-ci.org/ball-hayden/uk_account_validator)
|
5
5
|
|
6
|
-
This gem validates uk account numbers against their sort codes in accordance with VocaLink's specification
|
7
|
-
|
8
|
-
http://www.vocalink.com/media/700427/vocalink_-_validating_account_numbers_v3.20.pdf
|
6
|
+
This gem validates uk account numbers against their sort codes in accordance with VocaLink's modulus checking specification, which can be downloaded from [here](https://www.vocalink.com/customer-support/modulus-checking/).
|
9
7
|
|
10
8
|
Note that this gem ensures the sort code and account number are valid, not that they exist.
|
11
9
|
|
@@ -13,6 +11,8 @@ NB the resource text files valacdos.txt and scsubtab.txt are produced and releas
|
|
13
11
|
|
14
12
|
Requires Ruby > 2.0.0
|
15
13
|
|
14
|
+
Modulus weight table data can be found [here](https://www.vocalink.com/customer-support/modulus-checking/). (Last verified data was downloaded 2016-11-25).
|
15
|
+
|
16
16
|
Usage
|
17
17
|
-----
|
18
18
|
|
@@ -53,7 +53,7 @@ $ gem install uk_account_validator
|
|
53
53
|
Contributing
|
54
54
|
------------
|
55
55
|
|
56
|
-
1. Fork it ( https://github.com/
|
56
|
+
1. Fork it ( https://github.com/ball-hayden/uk_account_validator/fork )
|
57
57
|
2. Create your feature branch (`git checkout -b my-new-feature`\)
|
58
58
|
3. Commit your changes (`git commit -am 'Add some feature'`\)
|
59
59
|
4. Push to the branch (`git push origin my-new-feature`\)
|
data/Rakefile
CHANGED
data/data/scsubtab.txt
CHANGED
File without changes
|