rspec-support 3.10.1 → 3.10.2
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.tar.gz.sig +0 -0
- data/Changelog.md +8 -0
- data/README.md +1 -1
- data/lib/rspec/support.rb +6 -1
- data/lib/rspec/support/spec.rb +2 -2
- data/lib/rspec/support/spec/shell_out.rb +1 -1
- data/lib/rspec/support/version.rb +1 -1
- 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: f7b30f3003419ac0253a0804a457ff3d9fc97309c7eafb345aa9e94e379352d8
|
4
|
+
data.tar.gz: fbacd747f72cb8bc4e06af5559e48150065d0a32580c73744dcc2355c2f6aa9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb71f6ad88d243a87719fb8aa5f7ba383f090920d8bb3df0b2da859d07d99fc9e3641f92ef6b94ee68d216b7056667406bd216256c35a8db72a62bd6f81d993c
|
7
|
+
data.tar.gz: 07eae42126cc684e1c925bed6a19c1137522a7e5a694ed16cae8162fa166737d9266d3d22f32088789f062e4892f4203aa996c0d1c0dc11efe927c0e34188085
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
### 3.10.2 / 2021-01-28
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.1...v3.10.2)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Fix issue with `RSpec::Support.define_optimized_require_for_rspec` on JRuby
|
7
|
+
9.1.17.0 (Jon Rowe, #492)
|
8
|
+
|
1
9
|
### 3.10.1 / 2020-12-27
|
2
10
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.0...v3.10.1)
|
3
11
|
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# RSpec::Support
|
1
|
+
# RSpec::Support [](https://github.com/rspec/rspec-support/actions)
|
2
2
|
|
3
3
|
`RSpec::Support` provides common functionality to `RSpec::Core`,
|
4
4
|
`RSpec::Expectations` and `RSpec::Mocks`. It is considered
|
data/lib/rspec/support.rb
CHANGED
@@ -14,7 +14,12 @@ module RSpec
|
|
14
14
|
def self.define_optimized_require_for_rspec(lib, &require_relative)
|
15
15
|
name = "require_rspec_#{lib}"
|
16
16
|
|
17
|
-
if Kernel.respond_to?(:
|
17
|
+
if RUBY_PLATFORM == 'java' && !Kernel.respond_to?(:require)
|
18
|
+
# JRuby 9.1.17.0 has developed a regression for require
|
19
|
+
(class << self; self; end).__send__(:define_method, name) do |f|
|
20
|
+
Kernel.send(:require, "rspec/#{lib}/#{f}")
|
21
|
+
end
|
22
|
+
elsif Kernel.respond_to?(:require_relative)
|
18
23
|
(class << self; self; end).__send__(:define_method, name) do |f|
|
19
24
|
require_relative.call("#{lib}/#{f}")
|
20
25
|
end
|
data/lib/rspec/support/spec.rb
CHANGED
@@ -65,8 +65,8 @@ module RSpec
|
|
65
65
|
|
66
66
|
def self.start_simplecov(&block)
|
67
67
|
SimpleCov.start do
|
68
|
-
add_filter "
|
69
|
-
add_filter "
|
68
|
+
add_filter "bundle/"
|
69
|
+
add_filter "tmp/"
|
70
70
|
add_filter do |source_file|
|
71
71
|
# Filter out `spec` directory except when it is under `lib`
|
72
72
|
# (as is the case in rspec-support)
|
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.10.
|
4
|
+
version: 3.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chelimsky
|
@@ -48,7 +48,7 @@ cert_chain:
|
|
48
48
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
49
49
|
F3MdtaDehhjC
|
50
50
|
-----END CERTIFICATE-----
|
51
|
-
date:
|
51
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
52
52
|
dependencies:
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rake
|
@@ -125,7 +125,7 @@ licenses:
|
|
125
125
|
- MIT
|
126
126
|
metadata:
|
127
127
|
bug_tracker_uri: https://github.com/rspec/rspec-support/issues
|
128
|
-
changelog_uri: https://github.com/rspec/rspec-support/blob/v3.10.
|
128
|
+
changelog_uri: https://github.com/rspec/rspec-support/blob/v3.10.2/Changelog.md
|
129
129
|
documentation_uri: https://rspec.info/documentation/
|
130
130
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
131
131
|
source_code_uri: https://github.com/rspec/rspec-support
|
@@ -145,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.2.
|
148
|
+
rubygems_version: 3.2.4
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
|
-
summary: rspec-support-3.10.
|
151
|
+
summary: rspec-support-3.10.2
|
152
152
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|