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