rspice 0.25.7 → 0.25.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspice/custom_matchers/have_error_on_attribute.rb +1 -0
- data/lib/rspice/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0770e7863e895e0ea47ab7ac60d6eb556125d85c8c5d8ccb949540c9e4a5e53c
|
4
|
+
data.tar.gz: ec375848191b3342ac7d2ec9a6904e06793d2fbfb639c099b8ecb3f1f464ccd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c6d319d8c47208388c5440ced87209ab43c6c5b215341718e33de8fe22eca546ec515387693b2f829812501eac5591ae8e85f4decc93b408a13819cf30d7a71
|
7
|
+
data.tar.gz: adbc36d70eac23a3a3628dc2e3174a0aeddf9a17bd2dd55fd22532f6aacc91def3b0dad4644356c85feb2cddca48ec911a6c42c625a5d3a6be6084a98697bfbf
|
@@ -26,6 +26,7 @@ RSpec::Matchers.define :have_error_on_attribute do |attribute|
|
|
26
26
|
@errors = (record.errors.details[attribute.to_sym] || []).pluck(:error).map(&:to_sym)
|
27
27
|
|
28
28
|
expect(@errors).to include(@detail_key.to_sym)
|
29
|
+
expect(record.errors[attribute.to_sym]).to_not raise_error
|
29
30
|
end
|
30
31
|
|
31
32
|
chain :with_detail_key do |detail_key|
|
data/lib/rspice/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.25.
|
4
|
+
version: 0.25.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Garside
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-04-
|
14
|
+
date: 2021-04-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec
|
@@ -92,7 +92,7 @@ metadata:
|
|
92
92
|
homepage_uri: https://github.com/Freshly/spicerack/tree/master/rspice
|
93
93
|
source_code_uri: https://github.com/Freshly/spicerack/tree/master/rspice
|
94
94
|
changelog_uri: https://github.com/Freshly/spicerack/blob/master/rspice/CHANGELOG.md
|
95
|
-
documentation_uri: https://www.rubydoc.info/gems/rspice/0.25.
|
95
|
+
documentation_uri: https://www.rubydoc.info/gems/rspice/0.25.8
|
96
96
|
post_install_message:
|
97
97
|
rdoc_options: []
|
98
98
|
require_paths:
|