rspec-mocks 3.13.4 → 3.13.5

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: 70aeeb12e29656230a9a1eb6a7d5021d7dce9d6bbb548436eddfb13743ac27cd
4
- data.tar.gz: e902f36538ed12570a3b2f023f06b29731aa24c1304b3b3b1dc20467f36f9a86
3
+ metadata.gz: 1ec56fe2f767262115b40aed338c0efccd4aa244cb5ce913e411a9952ec361fe
4
+ data.tar.gz: 744db38397a2f425482391df2f6a230396a4d67bbf52f42c383d57862d8415b1
5
5
  SHA512:
6
- metadata.gz: 5273cf8c51575510fb8481c2179b7681bb70bae00f9a014339fe96316ba19c91a39531adef23b066d06d461e25c4749d13813197cabece3130f26c22ce36a1e2
7
- data.tar.gz: 69a316cce8b839cedd41441b18546a752b435c05930d197c3433be5506cdf42748a524031f7fc701610e4dfc21be1dc9ab9cb4a669df7d3032038281a24921e8
6
+ metadata.gz: 2813849f49563f48798d2e84f0139875eb1840d79ca6f295b30182d7c501047c2ab33463fb93f3eca31b31b6e861d8497b810a632fbb1461f63caf5ed338903d
7
+ data.tar.gz: f3ab9c0db0a688dce4ae84e4e2ed8f31980bcbec6bb98acc9889bcf6ac3d4e1707e6146b22e4889a348aba4ec602f97e9f1342967154ee452ea4a0f41ea008bd
checksums.yaml.gz.sig CHANGED
Binary file
data/Changelog.md CHANGED
@@ -1,8 +1,17 @@
1
1
  ### Development
2
- [Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.4...3-13-maintenance)
2
+ [Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.5...3-13-maintenance)
3
+
4
+ ### 3.13.5 / 2025-05-27
5
+ [Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.4...rspec-mocks-v3.13.5)
6
+
7
+ Bug Fixes:
8
+
9
+ * Fix regression where a previous fix (rspec/rspec#214) would leave behind thread data
10
+ between tests. (Jon Rowe, rspec/rspec#219)
11
+ * Fix links in gemspec to point to monorepo / homepage. (Jon Rowe)
3
12
 
4
13
  ### 3.13.4 / 2025-05-05
5
- [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.13.3...v3.13.4)
14
+ [Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.3...rspec-mocks-v3.13.4)
6
15
 
7
16
  Bug Fixes:
8
17
 
@@ -12,7 +21,7 @@ Bug Fixes:
12
21
  method calls. (Jon Rowe, rspec/rspec#214)
13
22
 
14
23
  ### 3.13.3 / 2025-05-01
15
- [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.13.2...v3.13.3)
24
+ [Full Changelog](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.2...rspec-mocks-v3.13.3)
16
25
 
17
26
  Bug Fixes:
18
27
 
@@ -620,7 +620,14 @@ module RSpec
620
620
  end
621
621
 
622
622
  def invoking_internals=(value)
623
- RSpec::Support.thread_local_data[:"__rspec_#{object_id}_invoking_internals"] = value
623
+ # We clear the key for this rather than setting to false because otherwise the amount of
624
+ # thread local data will keep growing over the lifetime of the thread (which is a long
625
+ # time on a single threaded spec run e.g standard MRI)
626
+ if value
627
+ RSpec::Support.thread_local_data[:"__rspec_#{object_id}_invoking_internals"] = true
628
+ else
629
+ RSpec::Support.thread_local_data.delete(:"__rspec_#{object_id}_invoking_internals")
630
+ end
624
631
  end
625
632
 
626
633
  def invoke_incrementing_actual_calls_by(increment, allowed_to_fail, parent_stub, *args, &block)
@@ -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.4'
6
+ STRING = '3.13.5'
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.4
4
+ version: 3.13.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
@@ -43,7 +43,7 @@ cert_chain:
43
43
  AwP+qZPPf97FXXZGEGIYhhHpnj+Ltx9nCetRPiZ4rvYBcXgCWVQSg6eiEofrMwn/
44
44
  AKMCABhZ1Y2eATsfMgdkmIZk7JIPZiSi6eUxPiCMP9M/pw==
45
45
  -----END CERTIFICATE-----
46
- date: 2025-05-05 00:00:00.000000000 Z
46
+ date: 1980-01-02 00:00:00.000000000 Z
47
47
  dependencies:
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rspec-support
@@ -131,16 +131,16 @@ files:
131
131
  - lib/rspec/mocks/verifying_message_expectation.rb
132
132
  - lib/rspec/mocks/verifying_proxy.rb
133
133
  - lib/rspec/mocks/version.rb
134
- homepage: https://github.com/rspec/rspec-mocks
134
+ homepage: https://rspec.info
135
135
  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.4/rspec-mocks/Changelog.md
139
+ changelog_uri: https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.5/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.4/rspec-mocks
143
+ source_code_uri: https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.5/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.2
159
+ rubygems_version: 3.6.7
160
160
  specification_version: 4
161
- summary: rspec-mocks-3.13.4
161
+ summary: rspec-mocks-3.13.5
162
162
  test_files: []
metadata.gz.sig CHANGED
Binary file