ibandit 1.7.1 → 1.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfe40876f694824ec0cfe5614e4b351dd22889c101ab39c17e0270378db0dcea
4
- data.tar.gz: 92607278bbef999bf9fbd34a521687593dde4850f530bf40f24d712d74fa8f78
3
+ metadata.gz: 4110648c4062c49d43e68116b09da947b94f254d636e4708b8a58016e656138d
4
+ data.tar.gz: 9de9b3593347b0948ad2edeff10674c0f3f35092cdcd2ff71399ec707fe44566
5
5
  SHA512:
6
- metadata.gz: a6f5ddb8a03a3156f2fbbff6c23e84814fd1dad6b1cb30924a876f6c4633cec0884b6ac4a3fa038f3a22ae9605e6bd2aed88e45df3403d95178bfb71cf920277
7
- data.tar.gz: 53c5c84714ebec33df26da8dc40015b64784fd17d919ca78ffea1ba91a7fd742bbdeed7811f13dceaf4a0f693dfd910477cda693b9d5567c93590c3db2667b36
6
+ metadata.gz: 70780c28a8ca9bdac357a46157fa05fd683efce6f6ee1184a10c42fbfbd00b0fcf9d5058c92058f9cda3ff8737ac99072adf0cc8222c5d1375902d5a3561afda
7
+ data.tar.gz: '083c4924a8d4e6ba70dcad8c309ccbd52b15ce6d3884e51f9d4f03056f37935c3ffd52f939ef025c4303e3a837ad12dc7aa0ebdf8f7d0a7044608939bb2ca5a9'
data/.circleci/config.yml CHANGED
@@ -34,4 +34,4 @@ workflows:
34
34
  name: Ruby << matrix.ruby-version >>
35
35
  matrix:
36
36
  parameters:
37
- ruby-version: ["2.5.9", "2.6.7", "2.7.3", "3.0.1"]
37
+ ruby-version: ["2.6.7", "2.7.3", "3.0.1", "3.1.0"]
data/.rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
  inherit_gem:
3
3
  gc_ruboconfig: rubocop.yml
4
+ require: rubocop-rails
4
5
 
5
6
  AllCops:
6
7
  TargetRubyVersion: 2.5
@@ -48,3 +49,6 @@ Layout/DotPosition:
48
49
  # this is quite aggressive.
49
50
  Gemspec/RequiredRubyVersion:
50
51
  Enabled: false
52
+
53
+ Rails/Blank:
54
+ Enabled: false
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.1
1
+ 3.1.0
data/CHANGELOG.md CHANGED
@@ -1,7 +1,20 @@
1
+ ## 1.9.0 - February 16, 2022
2
+
3
+ - Update BLZ data - BLZ_20220307
4
+
5
+ ## 1.8.1 - February 8, 2022
6
+
7
+ - Fix issue with structure loading - thanks @shaicoleman
8
+
9
+ ## 1.8.0 - January 7, 2022
10
+
11
+ - Add Ruby 3.1 support
12
+ - Remove Ruby 2.5 support
13
+
1
14
  ## 1.7.1 - November 25, 2021
2
15
 
3
16
  - Update BLZ data - BLZ_20211206
4
-
17
+
5
18
  ## 1.7.0 - Sept 8, 2021
6
19
 
7
20
  - Stop padding out Australian account details to 10 digits
@@ -153,8 +153,9 @@ if __FILE__ == $PROGRAM_NAME
153
153
  iban_registry_file,
154
154
  )
155
155
 
156
- structure_additions = YAML.load_file(
157
- File.expand_path("../data/raw/structure_additions.yml", __dir__),
156
+ structure_additions = YAML.safe_load(
157
+ File.read(File.expand_path("../data/raw/structure_additions.yml", __dir__)),
158
+ permitted_classes: [Range, Symbol],
158
159
  )
159
160
 
160
161
  complete_structures = merge_structures(iban_structures, structure_additions)
@@ -1664,9 +1664,6 @@
1664
1664
  '25690009':
1665
1665
  :check_digit_rule: '28'
1666
1666
  :iban_rule: '000000'
1667
- '25690010':
1668
- :check_digit_rule: '28'
1669
- :iban_rule: '000000'
1670
1667
  '25691633':
1671
1668
  :check_digit_rule: '28'
1672
1669
  :iban_rule: '000000'
@@ -1802,9 +1799,6 @@
1802
1799
  '26251425':
1803
1800
  :check_digit_rule: '00'
1804
1801
  :iban_rule: '000000'
1805
- '26261396':
1806
- :check_digit_rule: '28'
1807
- :iban_rule: '000000'
1808
1802
  '26261492':
1809
1803
  :check_digit_rule: '28'
1810
1804
  :iban_rule: '000000'
@@ -5585,12 +5579,12 @@
5585
5579
  '51420300':
5586
5580
  :check_digit_rule: '17'
5587
5581
  :iban_rule: '000000'
5588
- '51420600':
5589
- :check_digit_rule: '09'
5590
- :iban_rule: '000000'
5591
5582
  '51430400':
5592
5583
  :check_digit_rule: '09'
5593
5584
  :iban_rule: '000100'
5585
+ '51430410':
5586
+ :check_digit_rule: '09'
5587
+ :iban_rule: '000000'
5594
5588
  '51432100':
5595
5589
  :check_digit_rule: '09'
5596
5590
  :iban_rule: '000000'
@@ -6183,7 +6177,7 @@
6183
6177
  :check_digit_rule: '13'
6184
6178
  :iban_rule: '000503'
6185
6179
  '55350010':
6186
- :check_digit_rule: '03'
6180
+ :check_digit_rule: A7
6187
6181
  :iban_rule: '000000'
6188
6182
  '55361202':
6189
6183
  :check_digit_rule: '32'