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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72a53aeb4de7eb495706e51a08f34c861e706c03
4
- data.tar.gz: e3af74706241ab8bff72986d8ed79aa34d1b2231
3
+ metadata.gz: e0dd80aba982c4df23ee4efb4e8360c9b5506307
4
+ data.tar.gz: 7668c00cba91730f93747b35e40a455ee5681f27
5
5
  SHA512:
6
- metadata.gz: cb22f4ea028de0f22100dfefba44860e0dcaec1cb3619b64659b0b22562a8aba3c3570577944363e22d4331123609d93b6c6a38f747874303adb0a15ecc4675f
7
- data.tar.gz: 495fa573e6734141cc389101ed4bb83048e5619064bfe62b33548b230f01f649bb9898833c07a5e5a3a428e84ff77a5db1a442b7d67dee7964ccfd1380f87b22
6
+ metadata.gz: bcf417a5f1bfa76220d06d5f954f8308f2d1a7696e5560fe627b0f87656d7fd6a9d6e62010c2f8ebb84cab6d1ea06bf095a0e057068e145f30ce4a7da65771e1
7
+ data.tar.gz: b44024b9da1750585e7b3048f5f2f124959a85e3ab8a19909275afe181d079ffbfe616d80f09ec8cce4f09524480db742f85f12cb6563ae219d7dcd05c8dac79
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "iso-iban"
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
  s.authors = "Stefan Rusterholz"
7
7
  s.email = "stefan.rusterholz@gmail.com"
8
8
  s.homepage = "https://github.com/apeiros/iso-iban"
@@ -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
@@ -13,6 +13,6 @@ module ISO
13
13
  # @note
14
14
  # require 'iso/iban' loads the version.
15
15
  #
16
- Version = Gem::Version.new("0.1.0")
16
+ Version = Gem::Version.new("0.1.1")
17
17
  end
18
18
  end
@@ -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.0
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-02-25 00:00:00.000000000 Z
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.