ibandit 0.11.20 → 0.11.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/data/structures.yml +1 -0
- data/lib/ibandit/version.rb +1 -1
- data/spec/ibandit/iban_spec.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03fd3b123a87b4af8d7e3162d14c250760c73973
|
4
|
+
data.tar.gz: 7f6df9d62b84ce3c0fe4822ea411e5207aca1af7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e0e6b0e0aad1313031236bbb4d39a46f0692a75f1156a39db21b3de3a0c9d690e89ffe14215bcbe11132addd01a3fc08be5a554580ba534cdc5fb0bb9285f8
|
7
|
+
data.tar.gz: 9e9958c1cbccb467ef84ca4e22e6d81a8563d90af3ce7cc095f098a00a5e71e253f110271aa6c5d4b466e6189f753c966755351bd85e66ff4e3b9ec7293f5f8f
|
data/CHANGELOG.md
CHANGED
data/data/structures.yml
CHANGED
@@ -893,6 +893,7 @@ CA:
|
|
893
893
|
:bank_code_format: "\\d{4}"
|
894
894
|
:branch_code_format: "\\d{5}"
|
895
895
|
:account_number_format: "\\d{7,12}"
|
896
|
+
:national_id_length: 4
|
896
897
|
:pseudo_iban_bank_code_length: 4
|
897
898
|
:pseudo_iban_branch_code_length: 5
|
898
899
|
:pseudo_iban_account_number_length: 12
|
data/lib/ibandit/version.rb
CHANGED
data/spec/ibandit/iban_spec.rb
CHANGED
@@ -383,6 +383,7 @@ describe Ibandit::IBAN do
|
|
383
383
|
its(:swift_bank_code) { is_expected.to eq("0036") }
|
384
384
|
its(:swift_branch_code) { is_expected.to eq("00063") }
|
385
385
|
its(:swift_account_number) { is_expected.to eq("000000123456") }
|
386
|
+
its(:swift_national_id) { is_expected.to eq("0036") }
|
386
387
|
its(:pseudo_iban) { is_expected.to eq("CAZZ003600063000000123456") }
|
387
388
|
|
388
389
|
its(:iban) { is_expected.to be_nil }
|
@@ -400,6 +401,7 @@ describe Ibandit::IBAN do
|
|
400
401
|
its(:swift_bank_code) { is_expected.to eq("0036") }
|
401
402
|
its(:swift_branch_code) { is_expected.to eq("00063") }
|
402
403
|
its(:swift_account_number) { is_expected.to eq("012345678900") }
|
404
|
+
its(:swift_national_id) { is_expected.to eq("0036") }
|
403
405
|
its(:pseudo_iban) { is_expected.to eq("CAZZ003600063012345678900") }
|
404
406
|
|
405
407
|
its(:iban) { is_expected.to be_nil }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibandit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gc_ruboconfig
|