ibandit 1.6.1 → 1.8.1
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/.ruby-version +1 -1
- data/CHANGELOG.md +17 -0
- data/bin/build_structure_file.rb +3 -2
- data/data/german_iban_rules.yml +9 -3
- data/data/raw/BLZ2.txt +448 -494
- data/data/structures.yml +5 -2
- data/ibandit.gemspec +2 -2
- data/lib/ibandit/german_details_converter.rb +4 -2
- data/lib/ibandit/local_details_cleaner.rb +3 -3
- data/lib/ibandit/version.rb +1 -1
- data/lib/ibandit.rb +3 -2
- data/spec/ibandit/german_details_converter_spec.rb +2 -2
- data/spec/ibandit/iban_spec.rb +22 -22
- data/spec/ibandit/local_details_cleaner_spec.rb +2 -2
- data/spec/ibandit/structure_spec.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60f06c33b8f9799988090e2e8fb454fd0767d22c0c58c2672e67164b5a10a225
|
4
|
+
data.tar.gz: be47e73dcafacd2a78ceb949b0378483e38ddc98a680fe01e549c8ee0c666d46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21158adc7ffbd16047041367875d18410c2ff364bfb28b45d0c278e8d016caba7722db606bb96b6868657c1f4e7be4d7d2e5cd26ff6597fb94597418c11bcc80
|
7
|
+
data.tar.gz: f5fab7c111475bd3e7dff669902604ce879d426b3075baee766453f7fb0d2c724e98ae5958c10870bf18584a765598dc298df0f0ad3484e5dc2640554fc3173b
|
data/.circleci/config.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0
|
1
|
+
3.1.0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
## 1.8.1 - February 8, 2022
|
2
|
+
|
3
|
+
- Fix issue with structure loading - thanks @shaicoleman
|
4
|
+
|
5
|
+
## 1.8.0 - January 7, 2022
|
6
|
+
|
7
|
+
- Add Ruby 3.1 support
|
8
|
+
- Remove Ruby 2.5 support
|
9
|
+
|
10
|
+
## 1.7.1 - November 25, 2021
|
11
|
+
|
12
|
+
- Update BLZ data - BLZ_20211206
|
13
|
+
|
14
|
+
## 1.7.0 - Sept 8, 2021
|
15
|
+
|
16
|
+
- Stop padding out Australian account details to 10 digits
|
17
|
+
|
1
18
|
## 1.6.1 - Aug 13, 2021
|
2
19
|
|
3
20
|
- Update BLZ data - BLZ_20210906
|
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
@@ -236,6 +236,9 @@
|
|
236
236
|
'10310600':
|
237
237
|
:check_digit_rule: '09'
|
238
238
|
:iban_rule: '000000'
|
239
|
+
'10310666':
|
240
|
+
:check_digit_rule: '09'
|
241
|
+
:iban_rule: '000000'
|
239
242
|
'11010100':
|
240
243
|
:check_digit_rule: '09'
|
241
244
|
:iban_rule: '000000'
|
@@ -2579,6 +2582,9 @@
|
|
2579
2582
|
'30040063':
|
2580
2583
|
:check_digit_rule: '09'
|
2581
2584
|
:iban_rule: '000503'
|
2585
|
+
'30040099':
|
2586
|
+
:check_digit_rule: '13'
|
2587
|
+
:iban_rule: '000503'
|
2582
2588
|
'30050000':
|
2583
2589
|
:check_digit_rule: '08'
|
2584
2590
|
:iban_rule: '000000'
|
@@ -5477,6 +5483,9 @@
|
|
5477
5483
|
'51210802':
|
5478
5484
|
:check_digit_rule: '09'
|
5479
5485
|
:iban_rule: '002900'
|
5486
|
+
'51210803':
|
5487
|
+
:check_digit_rule: '09'
|
5488
|
+
:iban_rule: '002900'
|
5480
5489
|
'51211000':
|
5481
5490
|
:check_digit_rule: '09'
|
5482
5491
|
:iban_rule: '000000'
|
@@ -9158,9 +9167,6 @@
|
|
9158
9167
|
'73350000':
|
9159
9168
|
:check_digit_rule: '00'
|
9160
9169
|
:iban_rule: '000000'
|
9161
|
-
'73351635':
|
9162
|
-
:check_digit_rule: '00'
|
9163
|
-
:iban_rule: '000000'
|
9164
9170
|
'73369264':
|
9165
9171
|
:check_digit_rule: '88'
|
9166
9172
|
:iban_rule: '000000'
|