iso-iban_validation 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: 40d62632d0654bfe02902b2cdee0c686b3b5ab1c
4
- data.tar.gz: c15abebc69b03bee438a78b349514df04f1dcafd
3
+ metadata.gz: ec6e411bf638b2318d4fe1bf4c796f0c810a864b
4
+ data.tar.gz: 02d654ef53a4ee03400d23222e30a91a8c456238
5
5
  SHA512:
6
- metadata.gz: fe854831fb1975a9548d7a3220c641802e26d668b2ad961928b322836711d043b55bc98ded8df823ead4b1424e5ed9b851a058464fb277b17d78940991c34610
7
- data.tar.gz: e36ed3ef4a6be3569ed3f57587380d082cddfdfe325f59c500d77da9218565757df587b2f533a91ff9ec43f04ec4b04cb7172211d6b5c93739830d4a2eb851d6
6
+ metadata.gz: b949fa729808ee7dc46bf96397f9d0630d351c08186507e03aeb8dc29297f39e63510d98af79f4bf3de9d40b009e3b28434376a9e7b09293dc665e953124f3c6
7
+ data.tar.gz: 8b264a790a86755a5fbcee093a6450762033ce3a8188293f304a80dff05a7d80c620aa77d0b19783fb6ef5488ba9ba6b96ff6a634f8a4729bfcb2f2934526525
@@ -6,7 +6,7 @@ class IbanValidator < ActiveModel::EachValidator
6
6
  :invalid_iban,
7
7
  message: options[:message],
8
8
  value: value,
9
- ) if value.blank? && !ISO::IBAN.valid?(value)
9
+ ) unless ISO::IBAN.valid?(value || '')
10
10
  end
11
11
 
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module Iso
2
2
  module IbanValidation
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso-iban_validation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Simecek