bank_account_tools 1.0.0 → 1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 536b7b8acd17da01da2ebf8ce086a317e5b3d7c1
|
4
|
+
data.tar.gz: c06337c1c682ff254d6e65d5782d582fefd726ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 190cbec53cf80268fae8f81d47de0dfd29a12c6b5f3d01286b961a08fabd7b2482777499a4b10506ea49a74d974aab13a52a073a6a4eeb011a9511946a2b231a
|
7
|
+
data.tar.gz: 7b4d2a87196fb7022bd8d531b35e338647134896f62a31d0276f365886266fd70e26cafc306a57791e27d466d386e32fb31c1d0a06149f1c9c3f2dd23e35ddbc
|
@@ -1,8 +1,5 @@
|
|
1
1
|
RSpec::Matchers.define :have_valid_bic do |attribute|
|
2
|
-
match do
|
3
|
-
actual_class_name = subject.is_a?(Class) ? subject : subject.class
|
4
|
-
actual = actual_class_name.new
|
5
|
-
|
2
|
+
match do |actual|
|
6
3
|
expect(actual).to be_invalid
|
7
4
|
expect(actual.errors[attribute.to_sym]).to include('is of invalid format')
|
8
5
|
end
|
@@ -1,8 +1,5 @@
|
|
1
1
|
RSpec::Matchers.define :have_valid_iban do |attribute|
|
2
|
-
match do
|
3
|
-
actual_class_name = subject.is_a?(Class) ? subject : subject.class
|
4
|
-
actual = actual_class_name.new
|
5
|
-
|
2
|
+
match do |actual|
|
6
3
|
expect(actual).to be_invalid
|
7
4
|
expect(actual.errors[attribute.to_sym]).to include('is of invalid format')
|
8
5
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bank_account_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitar Kostov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|