eac_rails_utils 0.15.1 → 0.15.2

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
  SHA256:
3
- metadata.gz: c466724b885abae859a74f33568b35eb62d9488f55ef7e5a9f980b43117982e5
4
- data.tar.gz: 77bc820f51b8ee863b08a7b81ca8feb78b488a3917841ee2a5582956c7c76088
3
+ metadata.gz: c9fc6f5eeb0a83af418670cea2dc95b53fa73814d58ffab721c0ef5ec39d5dd2
4
+ data.tar.gz: c8f1f12ef2b022f027edcc3dae5807ca261a2af59e11b6e1caee773b49f856bb
5
5
  SHA512:
6
- metadata.gz: 4f7b4fd5913f32cad671bbfe269f4316137e15f55f349f06d88f7efb2879ff4bc03b450fec87f0dd15d396f97ef972199c3edc5666b68b4a8a49ffd8a6c9bc00
7
- data.tar.gz: f6a3bf43950216bb98f48509f9f451d23e33545e6b7d40ca73e8481ffa8cb6ffb4fc95136ea13f0c00ab4240096b06df579adf49560ded72d033ad159d662959
6
+ metadata.gz: b90e015789b85a68c6b10959a9b9d2f8ad9d377fb46b5203abec820abb1d71c67e633f2766b1f05c5bebb5be3f5e3f2bc19bc3dde15942eb3a8846a28718d256
7
+ data.tar.gz: f8fab12ef5014a74d07677aef9f8207181793c6d2774c4cfe43afde093b0741b883b236ec89c97e5cf48891692f570e63e8b829978ff8e984e43980ef63b69e8
@@ -12,9 +12,9 @@ module EacRailsUtils
12
12
  send(record_variable).send("#{attribute}=", value)
13
13
  end
14
14
 
15
- it "#{record_variable} should be {valid ? '' : 'not '}valid" do
16
- expect(send(record_variable).valid?).to send("be_#{valid ? 'truthy' : 'falsy'}"),
17
- send(record_variable).errors.messages
15
+ it "#{record_variable} should be #{valid ? '' : 'not '}valid" do
16
+ expect(send(record_variable).valid?).to(send("be_#{valid ? 'truthy' : 'falsy'}"),
17
+ -> { send(record_variable).errors.messages })
18
18
  end
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsUtils
4
- VERSION = '0.15.1'
4
+ VERSION = '0.15.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - E.A.C.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-05 00:00:00.000000000 Z
11
+ date: 2022-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel-associations