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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -0
  3. data/.rubocop.yml +0 -0
  4. data/.travis.yml +0 -0
  5. data/Gemfile +0 -0
  6. data/LICENSE.txt +0 -0
  7. data/README.md +4 -4
  8. data/Rakefile +9 -0
  9. data/data/scsubtab.txt +0 -0
  10. data/data/valacdos.txt +1015 -987
  11. data/features/allow_hyphens_in_sort_codes.feature +0 -0
  12. data/features/exceptions.feature +0 -0
  13. data/features/invalid_formats.feature +0 -0
  14. data/features/modulus10.feature +0 -0
  15. data/features/modulus11.feature +0 -0
  16. data/features/modulus_weight.feature +0 -0
  17. data/features/modulus_weights_table.feature +0 -0
  18. data/features/step_definitions/basics.rb +0 -0
  19. data/features/step_definitions/modulus_weight.rb +0 -0
  20. data/features/step_definitions/modulus_weights_table.rb +0 -0
  21. data/features/support/env.rb +0 -0
  22. data/features/two_modulus_check.feature +0 -0
  23. data/lib/uk_account_validator/exceptions/base_exception.rb +0 -0
  24. data/lib/uk_account_validator/exceptions/exception_1.rb +0 -0
  25. data/lib/uk_account_validator/exceptions/exception_10.rb +0 -0
  26. data/lib/uk_account_validator/exceptions/exception_12.rb +0 -0
  27. data/lib/uk_account_validator/exceptions/exception_14.rb +0 -0
  28. data/lib/uk_account_validator/exceptions/exception_2_9.rb +0 -0
  29. data/lib/uk_account_validator/exceptions/exception_3.rb +0 -0
  30. data/lib/uk_account_validator/exceptions/exception_4.rb +0 -0
  31. data/lib/uk_account_validator/exceptions/exception_5.rb +0 -0
  32. data/lib/uk_account_validator/exceptions/exception_6.rb +0 -0
  33. data/lib/uk_account_validator/exceptions/exception_7.rb +0 -0
  34. data/lib/uk_account_validator/exceptions/exception_8.rb +0 -0
  35. data/lib/uk_account_validator/modulus_weight.rb +0 -0
  36. data/lib/uk_account_validator/modulus_weights_table.rb +0 -0
  37. data/lib/uk_account_validator/number_indices.rb +0 -0
  38. data/lib/uk_account_validator/validator.rb +0 -0
  39. data/lib/uk_account_validator/validators/base_validator.rb +0 -0
  40. data/lib/uk_account_validator/validators/double_alternate.rb +0 -0
  41. data/lib/uk_account_validator/validators/modulus10.rb +0 -0
  42. data/lib/uk_account_validator/validators/modulus11.rb +0 -0
  43. data/lib/uk_account_validator/validators/standard_modulus.rb +0 -0
  44. data/lib/uk_account_validator/version.rb +1 -1
  45. data/lib/uk_account_validator.rb +0 -0
  46. data/uk_account_validator.gemspec +0 -0
  47. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebcd385fc8ba4ecc1703657a83b9b0eb45b30b51
4
- data.tar.gz: 5114241aa01ffbfcc0ce676084f133b0c134dea4
3
+ metadata.gz: 23894d58e4469aba7454ac64a533f23b97907c94
4
+ data.tar.gz: 02606a90ad2a6b843dafc047bc1a91cac3ceb5e6
5
5
  SHA512:
6
- metadata.gz: e95c9284cbc1423203ea396c5cba5d97ff46c104458ec031c63a3e6f60433c124d6e43905d7d0e54e5d04f4d98f410f5d05b7b8d16087e6e2288f44bde26c7cc
7
- data.tar.gz: 9cdb8baca1a7cd094f963331fae6cd72a2f59616b693c398206a65b326b9799e4d18007dc9e2a5fc90cadebb225989111c7476ea2ba19df90fb167e3b2a8f5d9
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
  [![Build Status](https://travis-ci.org/ball-hayden/uk_account_validator.svg?branch=master)](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 available at:
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/[my-github-username]/uk_account_check/fork )
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
@@ -1,2 +1,11 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
+ require "cucumber"
4
+ require "cucumber/rake/task"
5
+
6
+ Cucumber::Rake::Task.new(:features) do |t|
7
+ t.cucumber_opts = "features --format pretty"
8
+ end
9
+
10
+ desc "Run cucumber features"
11
+ task default: :features
data/data/scsubtab.txt CHANGED
File without changes