rspec-mocks 3.13.6 → 3.13.7
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 +8 -1
- data/lib/rspec/mocks/test_double.rb +4 -3
- data/lib/rspec/mocks/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- 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: df5f0cc9f39c7b8143bdf25e4b257a2ece85d0ce3b132d4a37b3cc569d6ef94e
|
|
4
|
+
data.tar.gz: 30ae99bd407c4e45996ddfa971ee376e8f3521a026ce4fe6af0e4cb8ec452f60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd2282442579d7e2a393ed94cd23161d671f9135996db2553f4714c8727ef7f2bf7fdd4be4cf4d6db44328a0434c71474633fbe108fb3b0c715d2d028749563c
|
|
7
|
+
data.tar.gz: 7cc97b1522fd69ae712a23c21953e165db5790ccc6dbdab3f06b66384bd485af31f4dfb7553fb9f2ee0ac877112ecf4d8194a8f3079a352f994a38a519e5508c
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
### Development
|
|
2
|
-
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.
|
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.7...3-13-maintenance)
|
|
3
|
+
|
|
4
|
+
### 3.13.7 / 2025-10-31
|
|
5
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.6...rspec-mocks-v3.13.7)
|
|
6
|
+
|
|
7
|
+
Bug Fixes:
|
|
8
|
+
|
|
9
|
+
* Special case `to_h`, `to_hash` responses on null objects, prevents an issue with Rails. (Jon Rowe, rspec/rspec#275)
|
|
3
10
|
|
|
4
11
|
### 3.13.6 / 2025-10-14
|
|
5
12
|
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.5...rspec-mocks-v3.13.6)
|
|
@@ -79,9 +79,10 @@ module RSpec
|
|
|
79
79
|
|
|
80
80
|
if proxy.null_object?
|
|
81
81
|
case message
|
|
82
|
-
when :to_int
|
|
83
|
-
when :to_a, :to_ary
|
|
84
|
-
when :
|
|
82
|
+
when :to_int then return 0
|
|
83
|
+
when :to_a, :to_ary then return nil
|
|
84
|
+
when :to_h, :to_hash then return {}
|
|
85
|
+
when :to_str then return to_s
|
|
85
86
|
else return self
|
|
86
87
|
end
|
|
87
88
|
end
|
data/lib/rspec/mocks/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-mocks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.13.
|
|
4
|
+
version: 3.13.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Baker
|
|
@@ -136,11 +136,11 @@ licenses:
|
|
|
136
136
|
- MIT
|
|
137
137
|
metadata:
|
|
138
138
|
bug_tracker_uri: https://github.com/rspec/rspec/issues
|
|
139
|
-
changelog_uri: https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.
|
|
139
|
+
changelog_uri: https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.7/rspec-mocks/Changelog.md
|
|
140
140
|
documentation_uri: https://rspec.info/documentation/
|
|
141
141
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
|
142
142
|
rubygems_mfa_required: 'true'
|
|
143
|
-
source_code_uri: https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.
|
|
143
|
+
source_code_uri: https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.7/rspec-mocks
|
|
144
144
|
rdoc_options:
|
|
145
145
|
- "--charset=UTF-8"
|
|
146
146
|
require_paths:
|
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
156
156
|
- !ruby/object:Gem::Version
|
|
157
157
|
version: '0'
|
|
158
158
|
requirements: []
|
|
159
|
-
rubygems_version: 3.6.
|
|
159
|
+
rubygems_version: 3.6.9
|
|
160
160
|
specification_version: 4
|
|
161
|
-
summary: rspec-mocks-3.13.
|
|
161
|
+
summary: rspec-mocks-3.13.7
|
|
162
162
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|