rspice 0.25.8 → 0.25.8.1
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 +2 -1
- data/lib/rspice/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caf3c7e9d4fab9843577499f315719108f3d38920b5aee4f25e1e2d1fc3c7144
|
4
|
+
data.tar.gz: a9af8e3bdd9e69317ff65ff98b59d3b363dca42f367833cd01d17f4997938407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f77f5fb80a19085d3318dc6ed108a0853a1c50d3e04db6fd1ec311c5ff47f7c49247383920599eb6a13c48844b7147ec9be7208aa87e81f49bb232bb4edff7eb
|
7
|
+
data.tar.gz: 2ae42641c2d01f78999d9a8264168a8328f7d0f9f83febf85e16c49647391f877577e5f41ac94573b5893e6d4ed9cee4c74545f90574dd2f7b7b30d920a806ec
|
@@ -26,7 +26,8 @@ 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
|
-
|
29
|
+
|
30
|
+
expect { record.errors[attribute.to_sym] }.to_not raise_error
|
30
31
|
end
|
31
32
|
|
32
33
|
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.8
|
4
|
+
version: 0.25.8.1
|
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-13 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.8
|
95
|
+
documentation_uri: https://www.rubydoc.info/gems/rspice/0.25.8.1
|
96
96
|
post_install_message:
|
97
97
|
rdoc_options: []
|
98
98
|
require_paths:
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.1.
|
111
|
+
rubygems_version: 3.1.6
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: An `RSpec` utility gem of custom matchers, shared contexts and examples
|