ibandit 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/data/german_iban_rules.yml +19 -31
- data/data/raw/BLZ2.txt +7022 -7182
- data/data/raw/swedish_bank_lookup.yml +49 -0
- data/lib/ibandit/version.rb +1 -1
- metadata +2 -2
@@ -29,6 +29,7 @@
|
|
29
29
|
:serial_number_length: 7
|
30
30
|
:zerofill_serial_number: false
|
31
31
|
:include_clearing_code: true
|
32
|
+
:validation_scheme: '1.1'
|
32
33
|
- :range: [1200, 1399]
|
33
34
|
:bank: Danske Bank
|
34
35
|
:bank_code: 120
|
@@ -36,6 +37,7 @@
|
|
36
37
|
:serial_number_length: 7
|
37
38
|
:zerofill_serial_number: false
|
38
39
|
:include_clearing_code: true
|
40
|
+
:validation_scheme: '1.1'
|
39
41
|
- :range: [1400, 2099]
|
40
42
|
:bank: Nordea
|
41
43
|
:bank_code: 300
|
@@ -43,6 +45,7 @@
|
|
43
45
|
:serial_number_length: 7
|
44
46
|
:zerofill_serial_number: false
|
45
47
|
:include_clearing_code: true
|
48
|
+
:validation_scheme: '1.1'
|
46
49
|
- :range: [2300, 2399]
|
47
50
|
:bank: Ålandsbanken Sverige AB
|
48
51
|
:bank_code: 230
|
@@ -50,6 +53,7 @@
|
|
50
53
|
:serial_number_length: 7
|
51
54
|
:zerofill_serial_number: false
|
52
55
|
:include_clearing_code: true
|
56
|
+
:validation_scheme: '1.2'
|
53
57
|
- :range: [2400, 2499]
|
54
58
|
:bank: Danske Bank
|
55
59
|
:bank_code: 120
|
@@ -57,6 +61,7 @@
|
|
57
61
|
:serial_number_length: 7
|
58
62
|
:zerofill_serial_number: false
|
59
63
|
:include_clearing_code: true
|
64
|
+
:validation_scheme: '1.1'
|
60
65
|
# NOTE: We're ignoring Sambox bank (clearing number 2950) because the only
|
61
66
|
# reference I've seen is wikipedia. Sambox does have its own bank code (295)
|
62
67
|
# though, so we may want to revisit.
|
@@ -67,6 +72,7 @@
|
|
67
72
|
:serial_number_length: 7
|
68
73
|
:zerofill_serial_number: false
|
69
74
|
:include_clearing_code: true
|
75
|
+
:validation_scheme: '1.1'
|
70
76
|
- :range: [3300, 3300]
|
71
77
|
:bank: Nordea Personkonto
|
72
78
|
# NOTE: We're routing Nordea Personkonto to the main Nordea bank code, but
|
@@ -76,6 +82,7 @@
|
|
76
82
|
:serial_number_length: 10
|
77
83
|
:zerofill_serial_number: false
|
78
84
|
:include_clearing_code: false
|
85
|
+
:validation_scheme: '2.1'
|
79
86
|
- :range: [3301, 3399]
|
80
87
|
:bank: Nordea
|
81
88
|
:bank_code: 300
|
@@ -83,6 +90,7 @@
|
|
83
90
|
:serial_number_length: 7
|
84
91
|
:zerofill_serial_number: false
|
85
92
|
:include_clearing_code: true
|
93
|
+
:validation_scheme: '1.1'
|
86
94
|
- :range: [3400, 3409]
|
87
95
|
:bank: Länsförsäkringar Bank
|
88
96
|
:bank_code: 902
|
@@ -90,6 +98,7 @@
|
|
90
98
|
:serial_number_length: 7
|
91
99
|
:zerofill_serial_number: false
|
92
100
|
:include_clearing_code: true
|
101
|
+
:validation_scheme: '1.1'
|
93
102
|
- :range: [3410, 3781]
|
94
103
|
:bank: Nordea
|
95
104
|
:bank_code: 300
|
@@ -97,6 +106,7 @@
|
|
97
106
|
:serial_number_length: 7
|
98
107
|
:zerofill_serial_number: false
|
99
108
|
:include_clearing_code: true
|
109
|
+
:validation_scheme: '1.1'
|
100
110
|
- :range: [3782, 3782]
|
101
111
|
:bank: Nordea Personkonto
|
102
112
|
# NOTE: We're routing Nordea Personkonto to the main Nordea bank code, but
|
@@ -106,6 +116,7 @@
|
|
106
116
|
:serial_number_length: 10
|
107
117
|
:zerofill_serial_number: false
|
108
118
|
:include_clearing_code: fase
|
119
|
+
:validation_scheme: '2.1'
|
109
120
|
- :range: [3783, 3999]
|
110
121
|
:bank: Nordea
|
111
122
|
:bank_code: 300
|
@@ -113,6 +124,7 @@
|
|
113
124
|
:serial_number_length: 7
|
114
125
|
:zerofill_serial_number: false
|
115
126
|
:include_clearing_code: true
|
127
|
+
:validation_scheme: '1.1'
|
116
128
|
- :range: [4000, 4999]
|
117
129
|
:bank: Nordea
|
118
130
|
:bank_code: 300
|
@@ -120,6 +132,7 @@
|
|
120
132
|
:serial_number_length: 7
|
121
133
|
:zerofill_serial_number: false
|
122
134
|
:include_clearing_code: true
|
135
|
+
:validation_scheme: '1.2'
|
123
136
|
- :range: [5000, 5999]
|
124
137
|
:bank: SEB
|
125
138
|
:bank_code: 500
|
@@ -127,6 +140,7 @@
|
|
127
140
|
:serial_number_length: 7
|
128
141
|
:zerofill_serial_number: false
|
129
142
|
:include_clearing_code: true
|
143
|
+
:validation_scheme: '1.1'
|
130
144
|
- :range: [6000, 6999]
|
131
145
|
:bank: Handelsbanken
|
132
146
|
:bank_code: 600
|
@@ -134,6 +148,7 @@
|
|
134
148
|
:serial_number_length: 9
|
135
149
|
:zerofill_serial_number: true
|
136
150
|
:include_clearing_code: false
|
151
|
+
:validation_scheme: '2.2'
|
137
152
|
- :range: [7000, 7999]
|
138
153
|
:bank: Swedbank
|
139
154
|
:bank_code: 800
|
@@ -141,6 +156,7 @@
|
|
141
156
|
:serial_number_length: 7
|
142
157
|
:zerofill_serial_number: false
|
143
158
|
:include_clearing_code: true
|
159
|
+
:validation_scheme: '1.1'
|
144
160
|
- :range: [8000, 8999]
|
145
161
|
# NOTE: This range also includes independent savings banks, some of which
|
146
162
|
# appear to have their own bank code. For now we always use the Swedbank bank
|
@@ -151,6 +167,7 @@
|
|
151
167
|
:serial_number_length: 10
|
152
168
|
:zerofill_serial_number: true
|
153
169
|
:include_clearing_code: true
|
170
|
+
:validation_scheme: '2.3'
|
154
171
|
- :range: [9020, 9029]
|
155
172
|
:bank: Länsförsäkringar Bank
|
156
173
|
:bank_code: 902
|
@@ -158,6 +175,7 @@
|
|
158
175
|
:serial_number_length: 7
|
159
176
|
:zerofill_serial_number: false
|
160
177
|
:include_clearing_code: true
|
178
|
+
:validation_scheme: '1.2'
|
161
179
|
- :range: [9040, 9049]
|
162
180
|
:bank: Citibank
|
163
181
|
:bank_code: 904
|
@@ -165,6 +183,7 @@
|
|
165
183
|
:serial_number_length: 7
|
166
184
|
:zerofill_serial_number: false
|
167
185
|
:include_clearing_code: true
|
186
|
+
:validation_scheme: '1.2'
|
168
187
|
- :range: [9060, 9069]
|
169
188
|
:bank: Länsförsäkringar Bank
|
170
189
|
:bank_code: 902
|
@@ -172,6 +191,7 @@
|
|
172
191
|
:serial_number_length: 7
|
173
192
|
:zerofill_serial_number: false
|
174
193
|
:include_clearing_code: true
|
194
|
+
:validation_scheme: '1.1'
|
175
195
|
- :range: [9090, 9099]
|
176
196
|
:bank: ABN Amro
|
177
197
|
:bank_code: 909
|
@@ -179,6 +199,7 @@
|
|
179
199
|
:serial_number_length: 7
|
180
200
|
:zerofill_serial_number: false
|
181
201
|
:include_clearing_code: true
|
202
|
+
:validation_scheme: '1.2'
|
182
203
|
- :range: [9100, 9109]
|
183
204
|
:bank: Nordnet Bank
|
184
205
|
:bank_code: 910
|
@@ -186,6 +207,7 @@
|
|
186
207
|
:serial_number_length: 7
|
187
208
|
:zerofill_serial_number: false
|
188
209
|
:include_clearing_code: true
|
210
|
+
:validation_scheme: '1.2'
|
189
211
|
- :range: [9120, 9124]
|
190
212
|
:bank: SEB
|
191
213
|
:bank_code: 500
|
@@ -193,6 +215,7 @@
|
|
193
215
|
:serial_number_length: 7
|
194
216
|
:zerofill_serial_number: false
|
195
217
|
:include_clearing_code: true
|
218
|
+
:validation_scheme: '1.1'
|
196
219
|
- :range: [9130, 9149]
|
197
220
|
:bank: SEB
|
198
221
|
:bank_code: 500
|
@@ -200,6 +223,7 @@
|
|
200
223
|
:serial_number_length: 7
|
201
224
|
:zerofill_serial_number: false
|
202
225
|
:include_clearing_code: true
|
226
|
+
:validation_scheme: '1.1'
|
203
227
|
- :range: [9150, 9169]
|
204
228
|
:bank: Skandiabanken
|
205
229
|
:bank_code: 915
|
@@ -207,6 +231,7 @@
|
|
207
231
|
:serial_number_length: 7
|
208
232
|
:zerofill_serial_number: false
|
209
233
|
:include_clearing_code: true
|
234
|
+
:validation_scheme: '1.2'
|
210
235
|
- :range: [9170, 9179]
|
211
236
|
:bank: IKANO Bank
|
212
237
|
:bank_code: 917
|
@@ -214,6 +239,7 @@
|
|
214
239
|
:serial_number_length: 7
|
215
240
|
:zerofill_serial_number: false
|
216
241
|
:include_clearing_code: true
|
242
|
+
:validation_scheme: '1.1'
|
217
243
|
- :range: [9180, 9189]
|
218
244
|
:bank: Danske Bank
|
219
245
|
:bank_code: 120
|
@@ -221,6 +247,7 @@
|
|
221
247
|
:serial_number_length: 10
|
222
248
|
:zerofill_serial_number: false
|
223
249
|
:include_clearing_code: false
|
250
|
+
:validation_scheme: '2.1'
|
224
251
|
- :range: [9190, 9199]
|
225
252
|
:bank: Den Norske Bank
|
226
253
|
:bank_code: 919
|
@@ -228,6 +255,7 @@
|
|
228
255
|
:serial_number_length: 7
|
229
256
|
:zerofill_serial_number: false
|
230
257
|
:include_clearing_code: true
|
258
|
+
:validation_scheme: '1.2'
|
231
259
|
- :range: [9230, 9239]
|
232
260
|
:bank: Marginalen Bank
|
233
261
|
:bank_code: 923
|
@@ -235,6 +263,7 @@
|
|
235
263
|
:serial_number_length: 7
|
236
264
|
:zerofill_serial_number: false
|
237
265
|
:include_clearing_code: true
|
266
|
+
:validation_scheme: '1.1'
|
238
267
|
- :range: [9250, 9259]
|
239
268
|
:bank: SBAB
|
240
269
|
:bank_code: 925
|
@@ -242,6 +271,7 @@
|
|
242
271
|
:serial_number_length: 7
|
243
272
|
:zerofill_serial_number: false
|
244
273
|
:include_clearing_code: true
|
274
|
+
:validation_scheme: '1.1'
|
245
275
|
- :range: [9260, 9269]
|
246
276
|
:bank: Den Norske Bank
|
247
277
|
:bank_code: 919
|
@@ -249,6 +279,7 @@
|
|
249
279
|
:serial_number_length: 7
|
250
280
|
:zerofill_serial_number: false
|
251
281
|
:include_clearing_code: true
|
282
|
+
:validation_scheme: '1.2'
|
252
283
|
- :range: [9270, 9279]
|
253
284
|
:bank: ICA Banken
|
254
285
|
:bank_code: 927
|
@@ -256,6 +287,7 @@
|
|
256
287
|
:serial_number_length: 7
|
257
288
|
:zerofill_serial_number: false
|
258
289
|
:include_clearing_code: true
|
290
|
+
:validation_scheme: '1.1'
|
259
291
|
- :range: [9280, 9289]
|
260
292
|
:bank: Resurs Banken AB
|
261
293
|
:bank_code: 928
|
@@ -263,6 +295,7 @@
|
|
263
295
|
:serial_number_length: 7
|
264
296
|
:zerofill_serial_number: false
|
265
297
|
:include_clearing_code: true
|
298
|
+
:validation_scheme: '1.1'
|
266
299
|
- :range: [9300, 9329]
|
267
300
|
:bank: Sparbanken Öresund
|
268
301
|
:bank_code: 930
|
@@ -270,6 +303,7 @@
|
|
270
303
|
:serial_number_length: 10
|
271
304
|
:zerofill_serial_number: false
|
272
305
|
:include_clearing_code: false
|
306
|
+
:validation_scheme: '2.1'
|
273
307
|
- :range: [9330, 9349]
|
274
308
|
:bank: Sparbanken Öresund
|
275
309
|
:bank_code: 933
|
@@ -277,6 +311,7 @@
|
|
277
311
|
:serial_number_length: 10
|
278
312
|
:zerofill_serial_number: false
|
279
313
|
:include_clearing_code: false
|
314
|
+
:validation_scheme: '2.1'
|
280
315
|
- :range: [9390, 9399]
|
281
316
|
:bank: Landshypotek AB
|
282
317
|
:bank_code: 939
|
@@ -284,6 +319,7 @@
|
|
284
319
|
:serial_number_length: 7
|
285
320
|
:zerofill_serial_number: false
|
286
321
|
:include_clearing_code: true
|
322
|
+
:validation_scheme: '1.2'
|
287
323
|
- :range: [9400, 9449]
|
288
324
|
:bank: Forex Bank AB
|
289
325
|
:bank_code: 940
|
@@ -291,6 +327,7 @@
|
|
291
327
|
:serial_number_length: 7
|
292
328
|
:zerofill_serial_number: false
|
293
329
|
:include_clearing_code: true
|
330
|
+
:validation_scheme: '1.1'
|
294
331
|
- :range: [9460, 9469]
|
295
332
|
:bank: GE Money Bank
|
296
333
|
:bank_code: 945
|
@@ -298,6 +335,7 @@
|
|
298
335
|
:serial_number_length: 7
|
299
336
|
:zerofill_serial_number: false
|
300
337
|
:include_clearing_code: true
|
338
|
+
:validation_scheme: '1.1'
|
301
339
|
- :range: [9470, 9479]
|
302
340
|
:bank: BNP Paribas
|
303
341
|
:bank_code: 947
|
@@ -305,6 +343,7 @@
|
|
305
343
|
:serial_number_length: 7
|
306
344
|
:zerofill_serial_number: false
|
307
345
|
:include_clearing_code: true
|
346
|
+
:validation_scheme: '1.2'
|
308
347
|
- :range: [9500, 9549]
|
309
348
|
:bank: Nordea - PlusGirot
|
310
349
|
:bank_code: 950
|
@@ -312,6 +351,7 @@
|
|
312
351
|
:serial_number_length: 10
|
313
352
|
:zerofill_serial_number: true
|
314
353
|
:include_clearing_code: true
|
354
|
+
:validation_scheme: '2.3'
|
315
355
|
- :range: [9550, 9569]
|
316
356
|
:bank: Avanza Bank
|
317
357
|
:bank_code: 955
|
@@ -319,6 +359,7 @@
|
|
319
359
|
:serial_number_length: 7
|
320
360
|
:zerofill_serial_number: false
|
321
361
|
:include_clearing_code: true
|
362
|
+
:validation_scheme: '1.2'
|
322
363
|
- :range: [9570, 9579]
|
323
364
|
:bank: Sparbanken Syd
|
324
365
|
:bank_code: 957
|
@@ -326,6 +367,7 @@
|
|
326
367
|
:serial_number_length: 10
|
327
368
|
:zerofill_serial_number: false
|
328
369
|
:include_clearing_code: false
|
370
|
+
:validation_scheme: '2.1'
|
329
371
|
- :range: [9590, 9599]
|
330
372
|
:bank: Erik Penser AB
|
331
373
|
:bank_code: 959
|
@@ -333,6 +375,7 @@
|
|
333
375
|
:serial_number_length: 7
|
334
376
|
:zerofill_serial_number: false
|
335
377
|
:include_clearing_code: true
|
378
|
+
:validation_scheme: '1.2'
|
336
379
|
- :range: [9630, 9639]
|
337
380
|
:bank: "Lån & Spar Bank"
|
338
381
|
:bank_code: 963
|
@@ -340,6 +383,7 @@
|
|
340
383
|
:serial_number_length: 7
|
341
384
|
:zerofill_serial_number: false
|
342
385
|
:include_clearing_code: true
|
386
|
+
:validation_scheme: '1.1'
|
343
387
|
- :range: [9640, 9649]
|
344
388
|
:bank: Nordax Finans
|
345
389
|
:bank_code: 964
|
@@ -347,6 +391,7 @@
|
|
347
391
|
:serial_number_length: 7
|
348
392
|
:zerofill_serial_number: false
|
349
393
|
:include_clearing_code: true
|
394
|
+
:validation_scheme: '1.2'
|
350
395
|
- :range: [9660, 9669]
|
351
396
|
:bank: Amfa Bank
|
352
397
|
:bank_code: 966
|
@@ -354,6 +399,7 @@
|
|
354
399
|
:serial_number_length: 7
|
355
400
|
:zerofill_serial_number: false
|
356
401
|
:include_clearing_code: true
|
402
|
+
:validation_scheme: '1.2'
|
357
403
|
- :range: [9880, 9889]
|
358
404
|
:bank: Riksgälden
|
359
405
|
:bank_code: 988
|
@@ -361,6 +407,7 @@
|
|
361
407
|
:serial_number_length: 7
|
362
408
|
:zerofill_serial_number: false
|
363
409
|
:include_clearing_code: true
|
410
|
+
:validation_scheme: '1.2'
|
364
411
|
- :range: [9890, 9899]
|
365
412
|
:bank: Riksgälden
|
366
413
|
:bank_code: 989
|
@@ -368,6 +415,7 @@
|
|
368
415
|
:serial_number_length: 10
|
369
416
|
:zerofill_serial_number: false
|
370
417
|
:include_clearing_code: false
|
418
|
+
:validation_scheme: '2.1'
|
371
419
|
- :range: [9960, 9969]
|
372
420
|
:bank: Nordea - PlusGirot
|
373
421
|
:bank_code: 950
|
@@ -375,3 +423,4 @@
|
|
375
423
|
:serial_number_length: 10
|
376
424
|
:zerofill_serial_number: true
|
377
425
|
:include_clearing_code: true
|
426
|
+
:validation_scheme: '2.3'
|
data/lib/ibandit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibandit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grey Baker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|