banktools-global 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78d4250b9292e9803a2901d65ea584860f1063c58dd22fe16d673809b7d67cf6
4
- data.tar.gz: b382e03dbedcbc9e5442e0b686f5f816c3efac99c1e4b67679be7e4eccb574ec
3
+ metadata.gz: 003d61bea3f19fb30ece532474b46e3fdf2f8bb69b44b58ad091d5bbab8438e7
4
+ data.tar.gz: f2063c18c11fd5b7bac3036156849cb9fe85bb15262b6458816abf71e2cc0dc5
5
5
  SHA512:
6
- metadata.gz: 34839382a704cd679397808ad56803c3f28ff5916720a536381bea62632c68929d22cb6e01687741fc79e624b1f9cd2579fa8f26dfe7b7471fbff6396a1222a5
7
- data.tar.gz: f735990bc30ae8202df3daa454d50daf045963118de6a19e1bbe5590460d93b6b70ff9fa9d8892c713ff1e7af772da1a6c95785c25860885fd31f0e4ce3c57c4
6
+ metadata.gz: 81bff04af82a6647241e4a9b34c0af52645533aac48c1c891bff9e46ae60891729f7ed63bfcccf5861929c60d4be89da9a5167dd5955b31cb0ccc2175aa5624d
7
+ data.tar.gz: b3a0060d26cfdc78899ab7d5bc366e9574b725b50b6583adabe5cf17f01e5b5e097ba0ea2c5b9ae222e1b878b597a4c10d50b96e5247b914d11406698e1f2795
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.1] - 2021-04-19
4
+
5
+ - Bugfix: Allow spaces in IBAN.
6
+
3
7
  ## [1.0.0] - 2021-04-19
4
8
 
5
9
  - Initial release.
@@ -7,8 +7,7 @@ class BankTools::Global::IBAN
7
7
  E = BankTools::Global::Errors
8
8
 
9
9
  def initialize(raw)
10
- @raw = raw
11
- @pre_normalized = raw.to_s.strip.upcase
10
+ @pre_normalized = raw.to_s.gsub(/\s/, "").strip.upcase
12
11
  end
13
12
 
14
13
  def valid?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module BankTools
4
4
  module Global
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: banktools-global
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik Nyh