rspec-expectations 3.13.4 → 3.13.6
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Changelog.md +19 -2
- data/lib/rspec/expectations/version.rb +1 -1
- data/lib/rspec/matchers/built_in/change.rb +2 -2
- data/lib/rspec/matchers/built_in/include.rb +1 -0
- data/lib/rspec/matchers/built_in/respond_to.rb +2 -2
- data/lib/rspec/matchers/multi_matcher_diff.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +23 -22
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ddba94c470a00afd22914d172b114934e424fd5555521f3f27c5065e842e166b
|
|
4
|
+
data.tar.gz: f84761c99dfcd5881a23968dfa14bac2cbcb782600f4426a69c2af080e312c5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8194f0dd8b4d81a328b5b7e76edc67bf5a1f7f6b592e44f81413c5c3b5551b5986df22591d2c7f7df54d758e97c6a9f99b8f934ed89a6f9c27f5a07af54fae01
|
|
7
|
+
data.tar.gz: 94fc2f639fd7a741341266517776ae03a736ff2dd834e52b56327a07ff44922f8f8feb40b49276d34babe9bbb3a3b946acb5cdbb371f718bff525c3ee95da8ed
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
### Development
|
|
2
|
-
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-expectations-v3.13.
|
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-expectations-v3.13.6...3-13-maintenance)
|
|
3
|
+
|
|
4
|
+
### 3.13.6 / 2026-11-06
|
|
5
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-expectations-v3.13.5...rspec-expectations-v3.13.6)
|
|
6
|
+
|
|
7
|
+
Bug Fixes:
|
|
8
|
+
|
|
9
|
+
* Declare unused block arguments to prevent a warning being issued. (Jon Rowe, rspec/rspec#349)
|
|
10
|
+
* Make `include` short circuit when comparing strings to things which can't be co-erced into strings.
|
|
11
|
+
(Don Yin, rspec/rspec#354)
|
|
12
|
+
|
|
13
|
+
### 3.13.5 / 2025-05-27
|
|
14
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-expectations-v3.13.4...rspec-expectations-v3.13.5)
|
|
15
|
+
|
|
16
|
+
Bug Fixes:
|
|
17
|
+
|
|
18
|
+
* Fix links in gemspec to point to the monorepo / homepage.
|
|
3
19
|
|
|
4
20
|
### 3.13.4 / 2025-05-01
|
|
21
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-expectations-v3.13.3...rspec-expectations-v3.13.4)
|
|
5
22
|
|
|
6
23
|
Bug Fixes:
|
|
7
24
|
|
|
@@ -616,7 +633,7 @@ Bug Fixes:
|
|
|
616
633
|
|
|
617
634
|
* Add a missing `require` that would cause the `respond_to` matcher to
|
|
618
635
|
fail when used in a project where the rest of RSpec (e.g. core and
|
|
619
|
-
|
|
636
|
+
expectations) weren't being used. (Myron Marston, rspec/rspec-expectations#566)
|
|
620
637
|
* Structs are no longer treated as arrays when diffed. (Jon Rowe, rspec/rspec-expectations#576)
|
|
621
638
|
|
|
622
639
|
### 3.0.0 / 2014-06-01
|
|
@@ -42,12 +42,12 @@ module RSpec
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# @private
|
|
45
|
-
def matches?(event_proc)
|
|
45
|
+
def matches?(event_proc, &_)
|
|
46
46
|
raise_block_syntax_error if block_given?
|
|
47
47
|
perform_change(event_proc) && change_details.changed?
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
def does_not_match?(event_proc)
|
|
50
|
+
def does_not_match?(event_proc, &_)
|
|
51
51
|
raise_block_syntax_error if block_given?
|
|
52
52
|
perform_change(event_proc) && !change_details.changed?
|
|
53
53
|
end
|
|
@@ -167,6 +167,7 @@ module RSpec
|
|
|
167
167
|
|
|
168
168
|
def actual_collection_includes?(expected_item)
|
|
169
169
|
return actual.scan(expected_item).size > 0 if Regexp === expected_item && String === actual
|
|
170
|
+
return false if String === actual && !expected_item.respond_to?(:to_str, true)
|
|
170
171
|
return true if actual.include?(expected_item)
|
|
171
172
|
|
|
172
173
|
# String lacks an `any?` method...
|
|
@@ -137,7 +137,7 @@ module RSpec
|
|
|
137
137
|
end
|
|
138
138
|
|
|
139
139
|
def with_arity_string
|
|
140
|
-
"#{@expected_arity} argument#{@expected_arity == 1
|
|
140
|
+
"#{@expected_arity} argument#{'s' unless @expected_arity == 1}"
|
|
141
141
|
end
|
|
142
142
|
|
|
143
143
|
def with_keywords_string
|
|
@@ -150,7 +150,7 @@ module RSpec
|
|
|
150
150
|
"#{@expected_keywords[0...-1].map(&:inspect).join(', ')}, and #{@expected_keywords.last.inspect}"
|
|
151
151
|
end
|
|
152
152
|
|
|
153
|
-
"keyword#{@expected_keywords.count == 1
|
|
153
|
+
"keyword#{'s' unless @expected_keywords.count == 1} #{kw_str}"
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
def pp_names
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-expectations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.13.
|
|
4
|
+
version: 3.13.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Baker
|
|
@@ -11,11 +11,11 @@ bindir: bin
|
|
|
11
11
|
cert_chain:
|
|
12
12
|
- |
|
|
13
13
|
-----BEGIN CERTIFICATE-----
|
|
14
|
-
|
|
14
|
+
MIIFvjCCA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+
J+BjZWURsUfFOob+xnUe8AMSbv9gupckfVehZoBzOvJDaWcALo8GKjJlmVtzEIqZ
|
|
36
|
+
TvBLO5zQwR4cWIrg0NWjkDOSQOrNNQ2Degv/aOFrR8dFPJSgxZG/IC0/t6s72cEt
|
|
37
|
+
V4SIe/NLIU4RyBzfgn/RBsalDEF1yIVlDWspMa78clS3bPmntkNyfLwIUwINDHhn
|
|
38
|
+
swFA8bEKMQWqRlupuRmEiy3nGe6az46YlPXzK5UWfXJ6Lb1wIE8W80TRx0HpSC7j
|
|
39
|
+
JfXPfQ0PLgiU4nnQqain2bIn96Ooco8kspeqp8rSJ8sbaMPTNmcFuwD3gzWsRnJ3
|
|
40
|
+
rIaJbmrUcq6DlJ7jfv3u5TPt4JWzDP7oDPf3nXNiF2Cn48Ne598G5lHH6Heyxe39
|
|
41
|
+
pYZdhEptKJWPHxbJWHXD02omKprkNuQKHpnXrW+mmbiO4IcqAMggiud+DaEQg20x
|
|
42
|
+
Dae4cNbvK5p3D+5xqvcEO2G4uCMDmJjrSd61kvTLBnm1qroHqrpi9GauEVWZZmD0
|
|
43
|
+
n0ph8oFAXOsKQWxZ+4uh6yGISk+WhngCZEVPZUjq7SIGAuVhQy2ZgwdjnLEz//lD
|
|
44
|
+
x0Qexp5yGeoxAL9qKM/RXYKtuRZBJV1z+L9A1YOtwaXXNg==
|
|
45
45
|
-----END CERTIFICATE-----
|
|
46
|
-
date:
|
|
46
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
47
47
|
dependencies:
|
|
48
48
|
- !ruby/object:Gem::Dependency
|
|
49
49
|
name: rspec-support
|
|
@@ -140,15 +140,16 @@ files:
|
|
|
140
140
|
- lib/rspec/matchers/matcher_delegator.rb
|
|
141
141
|
- lib/rspec/matchers/matcher_protocol.rb
|
|
142
142
|
- lib/rspec/matchers/multi_matcher_diff.rb
|
|
143
|
-
homepage: https://
|
|
143
|
+
homepage: https://rspec.info
|
|
144
144
|
licenses:
|
|
145
145
|
- MIT
|
|
146
146
|
metadata:
|
|
147
|
-
bug_tracker_uri: https://github.com/rspec/rspec
|
|
148
|
-
changelog_uri: https://github.com/rspec/rspec
|
|
147
|
+
bug_tracker_uri: https://github.com/rspec/rspec/issues
|
|
148
|
+
changelog_uri: https://github.com/rspec/rspec/blob/rspec-expectations-v3.13.6/rspec-expectations/Changelog.md
|
|
149
149
|
documentation_uri: https://rspec.info/documentation/
|
|
150
150
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
|
151
|
-
|
|
151
|
+
rubygems_mfa_required: 'true'
|
|
152
|
+
source_code_uri: https://github.com/rspec/rspec/blob/rspec-expectations-v3.13.6/rspec-expectations
|
|
152
153
|
rdoc_options:
|
|
153
154
|
- "--charset=UTF-8"
|
|
154
155
|
require_paths:
|
|
@@ -164,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
164
165
|
- !ruby/object:Gem::Version
|
|
165
166
|
version: '0'
|
|
166
167
|
requirements: []
|
|
167
|
-
rubygems_version:
|
|
168
|
+
rubygems_version: 4.0.20
|
|
168
169
|
specification_version: 4
|
|
169
|
-
summary: rspec-expectations-3.13.
|
|
170
|
+
summary: rspec-expectations-3.13.6
|
|
170
171
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|