ibandit 1.0.2 → 1.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1045,8 +1045,8 @@ module Ibandit
1045
1045
  end
1046
1046
  end
1047
1047
 
1048
- class Rule004910 < BaseRule
1049
- # Rule 0049 10 is actually about modulus checking, not IBAN construction
1048
+ class Rule004901 < Rule000000
1049
+ # Rule 0049 01 is actually about modulus checking, not IBAN construction
1050
1050
  end
1051
1051
 
1052
1052
  class Rule005000 < BaseRule
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ibandit
4
- VERSION = "1.0.2"
4
+ VERSION = "1.1.0.1"
5
5
  end
@@ -160,6 +160,12 @@
160
160
  "valid": [
161
161
  { "bank_code": "39060180", "account_number": "556", "converted_account_number": "0120440110" }
162
162
  ]
163
+ },
164
+ {
165
+ "convertor": "004901",
166
+ "valid": [
167
+ { "bank_code": "30060010", "account_number": "12345678", "converted_account_number": "12345678" }
168
+ ]
163
169
  }
164
170
  // {
165
171
  // "convertor": "001900",
@@ -435,5 +435,16 @@
435
435
  "valid": [
436
436
  { "bank_code": "10010010", "account_number" : "1234567890", "converted_bank_code": "66010200" }
437
437
  ]
438
+ },
439
+ {
440
+ "convertor": "004901",
441
+ "valid": [
442
+ {
443
+ "bank_code": "30060010",
444
+ "account_number": "1234567890",
445
+ "converted_bank_code": "30060010",
446
+ "converted_account_number": "1234567890"
447
+ }
448
+ ]
438
449
  }
439
450
  ]
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: 1.0.2
4
+ version: 1.1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-14 00:00:00.000000000 Z
11
+ date: 2020-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gc_ruboconfig