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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d6465ea6862f4d0ef55110b6f3c3c9496c2b6bd19c348e4dac7506abe92f588
4
- data.tar.gz: eaf4c6a82408c91d3d379dcb388354d1484ceb2847256caf11c8016144766305
3
+ metadata.gz: df5f0cc9f39c7b8143bdf25e4b257a2ece85d0ce3b132d4a37b3cc569d6ef94e
4
+ data.tar.gz: 30ae99bd407c4e45996ddfa971ee376e8f3521a026ce4fe6af0e4cb8ec452f60
5
5
  SHA512:
6
- metadata.gz: 32441ae9709dfd5ce5bc535d1bb1b5daabe13de1b179ae8a9d6fe5a9d4ce13f75ef34d7d6a824bd4bbb01d3814604ce400527bf4118ddfc7ebb6a6debf9d46ec
7
- data.tar.gz: 352b3c15cb7bc14b58e50da95edeb068c08bb6b8c2a36c131ae90a19c750d20d20ad3b1fc0a36c379a88fd5503cfbe7b68be22157a192021e51749a197d80d19
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.6...3-13-maintenance)
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 then return 0
83
- when :to_a, :to_ary then return nil
84
- when :to_str then return to_s
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
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec mocks.
4
4
  module Version
5
5
  # Version of RSpec mocks currently in use in SemVer format.
6
- STRING = '3.13.6'
6
+ STRING = '3.13.7'
7
7
  end
8
8
  end
9
9
  end
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.6
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.6/rspec-mocks/Changelog.md
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.6/rspec-mocks
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.7
159
+ rubygems_version: 3.6.9
160
160
  specification_version: 4
161
- summary: rspec-mocks-3.13.6
161
+ summary: rspec-mocks-3.13.7
162
162
  test_files: []
metadata.gz.sig CHANGED
Binary file