ibandit 1.17.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +22 -12
- data/data/german_iban_rules.yml +6 -24
- data/data/raw/BLZ2.txt +357 -491
- data/ibandit.gemspec +32 -25
- data/lib/ibandit/version.rb +1 -1
- metadata +10 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b8d022291e78a27b3f3b8dbfdae181ef51a16e40a0a6c3c0635703ea6a683ad
|
4
|
+
data.tar.gz: a231a9d66818be2adbf1b3f94dda0ebc5f9c67aea2b61a0c82d6e5f4b6df96a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ad4e13578ab1109950350378fb8f065eef1fb022be994a81fd11f5badbefa788a9e38b536fdc2f233f1098bee73bbd3a9854194f76c01bbfaccf5438208e162
|
7
|
+
data.tar.gz: 031a842efe2feeb64ba57036547df074b55adf23399979b856b457aa97d90b20d6ee4da811de7c5c09e881a61d383132a52c44c59475d7cf468da0652923c20a
|
data/.github/workflows/tests.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 1.18.0 - Sept 4, 2023
|
2
|
+
|
3
|
+
- Remove Ruby 2.6 support
|
4
|
+
- Update BLZ data - BLZ_20230904
|
5
|
+
|
1
6
|
## 1.17.0 - June 5, 2023
|
2
7
|
|
3
8
|
- Update BLZ data - BLZ_20230605
|
@@ -145,7 +150,7 @@
|
|
145
150
|
|
146
151
|
- Skipped 0.11.21
|
147
152
|
- Added national_id_length for CA IBANs to prevent segfault when building from
|
148
|
-
|
153
|
+
local details.
|
149
154
|
|
150
155
|
## 0.11.20 - October 18, 2018
|
151
156
|
|
@@ -217,54 +222,54 @@
|
|
217
222
|
- Fix `swift_national_id` for Slovenian IBANs. Previously it was
|
218
223
|
returning two digits, instead of five.
|
219
224
|
|
220
|
-
## 0.11.3 -
|
225
|
+
## 0.11.3 - March 9, 2017
|
221
226
|
|
222
227
|
- Fix bug: Previously, constructing an `Ibandit::IBAN` object with
|
223
228
|
`country_code: "SE"` and certain 4-digit values for `account_number`
|
224
229
|
would throw `NoMethodError`. The IBAN object can now be successfully
|
225
230
|
constructed (and will return a false value for `valid?`).
|
226
231
|
|
227
|
-
## 0.11.2 -
|
232
|
+
## 0.11.2 - July 4, 2016
|
228
233
|
|
229
234
|
- Handle invalid pseudo-IBANs
|
230
235
|
|
231
|
-
## 0.11.1 -
|
236
|
+
## 0.11.1 - June 6, 2016
|
232
237
|
|
233
238
|
- Update BLZ data
|
234
239
|
|
235
|
-
## 0.11.0 -
|
240
|
+
## 0.11.0 - March 30, 2016
|
236
241
|
|
237
242
|
- BREAKING CHANGE: Rename `IBAN#iban_national_id` to `IBAN#swift_national_id`.
|
238
243
|
See https://github.com/gocardless/ibandit/pull/69 for more details.
|
239
244
|
|
240
|
-
## 0.10.1 -
|
245
|
+
## 0.10.1 - March 7, 2016
|
241
246
|
|
242
247
|
- Update BLZ data
|
243
248
|
|
244
|
-
## 0.10.0 -
|
249
|
+
## 0.10.0 - February 25, 2016
|
245
250
|
|
246
251
|
- BREAKING CHANGE: Pass an `Ibandit::IBAN` object to modulus checker hooks,
|
247
252
|
rather than a string. See https://github.com/gocardless/ibandit/pull/68 for
|
248
253
|
more details.
|
249
254
|
|
250
|
-
## 0.9.1 -
|
255
|
+
## 0.9.1 - January 26, 2016
|
251
256
|
|
252
257
|
- Update BLZ data
|
253
258
|
|
254
|
-
## 0.9.0 -
|
259
|
+
## 0.9.0 - January 25, 2016
|
255
260
|
|
256
261
|
- BREAKING CHANGE: Update modulus checker hooks to expect a `valid_branch_code?`
|
257
262
|
method. See https://github.com/gocardless/ibandit/pull/65 for more details.
|
258
263
|
|
259
|
-
## 0.8.8 -
|
264
|
+
## 0.8.8 - January 22, 2016
|
260
265
|
|
261
266
|
- Strip whitespace from Spanish account numbers
|
262
267
|
|
263
|
-
## 0.8.7 -
|
268
|
+
## 0.8.7 - December 8, 2015
|
264
269
|
|
265
270
|
- Handle bad characters gracefully when constructing Italian IBANs
|
266
271
|
|
267
|
-
## 0.8.6 -
|
272
|
+
## 0.8.6 - December 6, 2015
|
268
273
|
|
269
274
|
- Add details of Swedish validation scheme to Swedish data file
|
270
275
|
- Update BLZ data
|
@@ -286,20 +291,25 @@
|
|
286
291
|
- Update BLZ data
|
287
292
|
|
288
293
|
## 0.8.1 - August 14, 2015
|
294
|
+
|
289
295
|
- Clean SWIFT details
|
290
296
|
|
291
297
|
## 0.8.0 - August 14, 2015
|
298
|
+
|
292
299
|
- Return local details for Sweden
|
293
300
|
- Introduce pseudo-IBANs for Sweden
|
294
301
|
|
295
302
|
## 0.7.0 - August 11, 2015
|
303
|
+
|
296
304
|
- Remove all unused `CheckDigit` methods
|
297
305
|
|
298
306
|
## 0.6.6 - July 31, 2015
|
307
|
+
|
299
308
|
- Add Croatia to LocalDetailsCleaner and IBANAssembler
|
300
309
|
- Add Czech Republic to LocalDetailsCleaner and IBANAssembler
|
301
310
|
|
302
311
|
## 0.6.5 - July 30, 2015
|
312
|
+
|
303
313
|
- Add Romania to LocalDetailsCleaner and IBANAssembler
|
304
314
|
- Add Bulgaria to LocalDetailsCleaner and IBANAssembler
|
305
315
|
- Add Hungary to LocalDetailsCleaner and IBANAssembler
|
data/data/german_iban_rules.yml
CHANGED
@@ -8,6 +8,9 @@
|
|
8
8
|
'10010123':
|
9
9
|
:check_digit_rule: '09'
|
10
10
|
:iban_rule: '000000'
|
11
|
+
'10010178':
|
12
|
+
:check_digit_rule: '09'
|
13
|
+
:iban_rule: '000000'
|
11
14
|
'10010200':
|
12
15
|
:check_digit_rule: '09'
|
13
16
|
:iban_rule: '000000'
|
@@ -107,18 +110,6 @@
|
|
107
110
|
'10050000':
|
108
111
|
:check_digit_rule: B8
|
109
112
|
:iban_rule: '000400'
|
110
|
-
'10050005':
|
111
|
-
:check_digit_rule: C6
|
112
|
-
:iban_rule: '000100'
|
113
|
-
'10050006':
|
114
|
-
:check_digit_rule: D1
|
115
|
-
:iban_rule: '000100'
|
116
|
-
'10050007':
|
117
|
-
:check_digit_rule: D4
|
118
|
-
:iban_rule: '000100'
|
119
|
-
'10050008':
|
120
|
-
:check_digit_rule: E2
|
121
|
-
:iban_rule: '000100'
|
122
113
|
'10050020':
|
123
114
|
:check_digit_rule: B8
|
124
115
|
:iban_rule: '000000'
|
@@ -2538,7 +2529,7 @@
|
|
2538
2529
|
:check_digit_rule: '56'
|
2539
2530
|
:iban_rule: '000000'
|
2540
2531
|
'30030889':
|
2541
|
-
:check_digit_rule: '
|
2532
|
+
:check_digit_rule: '56'
|
2542
2533
|
:iban_rule: '000000'
|
2543
2534
|
'30030900':
|
2544
2535
|
:check_digit_rule: '00'
|
@@ -3741,7 +3732,7 @@
|
|
3741
3732
|
:check_digit_rule: '00'
|
3742
3733
|
:iban_rule: '000000'
|
3743
3734
|
'40351060':
|
3744
|
-
:check_digit_rule: '
|
3735
|
+
:check_digit_rule: '49'
|
3745
3736
|
:iban_rule: '000000'
|
3746
3737
|
'40351220':
|
3747
3738
|
:check_digit_rule: '00'
|
@@ -4577,9 +4568,6 @@
|
|
4577
4568
|
'50016600':
|
4578
4569
|
:check_digit_rule: '09'
|
4579
4570
|
:iban_rule: '000000'
|
4580
|
-
'50020000':
|
4581
|
-
:check_digit_rule: '28'
|
4582
|
-
:iban_rule: '000000'
|
4583
4571
|
'50020200':
|
4584
4572
|
:check_digit_rule: '60'
|
4585
4573
|
:iban_rule: '000800'
|
@@ -6461,9 +6449,6 @@
|
|
6461
6449
|
'58662653':
|
6462
6450
|
:check_digit_rule: '38'
|
6463
6451
|
:iban_rule: '000000'
|
6464
|
-
'58668818':
|
6465
|
-
:check_digit_rule: '38'
|
6466
|
-
:iban_rule: '000000'
|
6467
6452
|
'58691500':
|
6468
6453
|
:check_digit_rule: '38'
|
6469
6454
|
:iban_rule: '000000'
|
@@ -9290,9 +9275,6 @@
|
|
9290
9275
|
'74090000':
|
9291
9276
|
:check_digit_rule: '88'
|
9292
9277
|
:iban_rule: '000000'
|
9293
|
-
'74092400':
|
9294
|
-
:check_digit_rule: '88'
|
9295
|
-
:iban_rule: '000000'
|
9296
9278
|
'74120071':
|
9297
9279
|
:check_digit_rule: '99'
|
9298
9280
|
:iban_rule: '003200'
|
@@ -9582,7 +9564,7 @@
|
|
9582
9564
|
:check_digit_rule: '06'
|
9583
9565
|
:iban_rule: '000000'
|
9584
9566
|
'76035000':
|
9585
|
-
:check_digit_rule: '
|
9567
|
+
:check_digit_rule: '09'
|
9586
9568
|
:iban_rule: '000000'
|
9587
9569
|
'76040060':
|
9588
9570
|
:check_digit_rule: '09'
|