rspice 0.25.7 → 0.26.0.4

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: c5c3cb1bcbd22f7a864bbe2a15b6a9f7cd8875a92b97aa3670cde5d3a14637a8
4
- data.tar.gz: '068228953133c182a795929beadda2004882caa00dcb9e228107c791a10a64bc'
3
+ metadata.gz: 893677d155d0e4d14db300d7caa90393d0b3b0cf20b99b6ad70fd74fa26c761d
4
+ data.tar.gz: f3a941fbba06cb6f20a026386009557f28e9df2a84b2a61547a9b11975ec15fe
5
5
  SHA512:
6
- metadata.gz: f3ad9b2641791a401d61779a1348e4e229be8c2274ef18a8c53e4b0bf55590e452ccc5be5efa61db1e84c6580984d6aeb3fa73bf7db35b6bdfcfadd1381d98c7
7
- data.tar.gz: b45cc708ba176e8429a16cfa72c1f031038f0a77d934c3c6616f5ffde3d5806a883c4ad5ff78792ea272ad4783b3023e5c3ba31b129e504e9c8dfd33281a8d76
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/master/badge.svg)](https://semaphoreci.com/freshly/spicerack)
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|
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Rspice
4
4
  # This constant is managed by spicerack
5
- VERSION = "0.25.7"
5
+ VERSION = "0.26.0.4"
6
6
  end
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.7
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-04-09 00:00:00.000000000 Z
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/master/rspice
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/master/rspice
93
- source_code_uri: https://github.com/Freshly/spicerack/tree/master/rspice
94
- changelog_uri: https://github.com/Freshly/spicerack/blob/master/rspice/CHANGELOG.md
95
- documentation_uri: https://www.rubydoc.info/gems/rspice/0.25.7
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.1.4
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