rspice 0.25.7 → 0.26.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rspice/custom_matchers/have_error_on_attribute.rb +2 -0
- data/lib/rspice/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 893677d155d0e4d14db300d7caa90393d0b3b0cf20b99b6ad70fd74fa26c761d
|
4
|
+
data.tar.gz: f3a941fbba06cb6f20a026386009557f28e9df2a84b2a61547a9b11975ec15fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96d088efe1436d37b2bcd82bea8dfa678ace59c6239ee4d0ab9a0afd32bc2ac989fda7c9fb4663ced6ffed6031c7f3b8a6f38104f18563ee2aebdbc1a2daff71
|
7
|
+
data.tar.gz: a69bba6110e611f427a3fc06f08c9fff8fa5b9cc721d366ce42162e9dd2280d0c6a18dbfce37dd6037739f88d58e79cfc4c1be71867aad2ac756eac9d14ff9de
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
A dash of custom matchers, a pinch of shared contexts, and shared examples (to taste) for RSpec
|
4
4
|
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/rspice.svg)](https://badge.fury.io/rb/rspice)
|
6
|
-
[![Build Status](https://semaphoreci.com/api/v1/freshly/spicerack/branches/
|
6
|
+
[![Build Status](https://semaphoreci.com/api/v1/freshly/spicerack/branches/main/badge.svg)](https://semaphoreci.com/freshly/spicerack)
|
7
7
|
[![Maintainability](https://api.codeclimate.com/v1/badges/7e089c2617c530a85b17/maintainability)](https://codeclimate.com/github/Freshly/spicerack/maintainability)
|
8
8
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/7e089c2617c530a85b17/test_coverage)](https://codeclimate.com/github/Freshly/spicerack/test_coverage)
|
9
9
|
|
@@ -26,6 +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
|
+
|
30
|
+
expect { record.errors[attribute.to_sym] }.to_not raise_error
|
29
31
|
end
|
30
32
|
|
31
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.
|
4
|
+
version: 0.26.0.4
|
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-
|
14
|
+
date: 2021-05-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec
|
@@ -85,14 +85,14 @@ files:
|
|
85
85
|
- lib/rspice/shared_examples/an_inherited_property.rb
|
86
86
|
- lib/rspice/shared_examples/an_instrumented_event.rb
|
87
87
|
- lib/rspice/version.rb
|
88
|
-
homepage: https://github.com/Freshly/spicerack/tree/
|
88
|
+
homepage: https://github.com/Freshly/spicerack/tree/main/rspice
|
89
89
|
licenses:
|
90
90
|
- MIT
|
91
91
|
metadata:
|
92
|
-
homepage_uri: https://github.com/Freshly/spicerack/tree/
|
93
|
-
source_code_uri: https://github.com/Freshly/spicerack/tree/
|
94
|
-
changelog_uri: https://github.com/Freshly/spicerack/blob/
|
95
|
-
documentation_uri: https://www.rubydoc.info/gems/rspice/0.
|
92
|
+
homepage_uri: https://github.com/Freshly/spicerack/tree/main/rspice
|
93
|
+
source_code_uri: https://github.com/Freshly/spicerack/tree/main/rspice
|
94
|
+
changelog_uri: https://github.com/Freshly/spicerack/blob/main/rspice/CHANGELOG.md
|
95
|
+
documentation_uri: https://www.rubydoc.info/gems/rspice/0.26.0.4
|
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.
|
111
|
+
rubygems_version: 3.2.17
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: An `RSpec` utility gem of custom matchers, shared contexts and examples
|