iso-iban 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/iso-iban.gemspec +1 -1
- data/lib/iso/iban/no_autoload.rb +1 -1
- data/lib/iso/iban/version.rb +1 -1
- data/test/unit/lib/iso/iban.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0dd80aba982c4df23ee4efb4e8360c9b5506307
|
4
|
+
data.tar.gz: 7668c00cba91730f93747b35e40a455ee5681f27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcf417a5f1bfa76220d06d5f954f8308f2d1a7696e5560fe627b0f87656d7fd6a9d6e62010c2f8ebb84cab6d1ea06bf095a0e057068e145f30ce4a7da65771e1
|
7
|
+
data.tar.gz: b44024b9da1750585e7b3048f5f2f124959a85e3ab8a19909275afe181d079ffbfe616d80f09ec8cce4f09524480db742f85f12cb6563ae219d7dcd05c8dac79
|
data/iso-iban.gemspec
CHANGED
data/lib/iso/iban/no_autoload.rb
CHANGED
@@ -306,7 +306,7 @@ module ISO
|
|
306
306
|
# Whether the IBAN is valid.
|
307
307
|
# See {#validate} for details.
|
308
308
|
def valid?
|
309
|
-
valid_country? && valid_checksum? && valid_length? && valid_format?
|
309
|
+
valid_characters? && valid_country? && valid_checksum? && valid_length? && valid_format?
|
310
310
|
end
|
311
311
|
|
312
312
|
# @note
|
data/lib/iso/iban/version.rb
CHANGED
data/test/unit/lib/iso/iban.rb
CHANGED
@@ -62,6 +62,7 @@ suite "ISO::IBAN" do
|
|
62
62
|
test 'ISO::IBAN::valid?' do
|
63
63
|
assert ISO::IBAN.valid?('CH35 1234 5987 6543 2109 A')
|
64
64
|
assert !ISO::IBAN.valid?('CH99 1234 5987 6543 2109 A')
|
65
|
+
assert !ISO::IBAN.valid?('CH150+') # raised before 0.1.0, fixed in 0.1.1
|
65
66
|
assert !ISO::IBAN.valid?('foo')
|
66
67
|
end
|
67
68
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iso-iban
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Rusterholz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
ISO::IBAN implements IBAN (International Bank Account Number) specification as per ISO 13616-1.
|