rspec-support 3.13.2 → 3.13.3
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 +70 -65
- data/lib/rspec/support/object_formatter.rb +2 -0
- data/lib/rspec/support/spec/diff_helpers.rb +14 -2
- data/lib/rspec/support/spec/shell_out.rb +2 -0
- data/lib/rspec/support/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +23 -26
- 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: 5352b468c683398f3df4726443e702acbdd18a1eab9d610c0c5ec6ec663f4812
|
4
|
+
data.tar.gz: 6431ce037ba57b48938634504607102d737d8b8c38a7440f5372e9e0ee94b68b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89fbe02b7800b635bf9008f4062896d102ccbbe0a6ec50bcdc72041bfd6a8f1b7f6800efd1a7bd496daa9a6872c4a73f285d054a653ae08db32f6b86ffce71ee
|
7
|
+
data.tar.gz: a9267d3cb8ff4034e0301ed1c119babca5f2c4f3ba5fa7e86639d87b8b9baeca1cfd83890a4ea9f7d1a965dab255fc0cf1a99a079c9e8206c0e665829f11227c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,13 +1,18 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-support-v3.13.2...3-13-maintenance)
|
3
3
|
|
4
|
-
### 3.13.
|
5
|
-
[Full Changelog](http://github.com/rspec/rspec
|
4
|
+
### 3.13.3 / 2025-04-30
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.2...rspec-support-v3.13.3)
|
6
6
|
|
7
7
|
Bug Fixes:
|
8
8
|
|
9
|
-
*
|
10
|
-
|
9
|
+
* Support for changes in diff-lcs and Ruby 3.4 in spec helpers. (Jon Rowe, #164 etc)
|
10
|
+
|
11
|
+
### 3.13.2 / 2024-12-02
|
12
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.1...rspec-support-v3.13.2)
|
13
|
+
|
14
|
+
No changes. Released during the monorepo migration to test release processes, but accidentally
|
15
|
+
contained no changes.
|
11
16
|
|
12
17
|
### 3.13.1 / 2024-02-23
|
13
18
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.13.0...v3.13.1)
|
@@ -15,27 +20,27 @@ Bug Fixes:
|
|
15
20
|
Bug Fixes:
|
16
21
|
|
17
22
|
* Exclude ruby internal require warnings from `RSpec::Support::CallerFilter#first_non_rspec_line`.
|
18
|
-
(Jon Rowe, #593)
|
23
|
+
(Jon Rowe, rspec/rspec-support#593)
|
19
24
|
|
20
25
|
### 3.13.0 / 2024-02-04
|
21
26
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.2...v3.13.0)
|
22
27
|
|
23
28
|
Enchancements
|
24
29
|
|
25
|
-
* Add `RubyFeatures#supports_syntax_suggest?`. (Jon Rowe, #571)
|
30
|
+
* Add `RubyFeatures#supports_syntax_suggest?`. (Jon Rowe, rspec/rspec-support#571)
|
26
31
|
|
27
32
|
Bug Fixes:
|
28
33
|
|
29
34
|
* Allow string keys for keyword arguments during verification of method
|
30
|
-
signatures, (but only on Ruby 3+). (@malcolmohare, #591)
|
35
|
+
signatures, (but only on Ruby 3+). (@malcolmohare, rspec/rspec-support#591)
|
31
36
|
|
32
37
|
### 3.12.2 / 2024-02-04
|
33
38
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.1...v3.12.2)
|
34
39
|
|
35
40
|
Bug Fixes:
|
36
41
|
|
37
|
-
* Properly surface errors from `in_sub_process`. (Jon Rowe, #575)
|
38
|
-
* Add magic comment for freezing string literals. (Josh Nichols, #586)
|
42
|
+
* Properly surface errors from `in_sub_process`. (Jon Rowe, rspec/rspec-support#575)
|
43
|
+
* Add magic comment for freezing string literals. (Josh Nichols, rspec/rspec-support#586)
|
39
44
|
|
40
45
|
### 3.12.1 / 2023-06-26
|
41
46
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.0...v3.12.1)
|
@@ -43,21 +48,21 @@ Bug Fixes:
|
|
43
48
|
Bug Fixes:
|
44
49
|
|
45
50
|
* Fix `RSpec::Support.thread_local_data` to be Thread local but not Fiber local.
|
46
|
-
(Jon Rowe, #581)
|
51
|
+
(Jon Rowe, rspec/rspec-support#581)
|
47
52
|
|
48
53
|
### 3.12.0 / 2022-10-26
|
49
54
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.11.1...v3.12.0)
|
50
55
|
Enhancements:
|
51
56
|
|
52
57
|
* Add `RSpec::Support::RubyFeatures.distincts_kw_args_from_positional_hash?`
|
53
|
-
(Jean byroot Boussier, #535)
|
58
|
+
(Jean byroot Boussier, rspec/rspec-support#535)
|
54
59
|
|
55
60
|
### 3.11.1 / 2022-09-12
|
56
61
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.11.0...v3.11.1)
|
57
62
|
|
58
63
|
Bug Fixes:
|
59
64
|
|
60
|
-
* Fix ripper detection on TruffleRuby. (Brandon Fish, #541)
|
65
|
+
* Fix ripper detection on TruffleRuby. (Brandon Fish, rspec/rspec-support#541)
|
61
66
|
|
62
67
|
### 3.11.0 / 2022-02-09
|
63
68
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.3...v3.11.0)
|
@@ -70,9 +75,9 @@ No changes. Released to support other RSpec releases.
|
|
70
75
|
Bug Fixes:
|
71
76
|
|
72
77
|
* Use `Mutex#owned?` to allow `RSpec::Support::ReentrantMutex` to work in
|
73
|
-
nested Fibers on Ruby 3.0 and later. (Benoit Daloze, #503, #504)
|
78
|
+
nested Fibers on Ruby 3.0 and later. (Benoit Daloze, rspec/rspec-support#503, rspec/rspec-support#504)
|
74
79
|
* Support `end`-less methods in `RSpec::Support::Source::Token`
|
75
|
-
so that RSpec won't hang when an `end`-less method raises an error. (Yuji Nakayama, #505)
|
80
|
+
so that RSpec won't hang when an `end`-less method raises an error. (Yuji Nakayama, rspec/rspec-support#505)
|
76
81
|
|
77
82
|
### 3.10.2 / 2021-01-28
|
78
83
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.1...v3.10.2)
|
@@ -80,7 +85,7 @@ Bug Fixes:
|
|
80
85
|
Bug Fixes:
|
81
86
|
|
82
87
|
* Fix issue with `RSpec::Support.define_optimized_require_for_rspec` on JRuby
|
83
|
-
9.1.17.0 (Jon Rowe, #492)
|
88
|
+
9.1.17.0 (Jon Rowe, rspec/rspec-support#492)
|
84
89
|
|
85
90
|
### 3.10.1 / 2020-12-27
|
86
91
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.0...v3.10.1)
|
@@ -88,7 +93,7 @@ Bug Fixes:
|
|
88
93
|
Bug Fixes:
|
89
94
|
|
90
95
|
* Fix deprecation expectations to fail correctly when
|
91
|
-
asserting on messages. (Phil Pirozhkov, #453)
|
96
|
+
asserting on messages. (Phil Pirozhkov, rspec/rspec-support#453)
|
92
97
|
|
93
98
|
### 3.10.0 / 2020-10-30
|
94
99
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.4...v3.10.0)
|
@@ -100,26 +105,26 @@ No changes. Released to support other RSpec releases.
|
|
100
105
|
|
101
106
|
Bug Fixes:
|
102
107
|
|
103
|
-
* Flag ripper as supported on Truffle Ruby. (Brandon Fish, #427)
|
108
|
+
* Flag ripper as supported on Truffle Ruby. (Brandon Fish, rspec/rspec-support#427)
|
104
109
|
* Prevent stubbing `File.read` from breaking source extraction.
|
105
|
-
(Jon Rowe, #431)
|
110
|
+
(Jon Rowe, rspec/rspec-support#431)
|
106
111
|
|
107
112
|
### 3.9.3 / 2020-05-02
|
108
113
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.2...v3.9.3)
|
109
114
|
|
110
115
|
Bug Fixes:
|
111
116
|
|
112
|
-
* Mark ripper as unsupported on Truffle Ruby. (Brandon Fish, #395)
|
113
|
-
* Mark ripper as unsupported on JRuby 9.2.0.0. (Brian Hawley, #400)
|
117
|
+
* Mark ripper as unsupported on Truffle Ruby. (Brandon Fish, rspec/rspec-support#395)
|
118
|
+
* Mark ripper as unsupported on JRuby 9.2.0.0. (Brian Hawley, rspec/rspec-support#400)
|
114
119
|
* Capture `Mutex.new` for our `RSpec::Support:Mutex` in order to
|
115
|
-
allow stubbing `Mutex.new`. (Jon Rowe, #411)
|
120
|
+
allow stubbing `Mutex.new`. (Jon Rowe, rspec/rspec-support#411)
|
116
121
|
|
117
122
|
### 3.9.2 / 2019-12-30
|
118
123
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.1...v3.9.2)
|
119
124
|
|
120
125
|
Bug Fixes:
|
121
126
|
|
122
|
-
* Remove unneeded eval. (Matijs van Zuijlen, #394)
|
127
|
+
* Remove unneeded eval. (Matijs van Zuijlen, rspec/rspec-support#394)
|
123
128
|
|
124
129
|
### 3.9.1 / 2019-12-28
|
125
130
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.0...v3.9.1)
|
@@ -127,7 +132,7 @@ Bug Fixes:
|
|
127
132
|
Bug Fixes:
|
128
133
|
|
129
134
|
* Remove warning caused by keyword arguments on Ruby 2.7.0.
|
130
|
-
(Jon Rowe, #392)
|
135
|
+
(Jon Rowe, rspec/rspec-support#392)
|
131
136
|
|
132
137
|
### 3.9.0 / 2019-10-07
|
133
138
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.3...v3.9.0)
|
@@ -142,9 +147,9 @@ Version 3.9.0 was released to allow other RSpec gems to release 3.9.0.
|
|
142
147
|
Bug Fixes:
|
143
148
|
|
144
149
|
* Escape \r when outputting strings inside arrays.
|
145
|
-
(Tomita Masahiro, Jon Rowe, #378)
|
150
|
+
(Tomita Masahiro, Jon Rowe, rspec/rspec-support#378)
|
146
151
|
* Ensure that optional hash arguments are recognised correctly vs keyword
|
147
|
-
arguments. (Evgeni Dzhelyov, #366)
|
152
|
+
arguments. (Evgeni Dzhelyov, rspec/rspec-support#366)
|
148
153
|
|
149
154
|
### 3.8.2 / 2019-06-10
|
150
155
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.1...v3.8.2)
|
@@ -152,9 +157,9 @@ Bug Fixes:
|
|
152
157
|
Bug Fixes:
|
153
158
|
|
154
159
|
* Ensure that an empty hash is recognised as empty keyword arguments when
|
155
|
-
applicable. (Thomas Walpole, #375)
|
160
|
+
applicable. (Thomas Walpole, rspec/rspec-support#375)
|
156
161
|
* Ensure that diffing truthy values produce diffs consistently.
|
157
|
-
(Lucas Nestor, #377)
|
162
|
+
(Lucas Nestor, rspec/rspec-support#377)
|
158
163
|
|
159
164
|
### 3.8.1 / 2019-03-03
|
160
165
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.0...v3.8.1)
|
@@ -162,7 +167,7 @@ Bug Fixes:
|
|
162
167
|
Bug Fixes:
|
163
168
|
|
164
169
|
* Ensure that inspecting a `SimpleDelegator` based object works regardless of
|
165
|
-
visibility of the `__getobj__` method. (Jon Rowe, #369)
|
170
|
+
visibility of the `__getobj__` method. (Jon Rowe, rspec/rspec-support#369)
|
166
171
|
|
167
172
|
### 3.8.0 / 2018-08-04
|
168
173
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.1...v3.8.0)
|
@@ -170,7 +175,7 @@ Bug Fixes:
|
|
170
175
|
Bug Fixes:
|
171
176
|
|
172
177
|
* Order hash keys before diffing to improve diff accuracy when using mocked calls.
|
173
|
-
(James Crisp, #334)
|
178
|
+
(James Crisp, rspec/rspec-support#334)
|
174
179
|
|
175
180
|
### 3.7.1 / 2018-01-29
|
176
181
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.0...v3.7.1)
|
@@ -178,7 +183,7 @@ Bug Fixes:
|
|
178
183
|
Bug Fixes:
|
179
184
|
|
180
185
|
* Fix source extraction logic so that it does not trigger a `SystemStackError`
|
181
|
-
when processing deeply nested example groups. (Craig Bass, #343)
|
186
|
+
when processing deeply nested example groups. (Craig Bass, rspec/rspec-support#343)
|
182
187
|
|
183
188
|
### 3.7.0 / 2017-10-17
|
184
189
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0...v3.7.0)
|
@@ -186,21 +191,21 @@ Bug Fixes:
|
|
186
191
|
Enhancements:
|
187
192
|
|
188
193
|
* Improve compatibility with `--enable-frozen-string-literal` option
|
189
|
-
on Ruby 2.3+. (Pat Allan, #320)
|
194
|
+
on Ruby 2.3+. (Pat Allan, rspec/rspec-support#320)
|
190
195
|
* Add `Support.class_of` for extracting class of any object.
|
191
|
-
(Yuji Nakayama, #325)
|
196
|
+
(Yuji Nakayama, rspec/rspec-support#325)
|
192
197
|
|
193
198
|
Bug Fixes:
|
194
199
|
|
195
200
|
* Fix recursive const support to not blow up when given buggy classes
|
196
|
-
that raise odd errors from `#to_str`. (Myron Marston, #317)
|
201
|
+
that raise odd errors from `#to_str`. (Myron Marston, rspec/rspec-support#317)
|
197
202
|
|
198
203
|
### 3.6.0 / 2017-05-04
|
199
204
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0.beta2...3.6.0)
|
200
205
|
|
201
206
|
Enhancements:
|
202
207
|
|
203
|
-
* Import `Source` classes from rspec-core. (Yuji Nakayama, #315)
|
208
|
+
* Import `Source` classes from rspec-core. (Yuji Nakayama, rspec/rspec-support#315)
|
204
209
|
|
205
210
|
### 3.6.0.beta2 / 2016-12-12
|
206
211
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0.beta1...v3.6.0.beta2)
|
@@ -212,7 +217,7 @@ No user-facing changes.
|
|
212
217
|
|
213
218
|
Bug Fixes:
|
214
219
|
|
215
|
-
* Prevent truncated formatted object output from mangling console codes. (#294, Anson Kelly)
|
220
|
+
* Prevent truncated formatted object output from mangling console codes. (rspec/rspec-support#294, Anson Kelly)
|
216
221
|
|
217
222
|
### 3.5.0 / 2016-07-01
|
218
223
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta4...v3.5.0)
|
@@ -223,7 +228,7 @@ Bug Fixes:
|
|
223
228
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta3...v3.5.0.beta4)
|
224
229
|
|
225
230
|
Enhancements:
|
226
|
-
* Improve `MethodSignature` to better support keyword arguments. (#250, Rob Smith).
|
231
|
+
* Improve `MethodSignature` to better support keyword arguments. (rspec/rspec-support#250, Rob Smith).
|
227
232
|
|
228
233
|
### 3.5.0.beta3 / 2016-04-02
|
229
234
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta2...v3.5.0.beta3)
|
@@ -231,12 +236,12 @@ Enhancements:
|
|
231
236
|
Bug Fixes:
|
232
237
|
|
233
238
|
* Fix `EncodedString` to properly handle the behavior of `String#split`
|
234
|
-
on JRuby when the string contains invalid bytes. (Jon Rowe, #268)
|
239
|
+
on JRuby when the string contains invalid bytes. (Jon Rowe, rspec/rspec-support#268)
|
235
240
|
* Fix `ObjectFormatter` so that formatting objects that don't respond to
|
236
241
|
`#inspect` (such as `BasicObject`) does not cause `NoMethodError`.
|
237
|
-
(Yuji Nakayama, #269)
|
242
|
+
(Yuji Nakayama, rspec/rspec-support#269)
|
238
243
|
* Fix `ObjectFormatter` so that formatting recursive array or hash does not
|
239
|
-
cause `SystemStackError`. (Yuji Nakayama, #270, #272)
|
244
|
+
cause `SystemStackError`. (Yuji Nakayama, rspec/rspec-support#270, rspec/rspec-support#272)
|
240
245
|
|
241
246
|
### 3.5.0.beta2 / 2016-03-10
|
242
247
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta1...v3.5.0.beta2)
|
@@ -249,7 +254,7 @@ No user-facing changes.
|
|
249
254
|
Enhancements:
|
250
255
|
|
251
256
|
* Improve formatting of objects by allowing truncation to a pre-configured length.
|
252
|
-
(Liam M, #256)
|
257
|
+
(Liam M, rspec/rspec-support#256)
|
253
258
|
|
254
259
|
### 3.4.1 / 2015-11-20
|
255
260
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.4.0...v3.4.1)
|
@@ -259,11 +264,11 @@ Bug Fixes:
|
|
259
264
|
* Fix `RSpec::Support::RubyFeature.ripper_supported?` so it returns
|
260
265
|
`false` on Rubinius since the Rubinius team has no plans to support
|
261
266
|
it. This prevents rspec-core from trying to load and use ripper to
|
262
|
-
extract failure snippets. (Aaron Stone, #251)
|
267
|
+
extract failure snippets. (Aaron Stone, rspec/rspec-support#251)
|
263
268
|
|
264
269
|
Changes:
|
265
270
|
|
266
|
-
* Remove `VersionChecker` in favor of `ComparableVersion`. (Yuji Nakayama, #266)
|
271
|
+
* Remove `VersionChecker` in favor of `ComparableVersion`. (Yuji Nakayama, rspec/rspec-support#266)
|
267
272
|
|
268
273
|
### 3.4.0 / 2015-11-11
|
269
274
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.3.0...v3.4.0)
|
@@ -271,15 +276,15 @@ Changes:
|
|
271
276
|
Enhancements:
|
272
277
|
|
273
278
|
* Improve formatting of `Delegator` based objects (e.g. `SimpleDelegator`) in
|
274
|
-
failure messages and diffs. (Andrew Horner, #215)
|
275
|
-
* Add `ComparableVersion`. (Yuji Nakayama, #245)
|
276
|
-
* Add `Ripper` support detection. (Yuji Nakayama, #245)
|
279
|
+
failure messages and diffs. (Andrew Horner, rspec/rspec-support#215)
|
280
|
+
* Add `ComparableVersion`. (Yuji Nakayama, rspec/rspec-support#245)
|
281
|
+
* Add `Ripper` support detection. (Yuji Nakayama, rspec/rspec-support#245)
|
277
282
|
|
278
283
|
Bug Fixes:
|
279
284
|
|
280
285
|
* Work around bug in JRuby that reports that `attr_writer` methods
|
281
286
|
have no parameters, causing RSpec's verifying doubles to wrongly
|
282
|
-
fail when mocking or stubbing a writer method on JRuby. (Myron Marston, #225)
|
287
|
+
fail when mocking or stubbing a writer method on JRuby. (Myron Marston, rspec/rspec-support#225)
|
283
288
|
|
284
289
|
### 3.3.0 / 2015-06-12
|
285
290
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.2...v3.3.0)
|
@@ -288,8 +293,8 @@ Enhancements:
|
|
288
293
|
|
289
294
|
* Improve formatting of arrays and hashes in failure messages so they
|
290
295
|
use our custom formatting of matchers, time objects, etc.
|
291
|
-
(Myron Marston, Nicholas Chmielewski, #205)
|
292
|
-
* Use improved formatting for diffs as well. (Nicholas Chmielewski, #205)
|
296
|
+
(Myron Marston, Nicholas Chmielewski, rspec/rspec-support#205)
|
297
|
+
* Use improved formatting for diffs as well. (Nicholas Chmielewski, rspec/rspec-support#205)
|
293
298
|
|
294
299
|
Bug Fixes:
|
295
300
|
|
@@ -298,7 +303,7 @@ Bug Fixes:
|
|
298
303
|
`actual` object's `==` is improperly implemented to assume that only
|
299
304
|
objects of the same type will be given. This allows rspec-mocks'
|
300
305
|
`anything` to match against objects with buggy `==` definitions.
|
301
|
-
(Myron Marston, #193)
|
306
|
+
(Myron Marston, rspec/rspec-support#193)
|
302
307
|
|
303
308
|
### 3.2.2 / 2015-02-23
|
304
309
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.1...v3.2.2)
|
@@ -306,7 +311,7 @@ Bug Fixes:
|
|
306
311
|
Bug Fixes:
|
307
312
|
|
308
313
|
* Fix an encoding issue with `EncodedString#split` when encountering an
|
309
|
-
invalid byte string. (Benjamin Fleischer, #1760)
|
314
|
+
invalid byte string. (Benjamin Fleischer, rspec/rspec-support#1760)
|
310
315
|
|
311
316
|
### 3.2.1 / 2015-02-04
|
312
317
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.0...v3.2.1)
|
@@ -314,20 +319,20 @@ Bug Fixes:
|
|
314
319
|
Bug Fixes:
|
315
320
|
|
316
321
|
* Fix `RSpec::CallerFilter` to work on Rubinius 2.2.
|
317
|
-
(Myron Marston, #169)
|
322
|
+
(Myron Marston, rspec/rspec-support#169)
|
318
323
|
|
319
324
|
### 3.2.0 / 2015-02-03
|
320
325
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.2...v3.2.0)
|
321
326
|
|
322
327
|
Enhancements:
|
323
328
|
|
324
|
-
* Add extra Ruby type detection. (Jon Rowe, #133)
|
325
|
-
* Make differ instance re-usable. (Alexey Fedorov, #160)
|
329
|
+
* Add extra Ruby type detection. (Jon Rowe, rspec/rspec-support#133)
|
330
|
+
* Make differ instance re-usable. (Alexey Fedorov, rspec/rspec-support#160)
|
326
331
|
|
327
332
|
Bug Fixes:
|
328
333
|
|
329
334
|
* Do not consider `[]` and `{}` to match when performing fuzzy matching.
|
330
|
-
(Myron Marston, #157)
|
335
|
+
(Myron Marston, rspec/rspec-support#157)
|
331
336
|
|
332
337
|
### 3.1.2 / 2014-10-08
|
333
338
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.1...v3.1.2)
|
@@ -335,7 +340,7 @@ Bug Fixes:
|
|
335
340
|
Bug Fixes:
|
336
341
|
|
337
342
|
* Fix method signature to not blow up with a `NoMethodError` on 1.8.7 when
|
338
|
-
verifying against an RSpec matcher. (Myron Marston, #116)
|
343
|
+
verifying against an RSpec matcher. (Myron Marston, rspec/rspec-support#116)
|
339
344
|
|
340
345
|
### 3.1.1 / 2014-09-26
|
341
346
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.0...v3.1.1)
|
@@ -344,7 +349,7 @@ Bug Fixes:
|
|
344
349
|
|
345
350
|
* Fix `RSpec::Support::DirectoryMaker` (used by `rspec --init` and
|
346
351
|
`rails generate rspec:install`) so that it detects absolute paths
|
347
|
-
on Windows properly. (Scott Archer, #107, #108, #109) (Jon Rowe, #110)
|
352
|
+
on Windows properly. (Scott Archer, rspec/rspec-support#107, rspec/rspec-support#108, rspec/rspec-support#109) (Jon Rowe, rspec/rspec-support#110)
|
348
353
|
|
349
354
|
### 3.1.0 / 2014-09-04
|
350
355
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.4...v3.1.0)
|
@@ -352,9 +357,9 @@ Bug Fixes:
|
|
352
357
|
Bug Fixes:
|
353
358
|
|
354
359
|
* Fix `FuzzyMatcher` so that it does not wrongly match a struct against
|
355
|
-
an array. (Myron Marston, #97)
|
360
|
+
an array. (Myron Marston, rspec/rspec-support#97)
|
356
361
|
* Prevent infinitely recursing `#flatten` methods from causing the differ
|
357
|
-
to hang. (Jon Rowe, #101)
|
362
|
+
to hang. (Jon Rowe, rspec/rspec-support#101)
|
358
363
|
|
359
364
|
### 3.0.4 / 2014-08-14
|
360
365
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.3...v3.0.4)
|
@@ -362,7 +367,7 @@ Bug Fixes:
|
|
362
367
|
Bug Fixes:
|
363
368
|
|
364
369
|
* Fix `FuzzyMatcher` so that it does not silence `ArgumentError` raised
|
365
|
-
from broken implementations of `==`. (Myron Marston, #94)
|
370
|
+
from broken implementations of `==`. (Myron Marston, rspec/rspec-support#94)
|
366
371
|
|
367
372
|
### 3.0.3 / 2014-07-21
|
368
373
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.2...v3.0.3)
|
@@ -371,23 +376,23 @@ Bug Fixes:
|
|
371
376
|
|
372
377
|
* Fix regression in `Support#method_handle_for` where proxy objects
|
373
378
|
with method delegated would wrongly not return a method handle.
|
374
|
-
(Jon Rowe, #90)
|
375
|
-
* Properly detect Module#prepend support in Ruby 2.1+ (Ben Langfeld, #91)
|
379
|
+
(Jon Rowe, rspec/rspec-support#90)
|
380
|
+
* Properly detect Module#prepend support in Ruby 2.1+ (Ben Langfeld, rspec/rspec-support#91)
|
376
381
|
* Fix `rspec/support/warnings.rb` so it can be loaded and used in
|
377
|
-
isolation. (Myron Marston, #93)
|
382
|
+
isolation. (Myron Marston, rspec/rspec-support#93)
|
378
383
|
|
379
384
|
### 3.0.2 / 2014-06-20
|
380
385
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.1...v3.0.2)
|
381
386
|
|
382
387
|
* Revert `BlockSignature` change from 3.0.1 because of a ruby bug that
|
383
388
|
caused it to change the block's behavior (https://bugs.ruby-lang.org/issues/9967).
|
384
|
-
(Myron Marston, rspec-
|
389
|
+
(Myron Marston, rspec-mocksrspec/rspec-support#721)
|
385
390
|
|
386
391
|
### 3.0.1 / 2014-06-19
|
387
392
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.0...v3.0.1)
|
388
393
|
|
389
394
|
* Fix `BlockSignature` so that it correctly differentiates between
|
390
|
-
required and optional block args. (Myron Marston, rspec-
|
395
|
+
required and optional block args. (Myron Marston, rspec-mocksrspec/rspec-support#714)
|
391
396
|
|
392
397
|
### 3.0.0 / 2014-06-01
|
393
398
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.0.rc1...v3.0.0)
|
@@ -12,13 +12,25 @@ module RSpec
|
|
12
12
|
def one_line_header(line_number=2)
|
13
13
|
"-1,#{line_number} +1,#{line_number}"
|
14
14
|
end
|
15
|
-
|
15
|
+
elsif ::Diff::LCS::VERSION.to_f < 1.6
|
16
16
|
def one_line_header(_=2)
|
17
17
|
"-1 +1"
|
18
18
|
end
|
19
|
+
else
|
20
|
+
def one_line_header(line_number=2)
|
21
|
+
if line_number - 1 == 1
|
22
|
+
"-1 +1"
|
23
|
+
else
|
24
|
+
"-1,#{line_number - 1} +1,#{line_number - 1}"
|
25
|
+
end
|
26
|
+
end
|
19
27
|
end
|
20
28
|
|
21
|
-
if Diff::LCS::VERSION.to_f
|
29
|
+
if ::Diff::LCS::VERSION.to_f > 1.5
|
30
|
+
def removing_two_line_header
|
31
|
+
"-1,2 +0,0"
|
32
|
+
end
|
33
|
+
elsif Diff::LCS::VERSION.to_f < 1.4 || Diff::LCS::VERSION >= "1.4.4"
|
22
34
|
def removing_two_line_header
|
23
35
|
"-1,3 +1"
|
24
36
|
end
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chelimsky
|
@@ -10,16 +10,15 @@ authors:
|
|
10
10
|
- Sam Phippen
|
11
11
|
- Xaviery Shay
|
12
12
|
- Bradley Schaefer
|
13
|
-
autorequire:
|
14
13
|
bindir: bin
|
15
14
|
cert_chain:
|
16
15
|
- |
|
17
16
|
-----BEGIN CERTIFICATE-----
|
18
|
-
|
17
|
+
MIIFvjCCA6agAwIBAgIJAPXjfUbCjdXVMA0GCSqGSIb3DQEBCwUAMIGAMQswCQYD
|
19
18
|
VQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEO
|
20
19
|
MAwGA1UECgwFUlNwZWMxEzARBgNVBAMMCnJzcGVjLmluZm8xJTAjBgkqhkiG9w0B
|
21
|
-
|
22
|
-
|
20
|
+
CQEWFnJzcGVjQGdvb2dsZWdyb3Vwcy5jb20wHhcNMjUwMjA2MTE0NjU2WhcNMjYw
|
21
|
+
MjA2MTE0NjU2WjCBgDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24x
|
23
22
|
EDAOBgNVBAcMB1NlYXR0bGUxDjAMBgNVBAoMBVJTcGVjMRMwEQYDVQQDDApyc3Bl
|
24
23
|
Yy5pbmZvMSUwIwYJKoZIhvcNAQkBFhZyc3BlY0Bnb29nbGVncm91cHMuY29tMIIC
|
25
24
|
IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAsSmjgcHaKlD0jizRJowi2bGI
|
@@ -33,22 +32,21 @@ cert_chain:
|
|
33
32
|
Xeh3EVdWY3vMB1pkhPwlsenpcmj5gOzrd54lELOVbCGHCf48iSqeflY2Lhe0pvzK
|
34
33
|
blXCJBDmtrebvus291rM/dHcbEfK1SVd5Wut/n131iouf6dnNCFskFygDcgBbthC
|
35
34
|
gpEMqf80lEmhX59VUsm0Pv6OEo+ZPHBvXPiJA6DShQh9t3YtpwyA8uVDMbT/i32u
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
+
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
F3MdtaDehhjC
|
35
|
+
2FUsqZbbJcCmkBrGposCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
36
|
+
HQYDVR0OBBYEFPPvQ5XT0Nvuhi6k+hrWVv35J+TeMA0GCSqGSIb3DQEBCwUAA4IC
|
37
|
+
AQBGBr0ll2yLrkO6IeK5Q7qZFnANaUCKfi6Of9VztZJXgKAU5KAQxyOidGktoA5N
|
38
|
+
lp+bFKudRkW8jSehqoNaNBdSZ9Bc07EGMXIhUFJZF9rq7Z2SKPwUm6EaSsBK13QR
|
39
|
+
U4K6wuaw5ZJSFzklapoGOJRGnFlnNtlhNFY6+tTwCeblwZbcuYGyGY8+Rg7GbyVl
|
40
|
+
3Tr4Gi1aS/qG/MDXKdE8HWm39dmaAMdbw6dg1VBd0JrX2VqH7xvE1dM/D3OlKrNp
|
41
|
+
gNFRNJig3Y8qPjocZR0cGkhgZoC9wribWxHSNawZm4CoV3fja2HNx9QyM7BaB+as
|
42
|
+
yuqAiBbA7vBcyc8nKATip3mxbyXYXoDD7nmO8JCPP7O/WsgG+U/B2a0kPdvYFoxE
|
43
|
+
Q0Js3GtFCuMvL+0rifqdxBOLtu0Pw9q4RvToTJIl2IR6eTgCb82B1hw9qKf7PjuL
|
44
|
+
BoEsYjjDhGw6FZvcJG8O6uj7aB+z4aF21YR74UGL7sq/RIPNNez5JI95jTGfqCPy
|
45
|
+
6yo0w3zja3yg28QK3Fj+tbOHeSLv9SDQWi/1jiPprGzbxGvbVvjvX11YZc46vkmY
|
46
|
+
AwP+qZPPf97FXXZGEGIYhhHpnj+Ltx9nCetRPiZ4rvYBcXgCWVQSg6eiEofrMwn/
|
47
|
+
AKMCABhZ1Y2eATsfMgdkmIZk7JIPZiSi6eUxPiCMP9M/pw==
|
50
48
|
-----END CERTIFICATE-----
|
51
|
-
date:
|
49
|
+
date: 2025-05-01 00:00:00.000000000 Z
|
52
50
|
dependencies:
|
53
51
|
- !ruby/object:Gem::Dependency
|
54
52
|
name: rake
|
@@ -125,11 +123,11 @@ licenses:
|
|
125
123
|
- MIT
|
126
124
|
metadata:
|
127
125
|
bug_tracker_uri: https://github.com/rspec/rspec/issues
|
128
|
-
changelog_uri: https://github.com/rspec/rspec/blob/rspec-support-v3.13.
|
126
|
+
changelog_uri: https://github.com/rspec/rspec/blob/rspec-support-v3.13.3/rspec-support/Changelog.md
|
129
127
|
documentation_uri: https://rspec.info/documentation/
|
130
128
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
131
|
-
|
132
|
-
|
129
|
+
rubygems_mfa_required: 'true'
|
130
|
+
source_code_uri: https://github.com/rspec/rspec/blob/rspec-support-v3.13.3/rspec-support
|
133
131
|
rdoc_options:
|
134
132
|
- "--charset=UTF-8"
|
135
133
|
require_paths:
|
@@ -145,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
143
|
- !ruby/object:Gem::Version
|
146
144
|
version: '0'
|
147
145
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
149
|
-
signing_key:
|
146
|
+
rubygems_version: 3.6.2
|
150
147
|
specification_version: 4
|
151
|
-
summary: rspec-support-3.13.
|
148
|
+
summary: rspec-support-3.13.3
|
152
149
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|