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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9b9cff474708f14d646864eca6d2452f267f1ec541a66ddb167d634530814db
4
- data.tar.gz: 6ef5d9ca5dbeb43c58eba840cb265806f6a3a5e105c0d80b78d49374678c6169
3
+ metadata.gz: '096c6d91e990581772d795cedab4356ac8b07f84712d2a52e61fd715d47bfbc2'
4
+ data.tar.gz: b2f7d0d162e1678be6a8ed0886ec1a9670321bbe64abc6a4f58a30b58e479725
5
5
  SHA512:
6
- metadata.gz: 285c2e1dbe416b5fdbc062e94801910779491be74ba66afd719aea70eb993b70c8e212aac2c7dd3c3b46adb96dfe869c020874bef5f30e778a67eb1a9319487f
7
- data.tar.gz: 0eef00cccae2e22978f24fe26ea74ee682dfe2175e8b350ea3804b82c8fc1b078ed43f558177420731125f5fd3631a5d757d7cd0753aee159cb12a97610aa00e
6
+ metadata.gz: c6bd478d39bd8ec15b23b12440ca82b839e652376cfb761b2fa56c1e6228c6ebfd0658156bc886c5ab58a31547801dc581e732be98392280f913beb240ee4b49
7
+ data.tar.gz: ccc88ee28086629ab456961cdc746a8647c0c285d1d0e1734000abae8ece56532324f36e9568a64e00156186e4c5c0eeab1912f5029b7315ad717e855170447b
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.5.1
4
+
5
+ Fixed a compatibility issue with Rails 6 configuration objects.
6
+
3
7
  ## 2.5.0
4
8
 
5
9
  Added support for Ruby 2.6, dropped support for Ruby 2.3.
@@ -1,11 +1,5 @@
1
1
  # Development Notes
2
2
 
3
- ## Version 2.5
4
-
5
- ### Maintenance
6
-
7
- - Refactor all macro specs from spec/rspec/sleeping_king_studios/matchers/macros to the directories corresponding to the source files.
8
-
9
3
  ## Version 2.6
10
4
 
11
5
  ### Features - Matchers
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 config
11
+ private def rspec_config
12
12
  RSpec.configuration.sleeping_king_studios
13
- end # method config
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 config.examples.match_string_failure_message_as == :exact
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 config.examples.handle_missing_failure_message_with
37
+ case rspec_config.examples.handle_missing_failure_message_with
38
38
  when :pending
39
39
  skip message
40
40
  when :exception
@@ -13,7 +13,7 @@ module RSpec
13
13
  # Minor version.
14
14
  MINOR = 5
15
15
  # Patch version.
16
- PATCH = 0
16
+ PATCH = 1
17
17
  # Prerelease version.
18
18
  PRERELEASE = nil
19
19
  # Build metadata.
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.0
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-02-11 00:00:00.000000000 Z
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.1
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.