ibandit 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ibandit/check_digit.rb +1 -1
- data/lib/ibandit/iban_assembler.rb +2 -0
- data/lib/ibandit/version.rb +1 -1
- data/spec/ibandit/iban_assembler_spec.rb +5 -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: d17b62b63ca200b4466aa2b829ece380d72e75e5
|
4
|
+
data.tar.gz: c2ed6424bdf45139c76ab789b20486ad8e6d01c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c565399245d02f68432d5cf2c02accd63512d35d0dbe0d7b1108650080516be41550b9065f9a5800a4284fb3c3cfab14fb2c15ad457d467afc6382e7f2dead08
|
7
|
+
data.tar.gz: 1f646383896e595c8c1491a1dd4259d60733922207aad86008e9a049b5cfb604805938dd0b9ec166161f15c7770ed641f6d7727a2a0438840ba56ba8bcfc8c24
|
data/CHANGELOG.md
CHANGED
data/lib/ibandit/check_digit.rb
CHANGED
data/lib/ibandit/version.rb
CHANGED
@@ -498,6 +498,11 @@ describe Ibandit::IBANAssembler do
|
|
498
498
|
it { is_expected.to eq('IT64Y0542811101000000123456') }
|
499
499
|
end
|
500
500
|
|
501
|
+
context 'with a bad character' do
|
502
|
+
before { args[:account_number] = '000000123hhh' }
|
503
|
+
it { is_expected.to be_nil }
|
504
|
+
end
|
505
|
+
|
501
506
|
context 'without a bank_code' do
|
502
507
|
before { args.delete(:bank_code) }
|
503
508
|
it { is_expected.to be_nil }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibandit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grey Baker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|