bank_account_tools 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 363262bef106d232634f2d4d64891dc2c46cecf8
4
- data.tar.gz: 5a9cfafc4a65c69ab002152113c5dd5d44762358
3
+ metadata.gz: 536b7b8acd17da01da2ebf8ce086a317e5b3d7c1
4
+ data.tar.gz: c06337c1c682ff254d6e65d5782d582fefd726ad
5
5
  SHA512:
6
- metadata.gz: 5d89926b830a14c81a39dfcd7565fb9fa013a3c592fed7749fca6e750bd241dc320ad354127b66f151fa2570d266fa675b29714ba9d91e011a7658d9e024c36f
7
- data.tar.gz: 9ba8a4d21fd781383601f2af45d08dc0628f3639e8ee5d504b94189b29549bb8a93fd197534dfc43467cba3d36529543a6c9ac16f267279bdde11974d3e4cc7d
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
@@ -1,3 +1,3 @@
1
1
  module BankAccountTools
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  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.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-23 00:00:00.000000000 Z
12
+ date: 2017-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler