ibandit 1.7.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/.rubocop.yml +4 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +14 -1
- data/bin/build_structure_file.rb +3 -2
- data/data/german_iban_rules.yml +4 -10
- data/data/raw/BLZ2.txt +437 -605
- data/ibandit.gemspec +3 -2
- data/lib/ibandit/check_digit.rb +1 -1
- data/lib/ibandit/iban.rb +3 -3
- data/lib/ibandit/version.rb +1 -1
- data/lib/ibandit.rb +3 -2
- data/spec/ibandit/structure_spec.rb +2 -2
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4110648c4062c49d43e68116b09da947b94f254d636e4708b8a58016e656138d
|
4
|
+
data.tar.gz: 9de9b3593347b0948ad2edeff10674c0f3f35092cdcd2ff71399ec707fe44566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70780c28a8ca9bdac357a46157fa05fd683efce6f6ee1184a10c42fbfbd00b0fcf9d5058c92058f9cda3ff8737ac99072adf0cc8222c5d1375902d5a3561afda
|
7
|
+
data.tar.gz: '083c4924a8d4e6ba70dcad8c309ccbd52b15ce6d3884e51f9d4f03056f37935c3ffd52f939ef025c4303e3a837ad12dc7aa0ebdf8f7d0a7044608939bb2ca5a9'
|
data/.circleci/config.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
inherit_from: .rubocop_todo.yml
|
2
2
|
inherit_gem:
|
3
3
|
gc_ruboconfig: rubocop.yml
|
4
|
+
require: rubocop-rails
|
4
5
|
|
5
6
|
AllCops:
|
6
7
|
TargetRubyVersion: 2.5
|
@@ -48,3 +49,6 @@ Layout/DotPosition:
|
|
48
49
|
# this is quite aggressive.
|
49
50
|
Gemspec/RequiredRubyVersion:
|
50
51
|
Enabled: false
|
52
|
+
|
53
|
+
Rails/Blank:
|
54
|
+
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0
|
1
|
+
3.1.0
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,20 @@
|
|
1
|
+
## 1.9.0 - February 16, 2022
|
2
|
+
|
3
|
+
- Update BLZ data - BLZ_20220307
|
4
|
+
|
5
|
+
## 1.8.1 - February 8, 2022
|
6
|
+
|
7
|
+
- Fix issue with structure loading - thanks @shaicoleman
|
8
|
+
|
9
|
+
## 1.8.0 - January 7, 2022
|
10
|
+
|
11
|
+
- Add Ruby 3.1 support
|
12
|
+
- Remove Ruby 2.5 support
|
13
|
+
|
1
14
|
## 1.7.1 - November 25, 2021
|
2
15
|
|
3
16
|
- Update BLZ data - BLZ_20211206
|
4
|
-
|
17
|
+
|
5
18
|
## 1.7.0 - Sept 8, 2021
|
6
19
|
|
7
20
|
- Stop padding out Australian account details to 10 digits
|
data/bin/build_structure_file.rb
CHANGED
@@ -153,8 +153,9 @@ if __FILE__ == $PROGRAM_NAME
|
|
153
153
|
iban_registry_file,
|
154
154
|
)
|
155
155
|
|
156
|
-
structure_additions = YAML.
|
157
|
-
File.expand_path("../data/raw/structure_additions.yml", __dir__),
|
156
|
+
structure_additions = YAML.safe_load(
|
157
|
+
File.read(File.expand_path("../data/raw/structure_additions.yml", __dir__)),
|
158
|
+
permitted_classes: [Range, Symbol],
|
158
159
|
)
|
159
160
|
|
160
161
|
complete_structures = merge_structures(iban_structures, structure_additions)
|
data/data/german_iban_rules.yml
CHANGED
@@ -1664,9 +1664,6 @@
|
|
1664
1664
|
'25690009':
|
1665
1665
|
:check_digit_rule: '28'
|
1666
1666
|
:iban_rule: '000000'
|
1667
|
-
'25690010':
|
1668
|
-
:check_digit_rule: '28'
|
1669
|
-
:iban_rule: '000000'
|
1670
1667
|
'25691633':
|
1671
1668
|
:check_digit_rule: '28'
|
1672
1669
|
:iban_rule: '000000'
|
@@ -1802,9 +1799,6 @@
|
|
1802
1799
|
'26251425':
|
1803
1800
|
:check_digit_rule: '00'
|
1804
1801
|
:iban_rule: '000000'
|
1805
|
-
'26261396':
|
1806
|
-
:check_digit_rule: '28'
|
1807
|
-
:iban_rule: '000000'
|
1808
1802
|
'26261492':
|
1809
1803
|
:check_digit_rule: '28'
|
1810
1804
|
:iban_rule: '000000'
|
@@ -5585,12 +5579,12 @@
|
|
5585
5579
|
'51420300':
|
5586
5580
|
:check_digit_rule: '17'
|
5587
5581
|
:iban_rule: '000000'
|
5588
|
-
'51420600':
|
5589
|
-
:check_digit_rule: '09'
|
5590
|
-
:iban_rule: '000000'
|
5591
5582
|
'51430400':
|
5592
5583
|
:check_digit_rule: '09'
|
5593
5584
|
:iban_rule: '000100'
|
5585
|
+
'51430410':
|
5586
|
+
:check_digit_rule: '09'
|
5587
|
+
:iban_rule: '000000'
|
5594
5588
|
'51432100':
|
5595
5589
|
:check_digit_rule: '09'
|
5596
5590
|
:iban_rule: '000000'
|
@@ -6183,7 +6177,7 @@
|
|
6183
6177
|
:check_digit_rule: '13'
|
6184
6178
|
:iban_rule: '000503'
|
6185
6179
|
'55350010':
|
6186
|
-
:check_digit_rule:
|
6180
|
+
:check_digit_rule: A7
|
6187
6181
|
:iban_rule: '000000'
|
6188
6182
|
'55361202':
|
6189
6183
|
:check_digit_rule: '32'
|