ibandit 1.24.0 → 1.26.0
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.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +10 -3
- data/CHANGELOG.md +8 -0
- data/data/german_iban_rules.yml +13 -61
- data/data/raw/BLZ2.xml +1 -1
- data/lib/ibandit/iban.rb +1 -0
- data/lib/ibandit/version.rb +1 -1
- data/spec/ibandit/german_details_converter_spec.rb +2 -2
- data/spec/ibandit/iban_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d22738b3515fcec3aaffd4be2e5b7bac071777a4208a54d517f1056da6004485
|
4
|
+
data.tar.gz: 8ee04a84a15bd1ece8a3df16e860cf1dff856bacdeb49a0e62b36be55a14f1a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f04e2e1c130fb8b2922ef44f98fee14aed7b80fff374c2bc91e3b7833ffef87a03ef258663a646b71ade254a843b27d0979ee996717f294e755e34eeeb86cd
|
7
|
+
data.tar.gz: dab649faa80c951a36b42502afa9391120d97d3f6a40f6b466dc0be657ba3903c086d480419a4489c412b3f87a7fcab2d54c0ecb6eca6c0b5dbc28c25b75e929
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2025-01
|
2
|
+
# `rubocop --auto-gen-config --exclude-limit 99000`
|
3
|
+
# on 2025-07-01 13:51:07 UTC using RuboCop version 1.77.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -26,6 +26,13 @@ Naming/MethodParameterName:
|
|
26
26
|
Exclude:
|
27
27
|
- 'lib/ibandit/german_details_converter.rb'
|
28
28
|
|
29
|
+
# Offense count: 2
|
30
|
+
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods.
|
31
|
+
# AllowedMethods: call
|
32
|
+
Naming/PredicateMethod:
|
33
|
+
Exclude:
|
34
|
+
- 'lib/ibandit/sweden/validator.rb'
|
35
|
+
|
29
36
|
# Offense count: 1
|
30
37
|
# Configuration parameters: IgnoredMetadata.
|
31
38
|
RSpec/DescribeClass:
|
@@ -58,7 +65,7 @@ RSpec/NamedSubject:
|
|
58
65
|
Exclude:
|
59
66
|
- 'spec/ibandit/iban_spec.rb'
|
60
67
|
|
61
|
-
# Offense count:
|
68
|
+
# Offense count: 188
|
62
69
|
# Configuration parameters: AllowedGroups.
|
63
70
|
RSpec/NestedGroups:
|
64
71
|
Max: 5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 1.26.0 - July 1, 2025
|
2
|
+
|
3
|
+
- Update BLZ data - BLZ_20250609
|
4
|
+
|
5
|
+
## 1.25.0 - February 18, 2025
|
6
|
+
|
7
|
+
- `SE` pseudo-ibans no longer fail validation due to the `ZZ` check digit.
|
8
|
+
|
1
9
|
## 1.24.0 - February 18, 2025
|
2
10
|
|
3
11
|
- Fix validation for SE IBANs where the account number starts with a 0 and the clearing number is not included in the IBAN
|
data/data/german_iban_rules.yml
CHANGED
@@ -1103,9 +1103,6 @@
|
|
1103
1103
|
'20750000':
|
1104
1104
|
:check_digit_rule: '00'
|
1105
1105
|
:iban_rule: '000000'
|
1106
|
-
'21000000':
|
1107
|
-
:check_digit_rule: '09'
|
1108
|
-
:iban_rule: '000100'
|
1109
1106
|
'21020600':
|
1110
1107
|
:check_digit_rule: '19'
|
1111
1108
|
:iban_rule: '000000'
|
@@ -1331,9 +1328,6 @@
|
|
1331
1328
|
'22290031':
|
1332
1329
|
:check_digit_rule: '10'
|
1333
1330
|
:iban_rule: '000000'
|
1334
|
-
'23000000':
|
1335
|
-
:check_digit_rule: '09'
|
1336
|
-
:iban_rule: '000100'
|
1337
1331
|
'23040022':
|
1338
1332
|
:check_digit_rule: '13'
|
1339
1333
|
:iban_rule: '000503'
|
@@ -1802,9 +1796,6 @@
|
|
1802
1796
|
'26341072':
|
1803
1797
|
:check_digit_rule: '13'
|
1804
1798
|
:iban_rule: '000503'
|
1805
|
-
'26350001':
|
1806
|
-
:check_digit_rule: '00'
|
1807
|
-
:iban_rule: '000000'
|
1808
1799
|
'26351015':
|
1809
1800
|
:check_digit_rule: '00'
|
1810
1801
|
:iban_rule: '000000'
|
@@ -2056,7 +2047,7 @@
|
|
2056
2047
|
:iban_rule: '004201'
|
2057
2048
|
'28020050':
|
2058
2049
|
:check_digit_rule: '61'
|
2059
|
-
:iban_rule: '
|
2050
|
+
:iban_rule: '003900'
|
2060
2051
|
'28021002':
|
2061
2052
|
:check_digit_rule: '61'
|
2062
2053
|
:iban_rule: '003900'
|
@@ -2348,9 +2339,6 @@
|
|
2348
2339
|
'28591654':
|
2349
2340
|
:check_digit_rule: '28'
|
2350
2341
|
:iban_rule: '000000'
|
2351
|
-
'29000000':
|
2352
|
-
:check_digit_rule: '09'
|
2353
|
-
:iban_rule: '000100'
|
2354
2342
|
'29020000':
|
2355
2343
|
:check_digit_rule: '09'
|
2356
2344
|
:iban_rule: '000000'
|
@@ -2492,6 +2480,9 @@
|
|
2492
2480
|
'30010700':
|
2493
2481
|
:check_digit_rule: '09'
|
2494
2482
|
:iban_rule: '000000'
|
2483
|
+
'30013300':
|
2484
|
+
:check_digit_rule: '09'
|
2485
|
+
:iban_rule: '000000'
|
2495
2486
|
'30018800':
|
2496
2487
|
:check_digit_rule: '09'
|
2497
2488
|
:iban_rule: '000000'
|
@@ -2548,7 +2539,7 @@
|
|
2548
2539
|
:iban_rule: '000503'
|
2549
2540
|
'30040098':
|
2550
2541
|
:check_digit_rule: '13'
|
2551
|
-
:iban_rule: '
|
2542
|
+
:iban_rule: '000503'
|
2552
2543
|
'30040099':
|
2553
2544
|
:check_digit_rule: '13'
|
2554
2545
|
:iban_rule: '000503'
|
@@ -3125,9 +3116,6 @@
|
|
3125
3116
|
'37020600':
|
3126
3117
|
:check_digit_rule: '09'
|
3127
3118
|
:iban_rule: '000000'
|
3128
|
-
'37020900':
|
3129
|
-
:check_digit_rule: '09'
|
3130
|
-
:iban_rule: '000000'
|
3131
3119
|
'37021500':
|
3132
3120
|
:check_digit_rule: '09'
|
3133
3121
|
:iban_rule: '000000'
|
@@ -4610,6 +4598,9 @@
|
|
4610
4598
|
'50031000':
|
4611
4599
|
:check_digit_rule: '06'
|
4612
4600
|
:iban_rule: '000000'
|
4601
|
+
'50031900':
|
4602
|
+
:check_digit_rule: '06'
|
4603
|
+
:iban_rule: '000000'
|
4613
4604
|
'50033300':
|
4614
4605
|
:check_digit_rule: '09'
|
4615
4606
|
:iban_rule: '004700'
|
@@ -5033,18 +5024,12 @@
|
|
5033
5024
|
'50110900':
|
5034
5025
|
:check_digit_rule: '09'
|
5035
5026
|
:iban_rule: '000000'
|
5036
|
-
'50120000':
|
5037
|
-
:check_digit_rule: '09'
|
5038
|
-
:iban_rule: '000000'
|
5039
5027
|
'50120100':
|
5040
5028
|
:check_digit_rule: '09'
|
5041
5029
|
:iban_rule: '000000'
|
5042
5030
|
'50120383':
|
5043
5031
|
:check_digit_rule: D9
|
5044
5032
|
:iban_rule: '000000'
|
5045
|
-
'50120500':
|
5046
|
-
:check_digit_rule: '66'
|
5047
|
-
:iban_rule: '000000'
|
5048
5033
|
'50120600':
|
5049
5034
|
:check_digit_rule: '09'
|
5050
5035
|
:iban_rule: '000000'
|
@@ -5072,6 +5057,9 @@
|
|
5072
5057
|
'50131000':
|
5073
5058
|
:check_digit_rule: '09'
|
5074
5059
|
:iban_rule: '000000'
|
5060
|
+
'50131700':
|
5061
|
+
:check_digit_rule: '09'
|
5062
|
+
:iban_rule: '000000'
|
5075
5063
|
'50190000':
|
5076
5064
|
:check_digit_rule: '06'
|
5077
5065
|
:iban_rule: '000000'
|
@@ -5192,9 +5180,6 @@
|
|
5192
5180
|
'50520190':
|
5193
5181
|
:check_digit_rule: '99'
|
5194
5182
|
:iban_rule: '003200'
|
5195
|
-
'50522222':
|
5196
|
-
:check_digit_rule: '09'
|
5197
|
-
:iban_rule: '000000'
|
5198
5183
|
'50530000':
|
5199
5184
|
:check_digit_rule: '06'
|
5200
5185
|
:iban_rule: '000000'
|
@@ -5447,12 +5432,6 @@
|
|
5447
5432
|
'51091501':
|
5448
5433
|
:check_digit_rule: '06'
|
5449
5434
|
:iban_rule: '000000'
|
5450
|
-
'51091700':
|
5451
|
-
:check_digit_rule: '06'
|
5452
|
-
:iban_rule: '000000'
|
5453
|
-
'51091711':
|
5454
|
-
:check_digit_rule: '06'
|
5455
|
-
:iban_rule: '000000'
|
5456
5435
|
'51140029':
|
5457
5436
|
:check_digit_rule: '13'
|
5458
5437
|
:iban_rule: '000503'
|
@@ -5543,9 +5522,6 @@
|
|
5543
5522
|
'51250000':
|
5544
5523
|
:check_digit_rule: '06'
|
5545
5524
|
:iban_rule: '000000'
|
5546
|
-
'51300000':
|
5547
|
-
:check_digit_rule: '09'
|
5548
|
-
:iban_rule: '000100'
|
5549
5525
|
'51340013':
|
5550
5526
|
:check_digit_rule: '13'
|
5551
5527
|
:iban_rule: '000503'
|
@@ -5579,9 +5555,6 @@
|
|
5579
5555
|
'51390000':
|
5580
5556
|
:check_digit_rule: '06'
|
5581
5557
|
:iban_rule: '000000'
|
5582
|
-
'51410600':
|
5583
|
-
:check_digit_rule: '09'
|
5584
|
-
:iban_rule: '000100'
|
5585
5558
|
'51410700':
|
5586
5559
|
:check_digit_rule: '09'
|
5587
5560
|
:iban_rule: '000000'
|
@@ -8327,9 +8300,6 @@
|
|
8327
8300
|
'70021180':
|
8328
8301
|
:check_digit_rule: '99'
|
8329
8302
|
:iban_rule: '003200'
|
8330
|
-
'70022200':
|
8331
|
-
:check_digit_rule: '16'
|
8332
|
-
:iban_rule: '000000'
|
8333
8303
|
'70025175':
|
8334
8304
|
:check_digit_rule: '99'
|
8335
8305
|
:iban_rule: '003200'
|
@@ -8448,7 +8418,7 @@
|
|
8448
8418
|
:check_digit_rule: '10'
|
8449
8419
|
:iban_rule: '000000'
|
8450
8420
|
'70090500':
|
8451
|
-
:check_digit_rule: '
|
8421
|
+
:check_digit_rule: '09'
|
8452
8422
|
:iban_rule: '000000'
|
8453
8423
|
'70091500':
|
8454
8424
|
:check_digit_rule: '88'
|
@@ -8861,9 +8831,6 @@
|
|
8861
8831
|
'72069113':
|
8862
8832
|
:check_digit_rule: '88'
|
8863
8833
|
:iban_rule: '000000'
|
8864
|
-
'72069114':
|
8865
|
-
:check_digit_rule: '88'
|
8866
|
-
:iban_rule: '000000'
|
8867
8834
|
'72069119':
|
8868
8835
|
:check_digit_rule: '88'
|
8869
8836
|
:iban_rule: '000000'
|
@@ -9047,9 +9014,6 @@
|
|
9047
9014
|
'73061191':
|
9048
9015
|
:check_digit_rule: '88'
|
9049
9016
|
:iban_rule: '000000'
|
9050
|
-
'73090000':
|
9051
|
-
:check_digit_rule: '88'
|
9052
|
-
:iban_rule: '000000'
|
9053
9017
|
'73120075':
|
9054
9018
|
:check_digit_rule: '99'
|
9055
9019
|
:iban_rule: '003200'
|
@@ -9317,9 +9281,6 @@
|
|
9317
9281
|
'74364689':
|
9318
9282
|
:check_digit_rule: '88'
|
9319
9283
|
:iban_rule: '000000'
|
9320
|
-
'74366666':
|
9321
|
-
:check_digit_rule: '88'
|
9322
|
-
:iban_rule: '000000'
|
9323
9284
|
'74369068':
|
9324
9285
|
:check_digit_rule: '88'
|
9325
9286
|
:iban_rule: '000000'
|
@@ -9347,9 +9308,6 @@
|
|
9347
9308
|
'74390000':
|
9348
9309
|
:check_digit_rule: '88'
|
9349
9310
|
:iban_rule: '000000'
|
9350
|
-
'74391300':
|
9351
|
-
:check_digit_rule: '88'
|
9352
|
-
:iban_rule: '000000'
|
9353
9311
|
'74391400':
|
9354
9312
|
:check_digit_rule: '88'
|
9355
9313
|
:iban_rule: '000000'
|
@@ -9663,7 +9621,7 @@
|
|
9663
9621
|
:check_digit_rule: '88'
|
9664
9622
|
:iban_rule: '000000'
|
9665
9623
|
'76090500':
|
9666
|
-
:check_digit_rule: '
|
9624
|
+
:check_digit_rule: '09'
|
9667
9625
|
:iban_rule: '000000'
|
9668
9626
|
'76090900':
|
9669
9627
|
:check_digit_rule: '91'
|
@@ -9818,9 +9776,6 @@
|
|
9818
9776
|
'77190000':
|
9819
9777
|
:check_digit_rule: '88'
|
9820
9778
|
:iban_rule: '000000'
|
9821
|
-
'77300000':
|
9822
|
-
:check_digit_rule: '09'
|
9823
|
-
:iban_rule: '000100'
|
9824
9779
|
'77320072':
|
9825
9780
|
:check_digit_rule: '99'
|
9826
9781
|
:iban_rule: '003200'
|
@@ -10349,9 +10304,6 @@
|
|
10349
10304
|
'84094814':
|
10350
10305
|
:check_digit_rule: '32'
|
10351
10306
|
:iban_rule: '000000'
|
10352
|
-
'85000000':
|
10353
|
-
:check_digit_rule: '09'
|
10354
|
-
:iban_rule: '000100'
|
10355
10307
|
'85010500':
|
10356
10308
|
:check_digit_rule: '09'
|
10357
10309
|
:iban_rule: '000000'
|