ibandit 1.6.0 → 1.8.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/.ruby-version +1 -1
- data/CHANGELOG.md +17 -0
- data/bin/build_structure_file.rb +3 -2
- data/data/german_iban_rules.yml +33 -12
- data/data/raw/BLZ2.txt +487 -656
- 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: '08226e85893b75b353a9a6de43cbf9b91101fdbde782f075f99e5e79cf215610'
|
4
|
+
data.tar.gz: 28f725e3bc6f3f9137e22bb25706d4a2a1134c5d5dabb1a71d64d14f2c45df49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d14ccc4c5f1942bccea74ed0fdcb3b6e6d4a27caab8176bcbc4ef3dafe37f56480f5f690aa0ef5d14ebbeeb751b3e8eba26c12ca38baa0219a9dd9e7061b602
|
7
|
+
data.tar.gz: ce6011161b74a0ea546aa6059873df86233400dbea058a22dd063abe7fb56fa96eb418b924b12f7fad7404ad5e870cbdc0b198eb88f403434e10f96cf5b019fd
|
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.0 - January 7, 2022
|
2
|
+
|
3
|
+
- Add Ruby 3.1 support
|
4
|
+
- Remove Ruby 2.5 support
|
5
|
+
|
6
|
+
## 1.7.1 - November 25, 2021
|
7
|
+
|
8
|
+
- Update BLZ data - BLZ_20211206
|
9
|
+
|
10
|
+
## 1.7.0 - Sept 8, 2021
|
11
|
+
|
12
|
+
- Stop padding out Australian account details to 10 digits
|
13
|
+
|
14
|
+
## 1.6.1 - Aug 13, 2021
|
15
|
+
|
16
|
+
- Update BLZ data - BLZ_20210906
|
17
|
+
|
1
18
|
## 1.6.0 - June 17, 2021
|
2
19
|
|
3
20
|
- Drop Ruby 2.4 support
|
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
|
-
|
156
|
+
structure_additions = YAML.safe_load(
|
157
|
+
Pathname.new(__dir__).join("../data/raw/structure_additions.yml").read,
|
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,12 +236,18 @@
|
|
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'
|
242
245
|
'11010101':
|
243
246
|
:check_digit_rule: '09'
|
244
247
|
:iban_rule: '000000'
|
248
|
+
'11010111':
|
249
|
+
:check_digit_rule: '09'
|
250
|
+
:iban_rule: '000000'
|
245
251
|
'12016836':
|
246
252
|
:check_digit_rule: '09'
|
247
253
|
:iban_rule: '000000'
|
@@ -2522,9 +2528,6 @@
|
|
2522
2528
|
'30018800':
|
2523
2529
|
:check_digit_rule: '09'
|
2524
2530
|
:iban_rule: '000000'
|
2525
|
-
'30019000':
|
2526
|
-
:check_digit_rule: '09'
|
2527
|
-
:iban_rule: '000000'
|
2528
2531
|
'30020500':
|
2529
2532
|
:check_digit_rule: '60'
|
2530
2533
|
:iban_rule: '000800'
|
@@ -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'
|
@@ -4664,6 +4670,24 @@
|
|
4664
4670
|
'50040005':
|
4665
4671
|
:check_digit_rule: '13'
|
4666
4672
|
:iban_rule: '000503'
|
4673
|
+
'50040010':
|
4674
|
+
:check_digit_rule: '13'
|
4675
|
+
:iban_rule: '000503'
|
4676
|
+
'50040011':
|
4677
|
+
:check_digit_rule: '13'
|
4678
|
+
:iban_rule: '000503'
|
4679
|
+
'50040012':
|
4680
|
+
:check_digit_rule: '13'
|
4681
|
+
:iban_rule: '000503'
|
4682
|
+
'50040013':
|
4683
|
+
:check_digit_rule: '13'
|
4684
|
+
:iban_rule: '000503'
|
4685
|
+
'50040014':
|
4686
|
+
:check_digit_rule: '13'
|
4687
|
+
:iban_rule: '000503'
|
4688
|
+
'50040015':
|
4689
|
+
:check_digit_rule: '13'
|
4690
|
+
:iban_rule: '000503'
|
4667
4691
|
'50040033':
|
4668
4692
|
:check_digit_rule: '09'
|
4669
4693
|
:iban_rule: '000100'
|
@@ -5072,9 +5096,6 @@
|
|
5072
5096
|
'50230000':
|
5073
5097
|
:check_digit_rule: '00'
|
5074
5098
|
:iban_rule: '000000'
|
5075
|
-
'50230100':
|
5076
|
-
:check_digit_rule: '09'
|
5077
|
-
:iban_rule: '000000'
|
5078
5099
|
'50230600':
|
5079
5100
|
:check_digit_rule: '06'
|
5080
5101
|
:iban_rule: '000000'
|
@@ -5117,9 +5138,6 @@
|
|
5117
5138
|
'50324000':
|
5118
5139
|
:check_digit_rule: '31'
|
5119
5140
|
:iban_rule: '000000'
|
5120
|
-
'50324015':
|
5121
|
-
:check_digit_rule: '31'
|
5122
|
-
:iban_rule: '000000'
|
5123
5141
|
'50324040':
|
5124
5142
|
:check_digit_rule: '31'
|
5125
5143
|
:iban_rule: '000000'
|
@@ -5465,6 +5483,9 @@
|
|
5465
5483
|
'51210802':
|
5466
5484
|
:check_digit_rule: '09'
|
5467
5485
|
:iban_rule: '002900'
|
5486
|
+
'51210803':
|
5487
|
+
:check_digit_rule: '09'
|
5488
|
+
:iban_rule: '002900'
|
5468
5489
|
'51211000':
|
5469
5490
|
:check_digit_rule: '09'
|
5470
5491
|
:iban_rule: '000000'
|
@@ -8312,6 +8333,9 @@
|
|
8312
8333
|
'70012700':
|
8313
8334
|
:check_digit_rule: '09'
|
8314
8335
|
:iban_rule: '000000'
|
8336
|
+
'70012900':
|
8337
|
+
:check_digit_rule: '09'
|
8338
|
+
:iban_rule: '000000'
|
8315
8339
|
'70013000':
|
8316
8340
|
:check_digit_rule: '67'
|
8317
8341
|
:iban_rule: '000000'
|
@@ -9143,9 +9167,6 @@
|
|
9143
9167
|
'73350000':
|
9144
9168
|
:check_digit_rule: '00'
|
9145
9169
|
:iban_rule: '000000'
|
9146
|
-
'73351635':
|
9147
|
-
:check_digit_rule: '00'
|
9148
|
-
:iban_rule: '000000'
|
9149
9170
|
'73369264':
|
9150
9171
|
:check_digit_rule: '88'
|
9151
9172
|
:iban_rule: '000000'
|