rspec-sleeping_king_studios 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/DEVELOPMENT.md +0 -6
- data/README.md +1 -1
- data/lib/rspec/sleeping_king_studios/examples/rspec_matcher_examples.rb +4 -4
- data/lib/rspec/sleeping_king_studios/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: '096c6d91e990581772d795cedab4356ac8b07f84712d2a52e61fd715d47bfbc2'
|
4
|
+
data.tar.gz: b2f7d0d162e1678be6a8ed0886ec1a9670321bbe64abc6a4f58a30b58e479725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6bd478d39bd8ec15b23b12440ca82b839e652376cfb761b2fa56c1e6228c6ebfd0658156bc886c5ab58a31547801dc581e732be98392280f913beb240ee4b49
|
7
|
+
data.tar.gz: ccc88ee28086629ab456961cdc746a8647c0c285d1d0e1734000abae8ece56532324f36e9568a64e00156186e4c5c0eeab1912f5029b7315ad717e855170447b
|
data/CHANGELOG.md
CHANGED
data/DEVELOPMENT.md
CHANGED
data/README.md
CHANGED
@@ -8,9 +8,9 @@ RSpec::SleepingKingStudios is tested against RSpec 3.3 through 3.7.
|
|
8
8
|
|
9
9
|
Currently, the following versions of Ruby are officially supported:
|
10
10
|
|
11
|
-
* 2.3
|
12
11
|
* 2.4
|
13
12
|
* 2.5
|
13
|
+
* 2.6
|
14
14
|
|
15
15
|
For Ruby 2.0 support, use version 2.1 or earlier: `gem "rspec-sleeping_king_studios", "~> 2.1.1"`.
|
16
16
|
|
@@ -8,14 +8,14 @@ require 'rspec/sleeping_king_studios/matchers/base_matcher'
|
|
8
8
|
module RSpec::SleepingKingStudios::Examples::RSpecMatcherExamples
|
9
9
|
extend RSpec::SleepingKingStudios::Concerns::SharedExampleGroup
|
10
10
|
|
11
|
-
private def
|
11
|
+
private def rspec_config
|
12
12
|
RSpec.configuration.sleeping_king_studios
|
13
|
-
end # method
|
13
|
+
end # method rspec_config
|
14
14
|
|
15
15
|
private def compare_message actual, expected
|
16
16
|
case expected
|
17
17
|
when String
|
18
|
-
if
|
18
|
+
if rspec_config.examples.match_string_failure_message_as == :exact
|
19
19
|
expect(actual).to be == expected
|
20
20
|
else
|
21
21
|
expect(actual).to include expected
|
@@ -34,7 +34,7 @@ module RSpec::SleepingKingStudios::Examples::RSpecMatcherExamples
|
|
34
34
|
end
|
35
35
|
|
36
36
|
private def handle_missing_failure_message message
|
37
|
-
case
|
37
|
+
case rspec_config.examples.handle_missing_failure_message_with
|
38
38
|
when :pending
|
39
39
|
skip message
|
40
40
|
when :exception
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-sleeping_king_studios
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob "Merlin" Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashdiff
|
@@ -281,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
281
|
- !ruby/object:Gem::Version
|
282
282
|
version: '0'
|
283
283
|
requirements: []
|
284
|
-
rubygems_version: 3.0.
|
284
|
+
rubygems_version: 3.0.3
|
285
285
|
signing_key:
|
286
286
|
specification_version: 4
|
287
287
|
summary: A collection of RSpec patches and custom matchers.
|