iso-iban_validation 0.0.3 → 0.0.4

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: 3ba9f58bccdaf6013d067f93663471d279ba4c91
4
- data.tar.gz: f307f5b16196cf70fa19c9eddf49cca286696500
3
+ metadata.gz: db345359997d51bd72359abaa7fc346c1f86a87c
4
+ data.tar.gz: 3e7e5e757b4caec64095daae5d889edc177c892a
5
5
  SHA512:
6
- metadata.gz: da837e878ff8724ca3da64aed3460d8a85669ffd9caf279d0bc89f1d6c3f3ce64ed38bdaadd18e24c39d0f61d86b5b6285a7cdccfed4093fbdc73c9f495c9079
7
- data.tar.gz: 04a91751cac328b975262e8d89c0a80a8d1230c7d535ec5c4b9d08cd221202687ecb8dba29445ad59e74daac76b34ef192060a9b48e1d6ef16915551ce84e8a4
6
+ metadata.gz: ce3875ea6b7046c625736bf8161b8801eda488a9ca65610d022fe97f6070a1b687b4be34c41544ff0eadf874d6affa0d7cbc687a101de68bae0c53f7931ba798
7
+ data.tar.gz: 9c7bd6295c89000bd904e75aabc359ff2c430f56fd16e0cf8f3ce41d5008ebe42bd5d6e9fea5956700e71cca75c01b160e0b711c47133ee0f17f564534999981
@@ -6,7 +6,7 @@ class IbanValidator < ActiveModel::EachValidator
6
6
  :invalid_iban,
7
7
  message: options[:message],
8
8
  value: value,
9
- ) if 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.3"
3
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Simecek