You need to sign in or sign up before continuing.
rspec-support 3.13.7 → 3.13.8
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 +12 -2
- data/lib/rspec/support/ruby_features.rb +2 -2
- data/lib/rspec/support/spec/warnings.rb +31 -0
- data/lib/rspec/support/spec.rb +1 -0
- data/lib/rspec/support/version.rb +1 -1
- data/lib/rspec/support.rb +11 -1
- data.tar.gz.sig +0 -0
- metadata +20 -19
- 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: e7790e455c3e15e1f80ececfdf85d2b7de6e1592fdf21417e52706a67d9162b9
|
|
4
|
+
data.tar.gz: 370eb09bcb1ceac6e8f4e55afcae7149f08e3ef931ed2b12651c7e26969b77e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d9c9d57cd1bc1645fd98541c121925ccd0662bf4b3f55ab885ae67b5c1016eaa08ee72b2ac53b9cfb9b9aaac9cd6a5c591246ef16a149fb36a60ff3d9ad7928
|
|
7
|
+
data.tar.gz: 22a09575404dd69ba9aa1a7a16ee79d9b8c5f2ef8f4cdc08ead28100daa9418fc6b5ef540d87fea6635de019ad0d441e88bf5076437b37ab0e1ed26e215262b6
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
### Development
|
|
2
|
-
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-support-v3.13.
|
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-support-v3.13.8...3-13-maintenance)
|
|
3
|
+
|
|
4
|
+
### 3.13.8 / 2026-11-06
|
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.7...rspec-support-v3.13.8)
|
|
6
|
+
|
|
7
|
+
Bug Fixes:
|
|
8
|
+
|
|
9
|
+
* Always return a boolean from `RSpec::Support::Ruby.rbx?` and
|
|
10
|
+
`RSpec::Support::Ruby.truffleruby?` (Phil Pirozhkov, rspec/rspec-support#486)
|
|
11
|
+
* Switch current thread data to alias/accessors to avoid issues with mocked systems.
|
|
12
|
+
(Samuel Williams, Jon Rowe, rspec/rspec#99)
|
|
3
13
|
|
|
4
14
|
### 3.13.7 / 2026-01-28
|
|
5
15
|
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.6...rspec-support-v3.13.7)
|
|
@@ -37,7 +47,7 @@ Bug Fixes:
|
|
|
37
47
|
|
|
38
48
|
Bug Fixes:
|
|
39
49
|
|
|
40
|
-
* Support for changes in diff-lcs and Ruby 3.4 in spec helpers. (Jon Rowe, #164 etc)
|
|
50
|
+
* Support for changes in diff-lcs and Ruby 3.4 in spec helpers. (Jon Rowe, rspec/rspec#164 etc)
|
|
41
51
|
|
|
42
52
|
### 3.13.2 / 2024-12-02
|
|
43
53
|
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.1...rspec-support-v3.13.2)
|
|
@@ -39,7 +39,7 @@ module RSpec
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def rbx?
|
|
42
|
-
defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
|
|
42
|
+
!!defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
def non_mri?
|
|
@@ -51,7 +51,7 @@ module RSpec
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
def truffleruby?
|
|
54
|
-
defined?(RUBY_ENGINE) && RUBY_ENGINE == 'truffleruby'
|
|
54
|
+
!!defined?(RUBY_ENGINE) && RUBY_ENGINE == 'truffleruby'
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
RSpec::Support.require_rspec_support "ruby_features"
|
|
4
|
+
|
|
5
|
+
module RSpec
|
|
6
|
+
module Support
|
|
7
|
+
module Spec
|
|
8
|
+
module Warnings
|
|
9
|
+
if RUBY_VERSION.to_f > 2.6
|
|
10
|
+
SUPPORTED_WARNINGS =
|
|
11
|
+
[
|
|
12
|
+
:deprecated,
|
|
13
|
+
:experimental
|
|
14
|
+
]
|
|
15
|
+
SUPPORTED_WARNINGS << :strict_unused_block if RUBY_VERSION.to_f >= 3.4 && !RSpec::Support::Ruby.jruby?
|
|
16
|
+
SUPPORTED_WARNINGS.freeze
|
|
17
|
+
|
|
18
|
+
def self.setup
|
|
19
|
+
SUPPORTED_WARNINGS.each do |flag|
|
|
20
|
+
Warning[flag] = true
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
else
|
|
24
|
+
def self.setup
|
|
25
|
+
# Skip this check on Ruby 2.6 and below
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
data/lib/rspec/support/spec.rb
CHANGED
|
@@ -8,6 +8,7 @@ RSpec::Support.require_rspec_support "spec/diff_helpers"
|
|
|
8
8
|
RSpec::Support.require_rspec_support "spec/with_isolated_stderr"
|
|
9
9
|
RSpec::Support.require_rspec_support "spec/stderr_splitter"
|
|
10
10
|
RSpec::Support.require_rspec_support "spec/formatting_support"
|
|
11
|
+
RSpec::Support.require_rspec_support "spec/warnings"
|
|
11
12
|
RSpec::Support.require_rspec_support "spec/with_isolated_directory"
|
|
12
13
|
RSpec::Support.require_rspec_support "ruby_features"
|
|
13
14
|
|
data/lib/rspec/support.rb
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
if RUBY_VERSION.to_f >= 2
|
|
4
|
+
class Thread
|
|
5
|
+
attr_accessor :__rspec_local_data
|
|
6
|
+
|
|
7
|
+
class << self
|
|
8
|
+
alias __rspec_current_thread current
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
|
|
3
13
|
module RSpec
|
|
4
14
|
module Support
|
|
5
15
|
# @api private
|
|
@@ -93,7 +103,7 @@ module RSpec
|
|
|
93
103
|
# A single thread local variable so we don't excessively pollute that namespace.
|
|
94
104
|
if RUBY_VERSION.to_f >= 2
|
|
95
105
|
def self.thread_local_data
|
|
96
|
-
Thread.
|
|
106
|
+
Thread.__rspec_current_thread.__rspec_local_data ||= {}
|
|
97
107
|
end
|
|
98
108
|
else
|
|
99
109
|
def self.thread_local_data
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-support
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.13.
|
|
4
|
+
version: 3.13.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Chelimsky
|
|
@@ -14,11 +14,11 @@ bindir: bin
|
|
|
14
14
|
cert_chain:
|
|
15
15
|
- |
|
|
16
16
|
-----BEGIN CERTIFICATE-----
|
|
17
|
-
|
|
17
|
+
MIIFvjCCA6agAwIBAgIJAPXjfUbCjdXWMA0GCSqGSIb3DQEBCwUAMIGAMQswCQYD
|
|
18
18
|
VQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEO
|
|
19
19
|
MAwGA1UECgwFUlNwZWMxEzARBgNVBAMMCnJzcGVjLmluZm8xJTAjBgkqhkiG9w0B
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
CQEWFnJzcGVjQGdvb2dsZWdyb3Vwcy5jb20wHhcNMjYwMjE3M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
|
42
|
+
JfXPfQ0PLgiU4nnQqain2bIn96Ooco8kspeqp8rSJ8sbaMPTNmcFuwD3gzWsRnJ3
|
|
43
|
+
rIaJbmrUcq6DlJ7jfv3u5TPt4JWzDP7oDPf3nXNiF2Cn48Ne598G5lHH6Heyxe39
|
|
44
|
+
pYZdhEptKJWPHxbJWHXD02omKprkNuQKHpnXrW+mmbiO4IcqAMggiud+DaEQg20x
|
|
45
|
+
Dae4cNbvK5p3D+5xqvcEO2G4uCMDmJjrSd61kvTLBnm1qroHqrpi9GauEVWZZmD0
|
|
46
|
+
n0ph8oFAXOsKQWxZ+4uh6yGISk+WhngCZEVPZUjq7SIGAuVhQy2ZgwdjnLEz//lD
|
|
47
|
+
x0Qexp5yGeoxAL9qKM/RXYKtuRZBJV1z+L9A1YOtwaXXNg==
|
|
48
48
|
-----END CERTIFICATE-----
|
|
49
49
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
50
50
|
dependencies:
|
|
@@ -113,6 +113,7 @@ files:
|
|
|
113
113
|
- lib/rspec/support/spec/shell_out.rb
|
|
114
114
|
- lib/rspec/support/spec/stderr_splitter.rb
|
|
115
115
|
- lib/rspec/support/spec/string_matcher.rb
|
|
116
|
+
- lib/rspec/support/spec/warnings.rb
|
|
116
117
|
- lib/rspec/support/spec/with_isolated_directory.rb
|
|
117
118
|
- lib/rspec/support/spec/with_isolated_stderr.rb
|
|
118
119
|
- lib/rspec/support/version.rb
|
|
@@ -123,11 +124,11 @@ licenses:
|
|
|
123
124
|
- MIT
|
|
124
125
|
metadata:
|
|
125
126
|
bug_tracker_uri: https://github.com/rspec/rspec/issues
|
|
126
|
-
changelog_uri: https://github.com/rspec/rspec/blob/rspec-support-v3.13.
|
|
127
|
+
changelog_uri: https://github.com/rspec/rspec/blob/rspec-support-v3.13.8/rspec-support/Changelog.md
|
|
127
128
|
documentation_uri: https://rspec.info/documentation/
|
|
128
129
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
|
129
130
|
rubygems_mfa_required: 'true'
|
|
130
|
-
source_code_uri: https://github.com/rspec/rspec/blob/rspec-support-v3.13.
|
|
131
|
+
source_code_uri: https://github.com/rspec/rspec/blob/rspec-support-v3.13.8/rspec-support
|
|
131
132
|
rdoc_options:
|
|
132
133
|
- "--charset=UTF-8"
|
|
133
134
|
require_paths:
|
|
@@ -143,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
143
144
|
- !ruby/object:Gem::Version
|
|
144
145
|
version: '0'
|
|
145
146
|
requirements: []
|
|
146
|
-
rubygems_version: 4.0.
|
|
147
|
+
rubygems_version: 4.0.20
|
|
147
148
|
specification_version: 4
|
|
148
|
-
summary: rspec-support-3.13.
|
|
149
|
+
summary: rspec-support-3.13.8
|
|
149
150
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|