rspec-core 3.13.1 → 3.13.6
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 +300 -260
- data/lib/rspec/core/bisect/fork_runner.rb +2 -0
- data/lib/rspec/core/configuration.rb +7 -2
- data/lib/rspec/core/configuration_options.rb +2 -0
- data/lib/rspec/core/did_you_mean.rb +6 -0
- data/lib/rspec/core/drb.rb +1 -1
- data/lib/rspec/core/example.rb +1 -1
- data/lib/rspec/core/example_group.rb +7 -0
- data/lib/rspec/core/filter_manager.rb +2 -2
- data/lib/rspec/core/formatters/exception_presenter.rb +13 -6
- data/lib/rspec/core/formatters/html_snippet_extractor.rb +2 -0
- data/lib/rspec/core/metadata.rb +1 -1
- data/lib/rspec/core/option_parser.rb +2 -0
- data/lib/rspec/core/rake_task.rb +2 -0
- data/lib/rspec/core/reporter.rb +6 -5
- data/lib/rspec/core/version.rb +1 -1
- data/lib/rspec/core/world.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +25 -137
- metadata.gz.sig +0 -0
data/Changelog.md
CHANGED
|
@@ -1,29 +1,69 @@
|
|
|
1
1
|
### Development
|
|
2
|
-
[Full Changelog](
|
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-core-v3.13.6...3-13-maintenance)
|
|
3
|
+
|
|
4
|
+
### 3.13.6 / 2025-10-19
|
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-core-v3.13.4...rspec-core-v3.13.5)
|
|
6
|
+
|
|
7
|
+
Bug Fixes:
|
|
8
|
+
|
|
9
|
+
* Add explicit block parameter to `RSpec::World::Null.traverse_example_group_trees_until` to
|
|
10
|
+
prevent warning. (@viralpraxis, rspec/rspec#240)
|
|
11
|
+
|
|
12
|
+
### 3.13.5 / 2025-06-25
|
|
13
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-core-v3.13.4...rspec-core-v3.13.5)
|
|
14
|
+
|
|
15
|
+
Bug Fixes:
|
|
16
|
+
|
|
17
|
+
* Fix finding failed lines from frozen backtrace arrays. (Jon Rowe, #225)
|
|
18
|
+
|
|
19
|
+
### 3.13.4 / 2025-05-27
|
|
20
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-core-v3.13.3...rspec-core-v3.13.4)
|
|
21
|
+
|
|
22
|
+
Bug Fixes:
|
|
23
|
+
|
|
24
|
+
* Fix links in gemspec to point to the monorepo / homepage.
|
|
25
|
+
|
|
26
|
+
### 3.13.3 / 2025-02-06
|
|
27
|
+
[Full Changelog](http://github.com/rspec/rspec/compare/rspec-core-v3.13.4...rspec-core-v3.13.3)
|
|
28
|
+
|
|
29
|
+
Bug fixes:
|
|
30
|
+
|
|
31
|
+
* Fix reporter memorisation of `ExamplesNotification` used in `RSpec::Core::Reporter#finish`
|
|
32
|
+
by reusing an instance across notifcations. (Maxime Lapointe, rspec/rspec#172)
|
|
33
|
+
* Fix memorisation of `RSpec::Core::Example#location_rerun_argument`.
|
|
34
|
+
(Maxime Lapointe, rspec/rspec#173)
|
|
35
|
+
|
|
36
|
+
### 3.13.2 / 2024-10-18
|
|
37
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.13.1...v3.13.2)
|
|
38
|
+
|
|
39
|
+
Bug fixes:
|
|
40
|
+
|
|
41
|
+
* `RSpec::Configuration#requires` will reflect files already required, whilst requiring
|
|
42
|
+
them. (Jon Rowe, rspec/rspec-core#3117)
|
|
3
43
|
|
|
4
44
|
### 3.13.1 / 2024-09-02
|
|
5
45
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.13.0...v3.13.1)
|
|
6
46
|
|
|
7
47
|
Bug fixes:
|
|
8
48
|
|
|
9
|
-
* Sort ids to run as the original order to fix `--bisect`. (Maki Kawahara, #3093)
|
|
49
|
+
* Sort ids to run as the original order to fix `--bisect`. (Maki Kawahara, rspec/rspec-core#3093)
|
|
10
50
|
|
|
11
51
|
### 3.13.0 / 2024-02-04
|
|
12
52
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.3...v3.13.0)
|
|
13
53
|
|
|
14
54
|
Enhancements:
|
|
15
55
|
|
|
16
|
-
* Support the `--backtrace` flag when using the JSON formatter. (Matt Larraz, #2980)
|
|
17
|
-
* Ignore commented out lines in CLI config files (e.g. `.rspec`). (Junichi Ito, #2984)
|
|
56
|
+
* Support the `--backtrace` flag when using the JSON formatter. (Matt Larraz, rspec/rspec-core#2980)
|
|
57
|
+
* Ignore commented out lines in CLI config files (e.g. `.rspec`). (Junichi Ito, rspec/rspec-core#2984)
|
|
18
58
|
* Add `pending_failure_output` config option to allow skipping backtraces or
|
|
19
|
-
muting pending specs output. (Phil Pirozhkov, #2957)
|
|
59
|
+
muting pending specs output. (Phil Pirozhkov, rspec/rspec-core#2957)
|
|
20
60
|
* Process `--dry-run` before configuration flags that read files so that introspecting
|
|
21
|
-
it returns the correct value. (Xenor Chang, #3008)
|
|
22
|
-
* Allow specifying custom ordering strategies via `--order`. (Jon Rowe, #3025)
|
|
61
|
+
it returns the correct value. (Xenor Chang, rspec/rspec-core#3008)
|
|
62
|
+
* Allow specifying custom ordering strategies via `--order`. (Jon Rowe, rspec/rspec-core#3025)
|
|
23
63
|
* Use the improved `syntax_suggest` output for `SyntaxError` when available.
|
|
24
|
-
(Richard Schneeman, #3015, #3026)
|
|
64
|
+
(Richard Schneeman, rspec/rspec-core#3015, rspec/rspec-core#3026)
|
|
25
65
|
* Add config option (`RSpec::Core::Configuration#full_cause_backtrace`) to print the
|
|
26
|
-
entire backtrace of an exception cause. (David Taylor, #3046)
|
|
66
|
+
entire backtrace of an exception cause. (David Taylor, rspec/rspec-core#3046)
|
|
27
67
|
|
|
28
68
|
### 3.12.3 / 2024-02-04
|
|
29
69
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.2...v3.12.3)
|
|
@@ -31,14 +71,14 @@ Enhancements:
|
|
|
31
71
|
Bug fixes:
|
|
32
72
|
|
|
33
73
|
* Use `__send__` in output wrapper to avoid issues with IO objects that implement `send`
|
|
34
|
-
like `Socket`. (Richard Platel, #3045)
|
|
74
|
+
like `Socket`. (Richard Platel, rspec/rspec-core#3045)
|
|
35
75
|
|
|
36
76
|
### 3.12.2 / 2023-04-18
|
|
37
77
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.1...v3.12.2)
|
|
38
78
|
|
|
39
79
|
Bug fixes:
|
|
40
80
|
|
|
41
|
-
* Remove link to outdated documentation in generated output. (Jon Rowe, #3035)
|
|
81
|
+
* Remove link to outdated documentation in generated output. (Jon Rowe, rspec/rspec-core#3035)
|
|
42
82
|
|
|
43
83
|
### 3.12.1 / 2023-02-03
|
|
44
84
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.0...v3.12.1)
|
|
@@ -46,7 +86,7 @@ Bug fixes:
|
|
|
46
86
|
Bug fixes:
|
|
47
87
|
|
|
48
88
|
* Prevent multiple calls to `extra_failure_lines` from adding additional whitespace
|
|
49
|
-
around them when the lines already contain whitespace. (Jon Rowe, #3006)
|
|
89
|
+
around them when the lines already contain whitespace. (Jon Rowe, rspec/rspec-core#3006)
|
|
50
90
|
|
|
51
91
|
### 3.12.0 / 2022-10-26
|
|
52
92
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.11.0...v3.12.0)
|
|
@@ -58,26 +98,26 @@ Bug fixes:
|
|
|
58
98
|
|
|
59
99
|
Enhancements:
|
|
60
100
|
|
|
61
|
-
* Improve pluralisation of words ending with `s` (like process). (Joshua Pinter, #2779)
|
|
62
|
-
* Add ordering by file modification time (most recent first). (Matheus Richard, #2778)
|
|
63
|
-
* Add `to_s` to reserved names for #let and #subject. (Nick Flückiger, #2886)
|
|
101
|
+
* Improve pluralisation of words ending with `s` (like process). (Joshua Pinter, rspec/rspec-core#2779)
|
|
102
|
+
* Add ordering by file modification time (most recent first). (Matheus Richard, rspec/rspec-core#2778)
|
|
103
|
+
* Add `to_s` to reserved names for #let and #subject. (Nick Flückiger, rspec/rspec-core#2886)
|
|
64
104
|
* Introduce `RSpec.current_scope` to expose the current scope in which
|
|
65
|
-
RSpec is executing. e.g. `:before_example_hook`, `:example` etc. (@odinhb, #2895)
|
|
66
|
-
* Add named bold colours as options for custom colours. (#2913, #2914)
|
|
67
|
-
* Warn when (but not prevent) a `SystemExit` occurs. (Jared Beck, #2926)
|
|
105
|
+
RSpec is executing. e.g. `:before_example_hook`, `:example` etc. (@odinhb, rspec/rspec-core#2895)
|
|
106
|
+
* Add named bold colours as options for custom colours. (rspec/rspec-core#2913, rspec/rspec-core#2914)
|
|
107
|
+
* Warn when (but not prevent) a `SystemExit` occurs. (Jared Beck, rspec/rspec-core#2926)
|
|
68
108
|
|
|
69
109
|
### 3.10.2 / 2022-01-27
|
|
70
110
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.1...v3.10.2)
|
|
71
111
|
|
|
72
112
|
Bug fixes:
|
|
73
113
|
|
|
74
|
-
* Ensure bisect communication uses consistent encoding. (Mike Jarema, #2852)
|
|
114
|
+
* Ensure bisect communication uses consistent encoding. (Mike Jarema, rspec/rspec-core#2852)
|
|
75
115
|
* Fix exception presenter when the root cause exception has nil backtrace.
|
|
76
|
-
(Zinovyev Ivan, #2903)
|
|
116
|
+
(Zinovyev Ivan, rspec/rspec-core#2903)
|
|
77
117
|
* Fix `inspect` output of `RSpec::Core::Example::Procsy` to namespace correctly.
|
|
78
|
-
(Keiko Kaneko, #2915)
|
|
118
|
+
(Keiko Kaneko, rspec/rspec-core#2915)
|
|
79
119
|
* Ensure formatters not exposing `#output` will not crash duplicate check.
|
|
80
|
-
(@niceking, #2916)
|
|
120
|
+
(@niceking, rspec/rspec-core#2916)
|
|
81
121
|
|
|
82
122
|
### 3.10.1 / 2020-12-27
|
|
83
123
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.0...v3.10.1)
|
|
@@ -85,7 +125,7 @@ Bug fixes:
|
|
|
85
125
|
Bug fixes:
|
|
86
126
|
|
|
87
127
|
* RSpec warning output was missing deprecations from Ruby, these are now included.
|
|
88
|
-
(Jon Rowe, #2811)
|
|
128
|
+
(Jon Rowe, rspec/rspec-core#2811)
|
|
89
129
|
|
|
90
130
|
### 3.10.0 / 2020-10-30
|
|
91
131
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.3...v3.10.0)
|
|
@@ -93,26 +133,26 @@ Bug fixes:
|
|
|
93
133
|
Enhancements:
|
|
94
134
|
|
|
95
135
|
* Memoize `RSpec::Core::Formatters::ExceptionPresenter#exception_lines` to improve performance
|
|
96
|
-
with slow exception messages. (Maxime Lapointe, #2743)
|
|
136
|
+
with slow exception messages. (Maxime Lapointe, rspec/rspec-core#2743)
|
|
97
137
|
* Add configuration for an error exit code (to disambiguate errored builds from failed builds
|
|
98
|
-
by exit status). (Dana Sherson, #2749)
|
|
138
|
+
by exit status). (Dana Sherson, rspec/rspec-core#2749)
|
|
99
139
|
|
|
100
140
|
### 3.9.3 / 2020-09-30
|
|
101
141
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.2...v3.9.3)
|
|
102
142
|
|
|
103
143
|
Bug Fixes:
|
|
104
144
|
|
|
105
|
-
* Declare `ruby2_keywords` on `method_missing` for other gems. (Jon Rowe, #2731)
|
|
106
|
-
* Ensure custom error codes are returned from bisect runs. (Jon Rowe, #2732)
|
|
145
|
+
* Declare `ruby2_keywords` on `method_missing` for other gems. (Jon Rowe, rspec/rspec-core#2731)
|
|
146
|
+
* Ensure custom error codes are returned from bisect runs. (Jon Rowe, rspec/rspec-core#2732)
|
|
107
147
|
* Ensure `RSpec::Core::Configuration` predicate config methods return booleans.
|
|
108
|
-
(Marc-André Lafortune, #2736)
|
|
148
|
+
(Marc-André Lafortune, rspec/rspec-core#2736)
|
|
109
149
|
* Prevent `rspec --bisect` from generating zombie processes while executing
|
|
110
|
-
bisect runs. (Benoit Tigeot, Jon Rowe, #2739)
|
|
150
|
+
bisect runs. (Benoit Tigeot, Jon Rowe, rspec/rspec-core#2739)
|
|
111
151
|
* Predicates for pending examples, (in `RSpec::Core::Example`, `#pending?`, `#skipped?` and
|
|
112
152
|
`#pending_fixed?`) now return boolean values rather than truthy values.
|
|
113
|
-
(Marc-André Lafortune, #2756, #2758)
|
|
153
|
+
(Marc-André Lafortune, rspec/rspec-core#2756, rspec/rspec-core#2758)
|
|
114
154
|
* Exceptions which have a message which cannot be cast to a string will no longer
|
|
115
|
-
cause a crash. (Jon Rowe, #2761)
|
|
155
|
+
cause a crash. (Jon Rowe, rspec/rspec-core#2761)
|
|
116
156
|
|
|
117
157
|
### 3.9.2 / 2020-05-02
|
|
118
158
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.1...v3.9.2)
|
|
@@ -120,14 +160,14 @@ Bug Fixes:
|
|
|
120
160
|
Bug Fixes:
|
|
121
161
|
|
|
122
162
|
* Emit a warning when `around` hook is used with `:context` scope
|
|
123
|
-
(Phil Pirozhkov, #2687)
|
|
163
|
+
(Phil Pirozhkov, rspec/rspec-core#2687)
|
|
124
164
|
* Prevent invalid implementations of `Exception#cause` from being treated as a
|
|
125
165
|
valid cause (and causing strange errors) in `RSpec::Core::Formatters::ExceptionPresenter`.
|
|
126
|
-
(Jon Rowe, #2703)
|
|
166
|
+
(Jon Rowe, rspec/rspec-core#2703)
|
|
127
167
|
* Correctly detect patterns when `rspec_opts` is an array in `RSpec::Core::RakeTask`.
|
|
128
|
-
(Marc-André Lafortune, #2704)
|
|
168
|
+
(Marc-André Lafortune, rspec/rspec-core#2704)
|
|
129
169
|
* Make `RSpec.clear_examples` reset example counts for example groups. This fixes
|
|
130
|
-
an issue with re-running specs not matching ids. (Agis Anastasopoulos, #2723)
|
|
170
|
+
an issue with re-running specs not matching ids. (Agis Anastasopoulos, rspec/rspec-core#2723)
|
|
131
171
|
|
|
132
172
|
### 3.9.1 / 2019-12-28
|
|
133
173
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.0...v3.9.1)
|
|
@@ -135,8 +175,8 @@ Bug Fixes:
|
|
|
135
175
|
Bug Fixes:
|
|
136
176
|
|
|
137
177
|
* Prevent bisect command from blocking when number of specs exceeds file
|
|
138
|
-
descriptor limit on OSX or Linux. (Benoit Tigeot, #2669)
|
|
139
|
-
* Prevent warnings being issued on Ruby 2.7.0. (Jon Rowe, #2680)
|
|
178
|
+
descriptor limit on OSX or Linux. (Benoit Tigeot, rspec/rspec-core#2669)
|
|
179
|
+
* Prevent warnings being issued on Ruby 2.7.0. (Jon Rowe, rspec/rspec-core#2680)
|
|
140
180
|
|
|
141
181
|
### 3.9.0 / 2019-10-07
|
|
142
182
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.2...v3.9.0)
|
|
@@ -145,21 +185,21 @@ Enhancements:
|
|
|
145
185
|
|
|
146
186
|
* Improve the handling of errors during loading support files, if a file
|
|
147
187
|
errors before loading specs, RSpec will now skip loading the specs.
|
|
148
|
-
(David Rodríguez, #2568)
|
|
188
|
+
(David Rodríguez, rspec/rspec-core#2568)
|
|
149
189
|
* Add support for --example-matches to run examples by regular expression.
|
|
150
|
-
(Sam Joseph, Matt Rider, @okothkongo1, #2586)
|
|
190
|
+
(Sam Joseph, Matt Rider, @okothkongo1, rspec/rspec-core#2586)
|
|
151
191
|
* Add `did_you_mean` suggestions for file names encountering a `LoadError`
|
|
152
|
-
outside of examples. (@obromios, #2601)
|
|
192
|
+
outside of examples. (@obromios, rspec/rspec-core#2601)
|
|
153
193
|
* Add a minimalist quick fix style formatter, only outputs failures as
|
|
154
|
-
`file:line:message`. (Romain Tartière, #2614)
|
|
194
|
+
`file:line:message`. (Romain Tartière, rspec/rspec-core#2614)
|
|
155
195
|
* Convert string number values to integer when used for `RSpec::Configuration#fail_fast`
|
|
156
|
-
(Viktor Fonic, #2634)
|
|
196
|
+
(Viktor Fonic, rspec/rspec-core#2634)
|
|
157
197
|
* Issue warning when invalid values are used for `RSpec::Configuration#fail_fast`
|
|
158
|
-
(Viktor Fonic, #2634)
|
|
198
|
+
(Viktor Fonic, rspec/rspec-core#2634)
|
|
159
199
|
* Add support for running the Rake task in a clean environment.
|
|
160
|
-
(Jon Rowe, #2632)
|
|
200
|
+
(Jon Rowe, rspec/rspec-core#2632)
|
|
161
201
|
* Indent messages by there example group / example in the documentation formatter.
|
|
162
|
-
(Samuel Williams, #2649)
|
|
202
|
+
(Samuel Williams, rspec/rspec-core#2649)
|
|
163
203
|
|
|
164
204
|
### 3.8.2 / 2019-06-29
|
|
165
205
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.1...v3.8.2)
|
|
@@ -168,7 +208,7 @@ Bug Fixes:
|
|
|
168
208
|
|
|
169
209
|
* Fix `config.define_derived_metadata` so that cascades are not triggered
|
|
170
210
|
until metadata has been assigned to the example or example group
|
|
171
|
-
(Myron Marston, #2635).
|
|
211
|
+
(Myron Marston, rspec/rspec-core#2635).
|
|
172
212
|
|
|
173
213
|
### 3.8.1 / 2019-06-13
|
|
174
214
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...v3.8.1)
|
|
@@ -176,12 +216,12 @@ Bug Fixes:
|
|
|
176
216
|
Bug Fixes:
|
|
177
217
|
|
|
178
218
|
* Handle RSpec description(s) with japanese chars in CP932 encoded files.
|
|
179
|
-
(Benoit Tigeot, #2575)
|
|
219
|
+
(Benoit Tigeot, rspec/rspec-core#2575)
|
|
180
220
|
* When defining `let` methods that overwrite an existing method, prevent
|
|
181
|
-
a warning being issued by removing the old definition. (Jon Rowe, #2593)
|
|
182
|
-
* Prevent warning on Ruby 2.6.0-rc1 (Keiji Yoshimi, #2582)
|
|
221
|
+
a warning being issued by removing the old definition. (Jon Rowe, rspec/rspec-core#2593)
|
|
222
|
+
* Prevent warning on Ruby 2.6.0-rc1 (Keiji Yoshimi, rspec/rspec-core#2582)
|
|
183
223
|
* Fix `config.define_derived_metadata` so that it supports cascades.
|
|
184
|
-
(Myron Marston, #2630).
|
|
224
|
+
(Myron Marston, rspec/rspec-core#2630).
|
|
185
225
|
|
|
186
226
|
### 3.8.0 / 2018-08-04
|
|
187
227
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.1...v3.8.0)
|
|
@@ -189,28 +229,28 @@ Bug Fixes:
|
|
|
189
229
|
Enhancements:
|
|
190
230
|
|
|
191
231
|
* Improve shell escaping used by `RSpec::Core::RakeTask` and `--bisect` so
|
|
192
|
-
that it works on `Pathname` objects. (Andrew Vit, #2479)
|
|
232
|
+
that it works on `Pathname` objects. (Andrew Vit, rspec/rspec-core#2479)
|
|
193
233
|
* Nicely format errors encountered while loading files specified
|
|
194
|
-
by `--require` option. (Myron Marston, #2504)
|
|
234
|
+
by `--require` option. (Myron Marston, rspec/rspec-core#2504)
|
|
195
235
|
* Significantly improve the performance of `--bisect` on platforms that
|
|
196
236
|
support forking by replacing the shell-based runner with one that uses
|
|
197
237
|
forking so that RSpec and the application environment can be booted only
|
|
198
|
-
once, instead of once per spec run. (Myron Marston, #2511)
|
|
238
|
+
once, instead of once per spec run. (Myron Marston, rspec/rspec-core#2511)
|
|
199
239
|
* Provide a configuration API to pick which bisect runner is used for
|
|
200
240
|
`--bisect`. Pick a runner via `config.bisect_runner = :shell` or
|
|
201
241
|
`config.bisect_runner = :fork` in a file loaded by a `--require`
|
|
202
|
-
option passed at the command line or set in `.rspec`. (Myron Marston, #2511)
|
|
242
|
+
option passed at the command line or set in `.rspec`. (Myron Marston, rspec/rspec-core#2511)
|
|
203
243
|
* Support the [XDG Base Directory
|
|
204
244
|
Specification](https://specifications.freedesktop.org/basedir-spec/latest/)
|
|
205
245
|
for the global options file. `~/.rspec` is still supported when no
|
|
206
|
-
options file is found in `$XDG_CONFIG_HOME/rspec/options` (Magnus Bergmark, #2538)
|
|
246
|
+
options file is found in `$XDG_CONFIG_HOME/rspec/options` (Magnus Bergmark, rspec/rspec-core#2538)
|
|
207
247
|
* Extract `RSpec.world.prepare_example_filtering` that sets up the
|
|
208
|
-
example filtering for custom RSpec runners. (Oleg Pudeyev, #2552)
|
|
248
|
+
example filtering for custom RSpec runners. (Oleg Pudeyev, rspec/rspec-core#2552)
|
|
209
249
|
|
|
210
250
|
Bug Fixes:
|
|
211
251
|
|
|
212
252
|
* Prevent an `ArgumentError` when truncating backtraces with two identical
|
|
213
|
-
backtraces. (Systho, #2515, Benoit Tigeot, #2539)
|
|
253
|
+
backtraces. (Systho, rspec/rspec-core#2515, Benoit Tigeot, rspec/rspec-core#2539)
|
|
214
254
|
|
|
215
255
|
### 3.7.1 / 2018-01-02
|
|
216
256
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.0...v3.7.1)
|
|
@@ -218,52 +258,52 @@ Bug Fixes:
|
|
|
218
258
|
Bug Fixes:
|
|
219
259
|
|
|
220
260
|
* Work around duplicate config hook regression introduced
|
|
221
|
-
by Ruby 2.5's lazy proc allocation. (Myron Marston, #2497)
|
|
261
|
+
by Ruby 2.5's lazy proc allocation. (Myron Marston, rspec/rspec-core#2497)
|
|
222
262
|
|
|
223
263
|
### 3.7.0 / 2017-10-17
|
|
224
264
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0...v3.7.0)
|
|
225
265
|
|
|
226
266
|
Enhancements:
|
|
227
267
|
|
|
228
|
-
* Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, #2434)
|
|
268
|
+
* Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, rspec/rspec-core#2434)
|
|
229
269
|
* Improve compatibility with `--enable-frozen-string-literal` option
|
|
230
|
-
on Ruby 2.3+. (Pat Allan, #2425, #2427, #2437)
|
|
270
|
+
on Ruby 2.3+. (Pat Allan, rspec/rspec-core#2425, rspec/rspec-core#2427, rspec/rspec-core#2437)
|
|
231
271
|
* Do not run `:context` hooks for example groups that have been skipped.
|
|
232
|
-
(Devon Estes, #2442)
|
|
272
|
+
(Devon Estes, rspec/rspec-core#2442)
|
|
233
273
|
* Add `errors_outside_of_examples_count` to the JSON formatter.
|
|
234
|
-
(Takeshi Arabiki, #2448)
|
|
274
|
+
(Takeshi Arabiki, rspec/rspec-core#2448)
|
|
235
275
|
|
|
236
276
|
Bug Fixes:
|
|
237
277
|
|
|
238
|
-
* Improve compatibility with frozen string literal flag. (#2425, Pat Allan)
|
|
278
|
+
* Improve compatibility with frozen string literal flag. (rspec/rspec-core#2425, Pat Allan)
|
|
239
279
|
|
|
240
280
|
### 3.6.0 / 2017-05-04
|
|
241
281
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0.beta2...v3.6.0)
|
|
242
282
|
|
|
243
283
|
Enhancements:
|
|
244
284
|
|
|
245
|
-
* Add seed information to JSON formatter output. (#2388, Mitsutaka Mimura)
|
|
246
|
-
* Include example id in the JSON formatter output. (#2369, Xavier Shay)
|
|
285
|
+
* Add seed information to JSON formatter output. (rspec/rspec-core#2388, Mitsutaka Mimura)
|
|
286
|
+
* Include example id in the JSON formatter output. (rspec/rspec-core#2369, Xavier Shay)
|
|
247
287
|
* Respect changes to `config.output_stream` after formatters have been
|
|
248
|
-
setup. (#2401, #2419, Ilya Lavrov)
|
|
288
|
+
setup. (rspec/rspec-core#2401, rspec/rspec-core#2419, Ilya Lavrov)
|
|
249
289
|
|
|
250
290
|
Bug Fixes:
|
|
251
291
|
|
|
252
292
|
* Delay formatter loading until the last minute to allow accessing the reporter
|
|
253
|
-
without triggering formatter setup. (Jon Rowe, #2243)
|
|
293
|
+
without triggering formatter setup. (Jon Rowe, rspec/rspec-core#2243)
|
|
254
294
|
* Ensure context hook failures running before an example can access the
|
|
255
|
-
reporter. (Jon Jensen, #2387)
|
|
295
|
+
reporter. (Jon Jensen, rspec/rspec-core#2387)
|
|
256
296
|
* Multiple fixes to allow using the runner multiple times within the same
|
|
257
297
|
process: `RSpec.clear_examples` resets the formatter and no longer clears
|
|
258
298
|
shared examples, and streams can be used across multiple runs rather than
|
|
259
|
-
being closed after the first. (#2368, Xavier Shay)
|
|
299
|
+
being closed after the first. (rspec/rspec-core#2368, Xavier Shay)
|
|
260
300
|
* Prevent unexpected `example_group_finished` notifications causing an error.
|
|
261
|
-
(#2396, VTJamie)
|
|
301
|
+
(rspec/rspec-core#2396, VTJamie)
|
|
262
302
|
* Fix bugs where `config.when_first_matching_example_defined` hooks would fire
|
|
263
|
-
multiple times in some cases. (Yuji Nakayama, #2400)
|
|
303
|
+
multiple times in some cases. (Yuji Nakayama, rspec/rspec-core#2400)
|
|
264
304
|
* Default `last_run_status` to "unknown" when the `status` field in the
|
|
265
|
-
persistence file contains an unrecognized value. (#2360, matrinox)
|
|
266
|
-
* Prevent `let` from defining an `initialize` method. (#2414, Jon Rowe)
|
|
305
|
+
persistence file contains an unrecognized value. (rspec/rspec-core#2360, matrinox)
|
|
306
|
+
* Prevent `let` from defining an `initialize` method. (rspec/rspec-core#2414, Jon Rowe)
|
|
267
307
|
|
|
268
308
|
### 3.6.0.beta2 / 2016-12-12
|
|
269
309
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0.beta1...v3.6.0.beta2)
|
|
@@ -271,10 +311,10 @@ Bug Fixes:
|
|
|
271
311
|
Enhancements:
|
|
272
312
|
|
|
273
313
|
* Include count of errors occurring outside examples in default summaries.
|
|
274
|
-
(#2351, Jon Rowe)
|
|
275
|
-
* Warn when including shared example groups recursively. (#2356, Jon Rowe)
|
|
314
|
+
(rspec/rspec-core#2351, Jon Rowe)
|
|
315
|
+
* Warn when including shared example groups recursively. (rspec/rspec-core#2356, Jon Rowe)
|
|
276
316
|
* Improve failure snippet syntax highlighting with CodeRay to highlight
|
|
277
|
-
RSpec "keywords" like `expect`. (#2358, Myron Marston)
|
|
317
|
+
RSpec "keywords" like `expect`. (rspec/rspec-core#2358, Myron Marston)
|
|
278
318
|
|
|
279
319
|
### 3.6.0.beta1 / 2016-10-09
|
|
280
320
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.4...v3.6.0.beta1)
|
|
@@ -282,18 +322,18 @@ Enhancements:
|
|
|
282
322
|
Enhancements:
|
|
283
323
|
|
|
284
324
|
* Warn when duplicate shared examples definitions are loaded due to being
|
|
285
|
-
defined in files matching the spec pattern (e.g. `_spec.rb`) (#2278, Devon Estes)
|
|
325
|
+
defined in files matching the spec pattern (e.g. `_spec.rb`) (rspec/rspec-core#2278, Devon Estes)
|
|
286
326
|
* Improve metadata filtering so that it can match against any object
|
|
287
327
|
that implements `===` instead of treating regular expressions as
|
|
288
|
-
special. (Myron Marston, #2294)
|
|
328
|
+
special. (Myron Marston, rspec/rspec-core#2294)
|
|
289
329
|
* Improve `rspec -v` so that it prints out the versions of each part of
|
|
290
|
-
RSpec to prevent confusion. (Myron Marston, #2304)
|
|
330
|
+
RSpec to prevent confusion. (Myron Marston, rspec/rspec-core#2304)
|
|
291
331
|
* Add `config.fail_if_no_examples` option which causes RSpec to fail if
|
|
292
|
-
no examples are found. (Ewa Czechowska, #2302)
|
|
332
|
+
no examples are found. (Ewa Czechowska, rspec/rspec-core#2302)
|
|
293
333
|
* Nicely format errors encountered while loading spec files.
|
|
294
|
-
(Myron Marston, #2323)
|
|
334
|
+
(Myron Marston, rspec/rspec-core#2323)
|
|
295
335
|
* Improve the API for enabling and disabling color output (Josh
|
|
296
|
-
Justice, #2321):
|
|
336
|
+
Justice, rspec/rspec-core#2321):
|
|
297
337
|
* Automatically enable color if the output is a TTY, since color is
|
|
298
338
|
nearly always desirable if the output can handle it.
|
|
299
339
|
* Introduce new CLI flag to force color on (`--force-color`), even
|
|
@@ -308,7 +348,7 @@ Enhancements:
|
|
|
308
348
|
Bug Fixes:
|
|
309
349
|
|
|
310
350
|
* Remove accumulated `ExampleGroup` constants when reseting RSpec,
|
|
311
|
-
preventing a memory leak. (TravisSpangle, #2328)
|
|
351
|
+
preventing a memory leak. (TravisSpangle, rspec/rspec-core#2328)
|
|
312
352
|
|
|
313
353
|
### 3.5.3 / 2016-09-02
|
|
314
354
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.2...v3.5.3)
|
|
@@ -318,11 +358,11 @@ Bug Fixes:
|
|
|
318
358
|
* When applying shared group metadata to a host group, overwrite
|
|
319
359
|
conflicting keys if the value in the host group was inherited from
|
|
320
360
|
a parent group instead of being specified at that level.
|
|
321
|
-
(Myron Marston, #2307)
|
|
361
|
+
(Myron Marston, rspec/rspec-core#2307)
|
|
322
362
|
* Handle errors in `:suite` hooks and provide the same nicely formatted
|
|
323
|
-
output as errors that happen in examples. (Myron Marston, #2316)
|
|
363
|
+
output as errors that happen in examples. (Myron Marston, rspec/rspec-core#2316)
|
|
324
364
|
* Set the exit status to non-zero when an error occurs in an
|
|
325
|
-
`after(:context)` hook. (Myron Marston, #2320)
|
|
365
|
+
`after(:context)` hook. (Myron Marston, rspec/rspec-core#2320)
|
|
326
366
|
|
|
327
367
|
### 3.5.2 / 2016-07-28
|
|
328
368
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.1...v3.5.2)
|
|
@@ -330,11 +370,11 @@ Bug Fixes:
|
|
|
330
370
|
Bug Fixes:
|
|
331
371
|
|
|
332
372
|
* Wait to report `example_finished` until the example's `execution_result`
|
|
333
|
-
has been completely filled in. (Myron Marston, #2291)
|
|
373
|
+
has been completely filled in. (Myron Marston, rspec/rspec-core#2291)
|
|
334
374
|
* Make sure example block is still available when using `duplicate_with`
|
|
335
|
-
to clone examples. (bootstraponline, #2298)
|
|
375
|
+
to clone examples. (bootstraponline, rspec/rspec-core#2298)
|
|
336
376
|
* Don't include the default `--pattern` in the Rake task when
|
|
337
|
-
`rspec_opts` specifies its own. (Jon Rowe, #2305)
|
|
377
|
+
`rspec_opts` specifies its own. (Jon Rowe, rspec/rspec-core#2305)
|
|
338
378
|
|
|
339
379
|
### 3.5.1 / 2016-07-06
|
|
340
380
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0...v3.5.1)
|
|
@@ -342,7 +382,7 @@ Bug Fixes:
|
|
|
342
382
|
Bug Fixes:
|
|
343
383
|
|
|
344
384
|
* Ensure that config hooks that are added to existing example groups are
|
|
345
|
-
added only once. (Eugene Kenny, #2280)
|
|
385
|
+
added only once. (Eugene Kenny, rspec/rspec-core#2280)
|
|
346
386
|
|
|
347
387
|
### 3.5.0 / 2016-07-01
|
|
348
388
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta4...v3.5.0)
|
|
@@ -350,12 +390,12 @@ Bug Fixes:
|
|
|
350
390
|
Enhancements:
|
|
351
391
|
|
|
352
392
|
* Include any `SPEC_OPTS` in reproduction command printed at the end of
|
|
353
|
-
a bisect run. (Simon Coffey, #2274)
|
|
393
|
+
a bisect run. (Simon Coffey, rspec/rspec-core#2274)
|
|
354
394
|
|
|
355
395
|
Bug Fixes:
|
|
356
396
|
|
|
357
397
|
* Handle `--bisect` in `SPEC_OPTS` environment variable correctly so as
|
|
358
|
-
to avoid infinite recursion. (Simon Coffey, #2271)
|
|
398
|
+
to avoid infinite recursion. (Simon Coffey, rspec/rspec-core#2271)
|
|
359
399
|
|
|
360
400
|
### 3.5.0.beta4 / 2016-06-05
|
|
361
401
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta3...v3.5.0.beta4)
|
|
@@ -364,30 +404,30 @@ Enhancements:
|
|
|
364
404
|
|
|
365
405
|
* Filter out bundler stackframes from backtraces by default, since
|
|
366
406
|
Bundler 1.12 now includes its own frames in stack traces produced
|
|
367
|
-
by using `bundle exec`. (Myron Marston, #2240)
|
|
407
|
+
by using `bundle exec`. (Myron Marston, rspec/rspec-core#2240)
|
|
368
408
|
* HTML Formatter uses exception presenter to get failure message
|
|
369
|
-
for consistency with other formatters. (@mrageh, #2222)
|
|
409
|
+
for consistency with other formatters. (@mrageh, rspec/rspec-core#2222)
|
|
370
410
|
* Load spec files in the order of the directories or files passed
|
|
371
411
|
at the command line, making it easy to make some specs run before
|
|
372
412
|
others in a one-off manner. For example, `rspec spec/unit
|
|
373
413
|
spec/acceptance --order defined` will run unit specs before acceptance
|
|
374
|
-
specs. (Myron Marston, #2253)
|
|
414
|
+
specs. (Myron Marston, rspec/rspec-core#2253)
|
|
375
415
|
* Add new `config.include_context` API for configuring global or
|
|
376
416
|
filtered inclusion of shared contexts in example groups.
|
|
377
|
-
(Myron Marston, #2256)
|
|
417
|
+
(Myron Marston, rspec/rspec-core#2256)
|
|
378
418
|
* Add new `config.shared_context_metadata_behavior = :apply_to_host_groups`
|
|
379
419
|
option, which causes shared context metadata to be inherited by the
|
|
380
420
|
metadata hash of all host groups and examples instead of configuring
|
|
381
|
-
implicit auto-inclusion based on the passed metadata. (Myron Marston, #2256)
|
|
421
|
+
implicit auto-inclusion based on the passed metadata. (Myron Marston, rspec/rspec-core#2256)
|
|
382
422
|
|
|
383
423
|
Bug Fixes:
|
|
384
424
|
|
|
385
425
|
* Fix `--bisect` so it works on large spec suites that were previously triggering
|
|
386
426
|
"Argument list too long errors" due to all the spec locations being passed as
|
|
387
|
-
CLI args. (Matt Jones, #2223).
|
|
427
|
+
CLI args. (Matt Jones, rspec/rspec-core#2223).
|
|
388
428
|
* Fix deprecated `:example_group`-based filtering so that it properly
|
|
389
|
-
applies to matching example groups. (Myron Marston, #2234)
|
|
390
|
-
* Fix `NoMethodError` caused by Java backtraces on JRuby. (Michele Piccirillo, #2244)
|
|
429
|
+
applies to matching example groups. (Myron Marston, rspec/rspec-core#2234)
|
|
430
|
+
* Fix `NoMethodError` caused by Java backtraces on JRuby. (Michele Piccirillo, rspec/rspec-core#2244)
|
|
391
431
|
|
|
392
432
|
### 3.5.0.beta3 / 2016-04-02
|
|
393
433
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta2...v3.5.0.beta3)
|
|
@@ -396,15 +436,15 @@ Enhancements:
|
|
|
396
436
|
|
|
397
437
|
* Add new `config.filter_run_when_matching` API, intended to replace
|
|
398
438
|
the combination of `config.filter_run` and
|
|
399
|
-
`config.run_all_when_everything_filtered` (Myron Marston, #2206)
|
|
439
|
+
`config.run_all_when_everything_filtered` (Myron Marston, rspec/rspec-core#2206)
|
|
400
440
|
|
|
401
441
|
Bug Fixes:
|
|
402
442
|
|
|
403
|
-
* Use the encoded string logic for source extraction. (Jon Rowe, #2183)
|
|
404
|
-
* Fix rounding issue in duration formatting helper. (Fabersky, Jon Rowe, #2208)
|
|
443
|
+
* Use the encoded string logic for source extraction. (Jon Rowe, rspec/rspec-core#2183)
|
|
444
|
+
* Fix rounding issue in duration formatting helper. (Fabersky, Jon Rowe, rspec/rspec-core#2208)
|
|
405
445
|
* Fix failure snippet extraction so that `def-end` snippets
|
|
406
446
|
ending with `end`-only line can be extracted properly.
|
|
407
|
-
(Yuji Nakayama, #2215)
|
|
447
|
+
(Yuji Nakayama, rspec/rspec-core#2215)
|
|
408
448
|
|
|
409
449
|
### 3.5.0.beta2 / 2016-03-10
|
|
410
450
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta1...v3.5.0.beta2)
|
|
@@ -412,13 +452,13 @@ Bug Fixes:
|
|
|
412
452
|
Enhancements:
|
|
413
453
|
|
|
414
454
|
* Remove unneeded `:execution_result` example group metadata, saving a
|
|
415
|
-
bit of memory. (Myron Marston, #2172)
|
|
455
|
+
bit of memory. (Myron Marston, rspec/rspec-core#2172)
|
|
416
456
|
* Apply hooks registered with `config` to previously defined groups.
|
|
417
|
-
(Myron Marston, #2189)
|
|
457
|
+
(Myron Marston, rspec/rspec-core#2189)
|
|
418
458
|
* `RSpec::Core::Configuration#reporter` is now public API under SemVer.
|
|
419
|
-
(Jon Rowe, #2193)
|
|
459
|
+
(Jon Rowe, rspec/rspec-core#2193)
|
|
420
460
|
* Add new `config.when_first_matching_example_defined` hook. (Myron
|
|
421
|
-
Marston, #2175)
|
|
461
|
+
Marston, rspec/rspec-core#2175)
|
|
422
462
|
|
|
423
463
|
### 3.5.0.beta1 / 2016-02-06
|
|
424
464
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.4...v3.5.0.beta1)
|
|
@@ -426,12 +466,12 @@ Enhancements:
|
|
|
426
466
|
Enhancements:
|
|
427
467
|
|
|
428
468
|
* Add `RSpec::Core::ExampleGroup.currently_executing_a_context_hook?`,
|
|
429
|
-
primarily for use by rspec-rails. (Sam Phippen, #2131)
|
|
469
|
+
primarily for use by rspec-rails. (Sam Phippen, rspec/rspec-core#2131)
|
|
430
470
|
|
|
431
471
|
Bug Fixes:
|
|
432
472
|
|
|
433
473
|
* Ensure `MultipleExceptionError` does not contain a recursive reference
|
|
434
|
-
to itself. (Sam Phippen, #2133)
|
|
474
|
+
to itself. (Sam Phippen, rspec/rspec-core#2133)
|
|
435
475
|
|
|
436
476
|
### 3.4.4 / 2016-03-09
|
|
437
477
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.3...v3.4.4)
|
|
@@ -439,7 +479,7 @@ Bug Fixes:
|
|
|
439
479
|
Bug Fixes:
|
|
440
480
|
|
|
441
481
|
* Fix `RSpec::Core::RakeTask` so that it works with Rake 11.
|
|
442
|
-
(Travis Grathwell, #2197)
|
|
482
|
+
(Travis Grathwell, rspec/rspec-core#2197)
|
|
443
483
|
|
|
444
484
|
### 3.4.3 / 2016-02-19
|
|
445
485
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.2...v3.4.3)
|
|
@@ -447,15 +487,15 @@ Bug Fixes:
|
|
|
447
487
|
Bug Fixes:
|
|
448
488
|
|
|
449
489
|
* Prevent a `TypeError` from occurring when running via the rake task when
|
|
450
|
-
Ruby crashes. (Patrik Wenger, #2161)
|
|
490
|
+
Ruby crashes. (Patrik Wenger, rspec/rspec-core#2161)
|
|
451
491
|
* Only consider example and group declaration lines from a specific file
|
|
452
492
|
when applying line number filtering, instead of considering all
|
|
453
|
-
declaration lines from all spec files. (Myron Marston, #2170)
|
|
493
|
+
declaration lines from all spec files. (Myron Marston, rspec/rspec-core#2170)
|
|
454
494
|
* Fix failure snippet extraction so that snippets that contain `do-end` style
|
|
455
495
|
block and end with `end`-only line can be extracted properly.
|
|
456
|
-
(Yuji Nakayama, #2173)
|
|
496
|
+
(Yuji Nakayama, rspec/rspec-core#2173)
|
|
457
497
|
* Prevent infinite recursion when an exception is caused by itself.
|
|
458
|
-
(Jon Rowe, #2128)
|
|
498
|
+
(Jon Rowe, rspec/rspec-core#2128)
|
|
459
499
|
|
|
460
500
|
### 3.4.2 / 2016-01-26
|
|
461
501
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.1...v3.4.2)
|
|
@@ -463,13 +503,13 @@ Bug Fixes:
|
|
|
463
503
|
Bug Fixes:
|
|
464
504
|
|
|
465
505
|
* Fix `rspec --profile` when an example calls `abort` or `exit`.
|
|
466
|
-
(Bradley Schaefer, #2144)
|
|
506
|
+
(Bradley Schaefer, rspec/rspec-core#2144)
|
|
467
507
|
* Fix `--drb` so that when no DRb server is running, it prevents
|
|
468
508
|
the DRb connection error from being listed as the cause of all
|
|
469
|
-
expectation failures. (Myron Marston, #2156)
|
|
509
|
+
expectation failures. (Myron Marston, rspec/rspec-core#2156)
|
|
470
510
|
* Fix syntax highlighter so that it works when the `coderay` gem is
|
|
471
511
|
installed as a rubygem but not already available on your load path
|
|
472
|
-
(as happens when you use bundler). (Myron Marston, #2159)
|
|
512
|
+
(as happens when you use bundler). (Myron Marston, rspec/rspec-core#2159)
|
|
473
513
|
|
|
474
514
|
### 3.4.1 / 2015-11-18
|
|
475
515
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.0...v3.4.1)
|
|
@@ -477,7 +517,7 @@ Bug Fixes:
|
|
|
477
517
|
Bug Fixes:
|
|
478
518
|
|
|
479
519
|
* Fix backtrace formatter to handle backtraces that are `nil`.
|
|
480
|
-
(Myron Marston, #2118)
|
|
520
|
+
(Myron Marston, rspec/rspec-core#2118)
|
|
481
521
|
|
|
482
522
|
### 3.4.0 / 2015-11-11
|
|
483
523
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.2...v3.4.0)
|
|
@@ -485,68 +525,68 @@ Bug Fixes:
|
|
|
485
525
|
Enhancements:
|
|
486
526
|
|
|
487
527
|
* Combine multiple `--pattern` arguments making them equivalent to
|
|
488
|
-
`--pattern=1,2,...,n`. (Jon Rowe, #2002)
|
|
528
|
+
`--pattern=1,2,...,n`. (Jon Rowe, rspec/rspec-core#2002)
|
|
489
529
|
* Improve `inspect` and `to_s` output for `RSpec::Core::Example`
|
|
490
|
-
objects, replacing Ruby's excessively verbose output. (Gavin Miller, #1922)
|
|
530
|
+
objects, replacing Ruby's excessively verbose output. (Gavin Miller, rspec/rspec-core#1922)
|
|
491
531
|
* Add `silence_filter_announcements` configuration option.
|
|
492
|
-
(David Raffensperger, #2007)
|
|
532
|
+
(David Raffensperger, rspec/rspec-core#2007)
|
|
493
533
|
* Add optional `example_finished` notification to the reporter protocol for
|
|
494
|
-
when you don't care about the example outcome. (Jon Rowe, #2013)
|
|
534
|
+
when you don't care about the example outcome. (Jon Rowe, rspec/rspec-core#2013)
|
|
495
535
|
* Switch `--bisect` to a recursion-based bisection algorithm rather than
|
|
496
536
|
a permutation-based one. This better handles cases where an example
|
|
497
537
|
depends upon multiple other examples instead of just one and minimizes
|
|
498
538
|
the number of runs necessary to determine that an example set cannot be
|
|
499
|
-
minimized further. (Simon Coffey, #1997)
|
|
539
|
+
minimized further. (Simon Coffey, rspec/rspec-core#1997)
|
|
500
540
|
* Allow simple filters (e.g. `:symbol` key only) to be triggered by truthey
|
|
501
|
-
values. (Tim Mertens, #2035)
|
|
541
|
+
values. (Tim Mertens, rspec/rspec-core#2035)
|
|
502
542
|
* Remove unneeded warning about need for `ansicon` on Windows when using
|
|
503
|
-
RSpec's `--color` option. (Ashley Engelund, #2038)
|
|
543
|
+
RSpec's `--color` option. (Ashley Engelund, rspec/rspec-core#2038)
|
|
504
544
|
* Add option to configure RSpec to raise errors when issuing warnings.
|
|
505
|
-
(Jon Rowe, #2052)
|
|
545
|
+
(Jon Rowe, rspec/rspec-core#2052)
|
|
506
546
|
* Append the root `cause` of a failure or error to the printed failure
|
|
507
547
|
output when a `cause` is available. (Adam Magan)
|
|
508
548
|
* Stop rescuing `NoMemoryError`, `SignalExcepetion`, `Interrupt` and
|
|
509
|
-
`SystemExit`. It is dangerous to interfere with these. (Myron Marston, #2063)
|
|
549
|
+
`SystemExit`. It is dangerous to interfere with these. (Myron Marston, rspec/rspec-core#2063)
|
|
510
550
|
* Add `config.project_source_dirs` setting which RSpec uses to determine
|
|
511
551
|
if a backtrace line comes from your project source or from some
|
|
512
552
|
external library. It defaults to `spec`, `lib` and `app` but can be
|
|
513
|
-
configured differently. (Myron Marston, #2088)
|
|
553
|
+
configured differently. (Myron Marston, rspec/rspec-core#2088)
|
|
514
554
|
* Improve failure line detection so that it looks for the failure line
|
|
515
555
|
in any project source directory instead of just in the spec file.
|
|
516
556
|
In addition, if no backtrace lines can be found from a project source
|
|
517
557
|
file, we fall back to displaying the source of the first backtrace
|
|
518
558
|
line. This should virtually eliminate the "Unable to find matching
|
|
519
|
-
line from backtrace" messages. (Myron Marston, #2088)
|
|
559
|
+
line from backtrace" messages. (Myron Marston, rspec/rspec-core#2088)
|
|
520
560
|
* Add support for `:extra_failure_lines` example metadata that will
|
|
521
|
-
be appended to the failure output. (bootstraponline, #2092).
|
|
561
|
+
be appended to the failure output. (bootstraponline, rspec/rspec-core#2092).
|
|
522
562
|
* Add `RSpec::Core::Example#duplicate_with` to produce new examples
|
|
523
|
-
with cloned metadata. (bootstraponline, #2098)
|
|
563
|
+
with cloned metadata. (bootstraponline, rspec/rspec-core#2098)
|
|
524
564
|
* Add `RSpec::Core::Configuration#on_example_group_definition` to register
|
|
525
|
-
hooks to be invoked when example groups are created. (bootstraponline, #2094)
|
|
565
|
+
hooks to be invoked when example groups are created. (bootstraponline, rspec/rspec-core#2094)
|
|
526
566
|
* Add `add_example` and `remove_example` to `RSpec::Core::ExampleGroup` to
|
|
527
|
-
allow manipulating an example groups examples. (bootstraponline, #2095)
|
|
567
|
+
allow manipulating an example groups examples. (bootstraponline, rspec/rspec-core#2095)
|
|
528
568
|
* Display multiline failure source lines in failure output when Ripper is
|
|
529
569
|
available (MRI >= 1.9.2, and JRuby >= 1.7.5 && < 9.0.0.0.rc1).
|
|
530
|
-
(Yuji Nakayama, #2083)
|
|
570
|
+
(Yuji Nakayama, rspec/rspec-core#2083)
|
|
531
571
|
* Add `max_displayed_failure_line_count` configuration option
|
|
532
|
-
(defaults to 10). (Yuji Nakayama, #2083)
|
|
572
|
+
(defaults to 10). (Yuji Nakayama, rspec/rspec-core#2083)
|
|
533
573
|
* Enhance `fail_fast` option so it can take a number (e.g. `--fail-fast=3`)
|
|
534
574
|
to force the run to abort after the specified number of failures.
|
|
535
|
-
(Jack Scotti, #2065)
|
|
575
|
+
(Jack Scotti, rspec/rspec-core#2065)
|
|
536
576
|
* Syntax highlight the failure snippets in text formatters when `color`
|
|
537
577
|
is enabled and the `coderay` gem is installed on a POSIX system.
|
|
538
|
-
(Myron Marston, #2109)
|
|
578
|
+
(Myron Marston, rspec/rspec-core#2109)
|
|
539
579
|
|
|
540
580
|
Bug Fixes:
|
|
541
581
|
|
|
542
582
|
* Lock `example_status_persistence_file` when reading from and writing
|
|
543
583
|
to it to prevent race conditions when multiple processes try to use
|
|
544
|
-
it. (Ben Woosley, #2029)
|
|
584
|
+
it. (Ben Woosley, rspec/rspec-core#2029)
|
|
545
585
|
* Fix regression in 3.3 that caused spec file names with square brackets in
|
|
546
|
-
them (such as `1[]_spec.rb`) to not be loaded properly. (Myron Marston, #2041)
|
|
547
|
-
* Fix output encoding issue caused by ASCII literal on 1.9.3 (Jon Rowe, #2072)
|
|
586
|
+
them (such as `1[]_spec.rb`) to not be loaded properly. (Myron Marston, rspec/rspec-core#2041)
|
|
587
|
+
* Fix output encoding issue caused by ASCII literal on 1.9.3 (Jon Rowe, rspec/rspec-core#2072)
|
|
548
588
|
* Fix requires in `rspec/core/rake_task.rb` to avoid double requires
|
|
549
|
-
seen by some users. (Myron Marston, #2101)
|
|
589
|
+
seen by some users. (Myron Marston, rspec/rspec-core#2101)
|
|
550
590
|
|
|
551
591
|
### 3.3.2 / 2015-07-15
|
|
552
592
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.1...v3.3.2)
|
|
@@ -554,9 +594,9 @@ Bug Fixes:
|
|
|
554
594
|
Bug Fixes:
|
|
555
595
|
|
|
556
596
|
* Fix formatters to handle exceptions for which `backtrace` returns `nil`.
|
|
557
|
-
(Myron Marston, #2023)
|
|
597
|
+
(Myron Marston, rspec/rspec-core#2023)
|
|
558
598
|
* Fix duplicate formatter detection so that it allows subclasses of formatters
|
|
559
|
-
to be added. (Sebastián Tello, #2019)
|
|
599
|
+
to be added. (Sebastián Tello, rspec/rspec-core#2019)
|
|
560
600
|
|
|
561
601
|
### 3.3.1 / 2015-06-18
|
|
562
602
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.0...v3.3.1)
|
|
@@ -565,7 +605,7 @@ Bug Fixes:
|
|
|
565
605
|
|
|
566
606
|
* Correctly run `before(:suite)` (and friends) in the context of an example
|
|
567
607
|
group instance, thus making the expected RSpec environment available.
|
|
568
|
-
(Jon Rowe, #1986)
|
|
608
|
+
(Jon Rowe, rspec/rspec-core#1986)
|
|
569
609
|
|
|
570
610
|
### 3.3.0 / 2015-06-12
|
|
571
611
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.3...v3.3.0)
|
|
@@ -573,74 +613,74 @@ Bug Fixes:
|
|
|
573
613
|
Enhancements:
|
|
574
614
|
|
|
575
615
|
* Expose the reporter used to run examples via `RSpec::Core::Example#reporter`.
|
|
576
|
-
(Jon Rowe, #1866)
|
|
577
|
-
* Make `RSpec::Core::Reporter#message` a public supported API. (Jon Rowe, #1866)
|
|
616
|
+
(Jon Rowe, rspec/rspec-core#1866)
|
|
617
|
+
* Make `RSpec::Core::Reporter#message` a public supported API. (Jon Rowe, rspec/rspec-core#1866)
|
|
578
618
|
* Allow custom formatter events to be published via
|
|
579
|
-
`RSpec::Core::Reporter#publish(event_name, hash_of_attributes)`. (Jon Rowe, #1869)
|
|
619
|
+
`RSpec::Core::Reporter#publish(event_name, hash_of_attributes)`. (Jon Rowe, rspec/rspec-core#1869)
|
|
580
620
|
* Remove dependency on the standard library `Set` and replace with `RSpec::Core::Set`.
|
|
581
|
-
(Jon Rowe, #1870)
|
|
621
|
+
(Jon Rowe, rspec/rspec-core#1870)
|
|
582
622
|
* Assign a unique id to each example and group so that they can be
|
|
583
623
|
uniquely identified, even for shared examples (and similar situations)
|
|
584
|
-
where the location isn't unique. (Myron Marston, #1884)
|
|
624
|
+
where the location isn't unique. (Myron Marston, rspec/rspec-core#1884)
|
|
585
625
|
* Use the example id in the rerun command printed for failed examples
|
|
586
|
-
when the location is not unique. (Myron Marston, #1884)
|
|
626
|
+
when the location is not unique. (Myron Marston, rspec/rspec-core#1884)
|
|
587
627
|
* Add `config.example_status_persistence_file_path` option, which is
|
|
588
|
-
used to persist the last run status of each example. (Myron Marston, #1888)
|
|
628
|
+
used to persist the last run status of each example. (Myron Marston, rspec/rspec-core#1888)
|
|
589
629
|
* Add `:last_run_status` metadata to each example, which indicates what
|
|
590
|
-
happened the last time an example ran. (Myron Marston, #1888)
|
|
630
|
+
happened the last time an example ran. (Myron Marston, rspec/rspec-core#1888)
|
|
591
631
|
* Add `--only-failures` CLI option which filters to only the examples
|
|
592
|
-
that failed the last time they ran. (Myron Marston, #1888)
|
|
632
|
+
that failed the last time they ran. (Myron Marston, rspec/rspec-core#1888)
|
|
593
633
|
* Add `--next-failure` CLI option which allows you to repeatedly focus
|
|
594
634
|
on just one of the currently failing examples, then move on to the
|
|
595
|
-
next failure, etc. (Myron Marston, #1888)
|
|
635
|
+
next failure, etc. (Myron Marston, rspec/rspec-core#1888)
|
|
596
636
|
* Make `--order random` ordering stable, so that when you rerun a
|
|
597
637
|
subset with a given seed, the examples will be order consistently
|
|
598
|
-
relative to each other. (Myron Marston, #1908)
|
|
638
|
+
relative to each other. (Myron Marston, rspec/rspec-core#1908)
|
|
599
639
|
* Set example group constant earlier so errors when evaluating the context
|
|
600
|
-
include the example group name (Myron Marson, #1911)
|
|
601
|
-
* Make `let` and `subject` threadsafe. (Josh Cheek, #1858)
|
|
602
|
-
* Add version information into the JSON formatter. (Mark Swinson, #1883)
|
|
640
|
+
include the example group name (Myron Marson, rspec/rspec-core#1911)
|
|
641
|
+
* Make `let` and `subject` threadsafe. (Josh Cheek, rspec/rspec-core#1858)
|
|
642
|
+
* Add version information into the JSON formatter. (Mark Swinson, rspec/rspec-core#1883)
|
|
603
643
|
* Add `--bisect` CLI option, which will repeatedly run your suite in
|
|
604
644
|
order to isolate the failures to the smallest reproducible case.
|
|
605
|
-
(Myron Marston, #1917)
|
|
645
|
+
(Myron Marston, rspec/rspec-core#1917)
|
|
606
646
|
* For `config.include`, `config.extend` and `config.prepend`, apply the
|
|
607
|
-
module to previously defined matching example groups. (Eugene Kenny, #1935)
|
|
647
|
+
module to previously defined matching example groups. (Eugene Kenny, rspec/rspec-core#1935)
|
|
608
648
|
* When invalid options are parsed, notify users where they came from
|
|
609
649
|
(e.g. `.rspec` or `~/.rspec` or `ENV['SPEC_OPTS']`) so they can
|
|
610
|
-
easily find the source of the problem. (Myron Marston, #1940)
|
|
611
|
-
* Add pending message contents to the json formatter output. (Jon Rowe, #1949)
|
|
650
|
+
easily find the source of the problem. (Myron Marston, rspec/rspec-core#1940)
|
|
651
|
+
* Add pending message contents to the json formatter output. (Jon Rowe, rspec/rspec-core#1949)
|
|
612
652
|
* Add shared group backtrace to the output displayed by the built-in
|
|
613
|
-
formatters for pending examples that have been fixed. (Myron Marston, #1946)
|
|
653
|
+
formatters for pending examples that have been fixed. (Myron Marston, rspec/rspec-core#1946)
|
|
614
654
|
* Add support for `:aggregate_failures` metadata. Tag an example or
|
|
615
655
|
group with this metadata and it'll use rspec-expectations'
|
|
616
656
|
`aggregate_failures` feature to allow multiple failures in an example
|
|
617
657
|
and list them all, rather than aborting on the first failure. (Myron
|
|
618
|
-
Marston, #1946)
|
|
658
|
+
Marston, rspec/rspec-core#1946)
|
|
619
659
|
* When no formatter implements #message add a fallback to prevent those
|
|
620
|
-
messages being lost. (Jon Rowe, #1980)
|
|
660
|
+
messages being lost. (Jon Rowe, rspec/rspec-core#1980)
|
|
621
661
|
* Profiling examples now takes into account time spent in `before(:context)`
|
|
622
|
-
hooks. (Denis Laliberté, Jon Rowe, #1971)
|
|
662
|
+
hooks. (Denis Laliberté, Jon Rowe, rspec/rspec-core#1971)
|
|
623
663
|
* Improve failure output when an example has multiple exceptions, such
|
|
624
|
-
as one from an `it` block and one from an `after` block. (Myron Marston, #1985)
|
|
664
|
+
as one from an `it` block and one from an `after` block. (Myron Marston, rspec/rspec-core#1985)
|
|
625
665
|
|
|
626
666
|
Bug Fixes:
|
|
627
667
|
|
|
628
|
-
* Handle invalid UTF-8 strings within exception methods. (Benjamin Fleischer, #1760)
|
|
668
|
+
* Handle invalid UTF-8 strings within exception methods. (Benjamin Fleischer, rspec/rspec-core#1760)
|
|
629
669
|
* Fix Rake Task quoting of file names with quotes to work properly on
|
|
630
|
-
Windows. (Myron Marston, #1887)
|
|
670
|
+
Windows. (Myron Marston, rspec/rspec-core#1887)
|
|
631
671
|
* Fix `RSpec::Core::RakeTask#failure_message` so that it gets printed
|
|
632
|
-
when the task failed. (Myron Marston, #1905)
|
|
672
|
+
when the task failed. (Myron Marston, rspec/rspec-core#1905)
|
|
633
673
|
* Make `let` work properly when defined in a shared context that is applied
|
|
634
|
-
to an individual example via metadata. (Myron Marston, #1912)
|
|
635
|
-
* Ensure `rspec/autorun` respects configuration defaults. (Jon Rowe, #1933)
|
|
674
|
+
to an individual example via metadata. (Myron Marston, rspec/rspec-core#1912)
|
|
675
|
+
* Ensure `rspec/autorun` respects configuration defaults. (Jon Rowe, rspec/rspec-core#1933)
|
|
636
676
|
* Prevent modules overriding example group defined methods when included,
|
|
637
|
-
prepended or extended by config defined after an example group. (Eugene Kenny, #1935)
|
|
677
|
+
prepended or extended by config defined after an example group. (Eugene Kenny, rspec/rspec-core#1935)
|
|
638
678
|
* Fix regression which caused shared examples to be mistakenly run when specs
|
|
639
|
-
where filtered to a particular location. (Ben Axnick, #1963)
|
|
679
|
+
where filtered to a particular location. (Ben Axnick, rspec/rspec-core#1963)
|
|
640
680
|
* Fix time formatting logic so that it displays 70 seconds as "1 minute,
|
|
641
|
-
10 seconds" rather than "1 minute, 1 second". (Paul Brennan, #1984)
|
|
681
|
+
10 seconds" rather than "1 minute, 1 second". (Paul Brennan, rspec/rspec-core#1984)
|
|
642
682
|
* Fix regression where the formatter loader would allow duplicate formatters.
|
|
643
|
-
(Jon Rowe, #1990)
|
|
683
|
+
(Jon Rowe, rspec/rspec-core#1990)
|
|
644
684
|
|
|
645
685
|
### 3.2.3 / 2015-04-06
|
|
646
686
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.2...v3.2.3)
|
|
@@ -649,10 +689,10 @@ Bug Fixes:
|
|
|
649
689
|
|
|
650
690
|
* Fix how the DSL methods are defined so that RSpec is compatible with
|
|
651
691
|
gems that define methods of the same name on `Kernel` (such as
|
|
652
|
-
the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, #1907)
|
|
692
|
+
the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, rspec/rspec-core#1907)
|
|
653
693
|
* Fix `before(:context) { skip }` so that it does not wrongly cause the
|
|
654
694
|
spec suite to exit with a non-zero status when no examples failed.
|
|
655
|
-
(Myron Marston, #1926)
|
|
695
|
+
(Myron Marston, rspec/rspec-core#1926)
|
|
656
696
|
|
|
657
697
|
### 3.2.2 / 2015-03-11
|
|
658
698
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.1...v3.2.2)
|
|
@@ -662,7 +702,7 @@ Bug Fixes:
|
|
|
662
702
|
* Fix regression in 3.2.0 that allowed tag-filtered examples to
|
|
663
703
|
run even if there was a location filter applied to the spec
|
|
664
704
|
file that was intended to limit the file to other examples.
|
|
665
|
-
(#1894, Myron Marston)
|
|
705
|
+
(rspec/rspec-core#1894, Myron Marston)
|
|
666
706
|
|
|
667
707
|
### 3.2.1 / 2015-02-23
|
|
668
708
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.0...v3.2.1)
|
|
@@ -670,95 +710,95 @@ Bug Fixes:
|
|
|
670
710
|
Bug Fixes:
|
|
671
711
|
|
|
672
712
|
* Notify start-of-run seed _before_ `start` notification rather than
|
|
673
|
-
_after_ so that formatters like Fuubar work properly. (Samuel Esposito, #1882)
|
|
713
|
+
_after_ so that formatters like Fuubar work properly. (Samuel Esposito, rspec/rspec-core#1882)
|
|
674
714
|
|
|
675
715
|
### 3.2.0 / 2015-02-03
|
|
676
716
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.7...v3.2.0)
|
|
677
717
|
|
|
678
718
|
Enhancements:
|
|
679
719
|
|
|
680
|
-
* Improve the `inspect` output of example groups. (Mike Dalton, #1687)
|
|
720
|
+
* Improve the `inspect` output of example groups. (Mike Dalton, rspec/rspec-core#1687)
|
|
681
721
|
* When rake task fails, only output the command if `verbose` flag is
|
|
682
|
-
set. (Ben Snape, #1704)
|
|
722
|
+
set. (Ben Snape, rspec/rspec-core#1704)
|
|
683
723
|
* Add `RSpec.clear_examples` as a clear way to reset examples in between
|
|
684
|
-
spec runs, whilst retaining user configuration. (Alexey Fedorov, #1706)
|
|
724
|
+
spec runs, whilst retaining user configuration. (Alexey Fedorov, rspec/rspec-core#1706)
|
|
685
725
|
* Reduce string allocations when defining and running examples by 70%
|
|
686
|
-
and 50% respectively. (Myron Marston, #1738)
|
|
687
|
-
* Removed dependency on pathname from stdlib. (Sam Phippen, #1703)
|
|
726
|
+
and 50% respectively. (Myron Marston, rspec/rspec-core#1738)
|
|
727
|
+
* Removed dependency on pathname from stdlib. (Sam Phippen, rspec/rspec-core#1703)
|
|
688
728
|
* Improve the message presented when a user hits Ctrl-C.
|
|
689
|
-
(Alex Chaffee #1717, #1742)
|
|
729
|
+
(Alex Chaffee rspec/rspec-core#1717, rspec/rspec-core#1742)
|
|
690
730
|
* Improve shared example group inclusion backtrace displayed
|
|
691
731
|
in failed example output so that it works for all methods
|
|
692
732
|
of including shared example groups and shows all inclusion
|
|
693
|
-
locations. (Myron Marston, #1763)
|
|
733
|
+
locations. (Myron Marston, rspec/rspec-core#1763)
|
|
694
734
|
* Issue seed notification at start (as well as the end) of the reporter
|
|
695
|
-
run. (Arlandis Word, #1761)
|
|
696
|
-
* Improve the documentation of around hooks. (Jim Kingdon, #1772)
|
|
735
|
+
run. (Arlandis Word, rspec/rspec-core#1761)
|
|
736
|
+
* Improve the documentation of around hooks. (Jim Kingdon, rspec/rspec-core#1772)
|
|
697
737
|
* Support prepending of modules into example groups from config and allow
|
|
698
|
-
filtering based on metadata. (Arlandis Word, #1806)
|
|
738
|
+
filtering based on metadata. (Arlandis Word, rspec/rspec-core#1806)
|
|
699
739
|
* Emit warnings when `:suite` hooks are registered on an example group
|
|
700
740
|
(where it has always been ignored) or are registered with metadata
|
|
701
|
-
(which has always been ignored). (Myron Marston, #1805)
|
|
741
|
+
(which has always been ignored). (Myron Marston, rspec/rspec-core#1805)
|
|
702
742
|
* Provide a friendly error message when users call RSpec example group
|
|
703
743
|
APIs (e.g. `context`, `describe`, `it`, `let`, `before`, etc) from
|
|
704
|
-
within an example where those APIs are unavailable. (Myron Marston, #1819)
|
|
744
|
+
within an example where those APIs are unavailable. (Myron Marston, rspec/rspec-core#1819)
|
|
705
745
|
* Provide a friendly error message when users call RSpec example
|
|
706
746
|
APIs (e.g. `expect`, `double`, `stub_const`, etc) from
|
|
707
747
|
within an example group where those APIs are unavailable.
|
|
708
|
-
(Myron Marston, #1819)
|
|
748
|
+
(Myron Marston, rspec/rspec-core#1819)
|
|
709
749
|
* Add new `RSpec::Core::Sandbox.sandboxed { }` API that facilitates
|
|
710
750
|
testing RSpec with RSpec, allowing you to define example groups
|
|
711
751
|
and example from within an example without affecting the global
|
|
712
752
|
`RSpec.world` state. (Tyler Ball, 1808)
|
|
713
753
|
* Apply line-number filters only to the files they are scoped to,
|
|
714
|
-
allowing you to mix filtered and unfiltered files. (Myron Marston, #1839)
|
|
754
|
+
allowing you to mix filtered and unfiltered files. (Myron Marston, rspec/rspec-core#1839)
|
|
715
755
|
* When dumping pending examples, include the failure details so that you
|
|
716
|
-
don't have to un-pend the example to see it. (Myron Marston, #1844)
|
|
756
|
+
don't have to un-pend the example to see it. (Myron Marston, rspec/rspec-core#1844)
|
|
717
757
|
* Make `-I` option support multiple values when separated by
|
|
718
758
|
`File::PATH_SEPARATOR`, such as `rspec -I foo:bar`. This matches
|
|
719
|
-
the behavior of Ruby's `-I` option. (Fumiaki Matsushima, #1855).
|
|
759
|
+
the behavior of Ruby's `-I` option. (Fumiaki Matsushima, rspec/rspec-core#1855).
|
|
720
760
|
* Treat each example as having a singleton example group for the
|
|
721
761
|
purposes of applying metadata-based features that normally apply
|
|
722
762
|
to example groups to individually tagged examples. For example,
|
|
723
763
|
`RSpec.shared_context "Uses redis", :uses_redis` will now apply
|
|
724
764
|
to individual examples tagged with `:uses_redis`, as will
|
|
725
765
|
`config.include RedisHelpers, :uses_redis`, and
|
|
726
|
-
`config.before(:context, :uses_redis) { }`, etc. (Myron Marston, #1749)
|
|
766
|
+
`config.before(:context, :uses_redis) { }`, etc. (Myron Marston, rspec/rspec-core#1749)
|
|
727
767
|
|
|
728
768
|
Bug Fixes:
|
|
729
769
|
|
|
730
770
|
* When assigning generated example descriptions, surface errors
|
|
731
771
|
raised by `matcher.description` in the example description.
|
|
732
|
-
(Myron Marston, #1771)
|
|
772
|
+
(Myron Marston, rspec/rspec-core#1771)
|
|
733
773
|
* Don't consider expectations from `after` hooks when generating
|
|
734
|
-
example descriptions. (Myron Marston, #1771)
|
|
774
|
+
example descriptions. (Myron Marston, rspec/rspec-core#1771)
|
|
735
775
|
* Don't apply metadata-filtered config hooks to examples in groups
|
|
736
776
|
with matching metadata when those examples override the parent
|
|
737
|
-
metadata value to not match. (Myron Marston, #1796)
|
|
777
|
+
metadata value to not match. (Myron Marston, rspec/rspec-core#1796)
|
|
738
778
|
* Fix `config.expect_with :minitest` so that `skip` uses RSpec's
|
|
739
|
-
implementation rather than Minitest's. (Jonathan Rochkind, #1822)
|
|
779
|
+
implementation rather than Minitest's. (Jonathan Rochkind, rspec/rspec-core#1822)
|
|
740
780
|
* Fix `NameError` caused when duplicate example group aliases are defined and
|
|
741
|
-
the DSL is not globally exposed. (Aaron Kromer, #1825)
|
|
781
|
+
the DSL is not globally exposed. (Aaron Kromer, rspec/rspec-core#1825)
|
|
742
782
|
* When a shared example defined in an external file fails, use the host
|
|
743
783
|
example group (from a loaded spec file) for the re-run command to
|
|
744
|
-
ensure the command will actually work. (Myron Marston, #1835)
|
|
784
|
+
ensure the command will actually work. (Myron Marston, rspec/rspec-core#1835)
|
|
745
785
|
* Fix location filtering to work properly for examples defined in
|
|
746
786
|
a nested example group within a shared example group defined in
|
|
747
|
-
an external file. (Bradley Schaefer, Xavier Shay, Myron Marston, #1837)
|
|
787
|
+
an external file. (Bradley Schaefer, Xavier Shay, Myron Marston, rspec/rspec-core#1837)
|
|
748
788
|
* When a pending example fails (as expected) due to a mock expectation,
|
|
749
789
|
set `RSpec::Core::Example::ExecutionResult#pending_exception` --
|
|
750
|
-
previously it was not being set but should have been. (Myron Marston, #1844)
|
|
790
|
+
previously it was not being set but should have been. (Myron Marston, rspec/rspec-core#1844)
|
|
751
791
|
* Fix rake task to work when `rspec-core` is installed in a directory
|
|
752
|
-
containing a space. (Guido Günther, #1845)
|
|
792
|
+
containing a space. (Guido Günther, rspec/rspec-core#1845)
|
|
753
793
|
* Fix regression in 3.1 that caused `describe Regexp` to raise errors.
|
|
754
|
-
(Durran Jordan, #1853)
|
|
794
|
+
(Durran Jordan, rspec/rspec-core#1853)
|
|
755
795
|
* Fix regression in 3.x that caused the profile information to be printed
|
|
756
|
-
after the summary. (Max Lincoln, #1857)
|
|
796
|
+
after the summary. (Max Lincoln, rspec/rspec-core#1857)
|
|
757
797
|
* Apply `--seed` before loading `--require` files so that required files
|
|
758
|
-
can access the provided seed. (Myron Marston, #1745)
|
|
798
|
+
can access the provided seed. (Myron Marston, rspec/rspec-core#1745)
|
|
759
799
|
* Handle `RSpec::Core::Formatters::DeprecationFormatter::FileStream` being
|
|
760
800
|
reopened with an IO stream, which sometimes happens with spring.
|
|
761
|
-
(Kevin Mook, #1757)
|
|
801
|
+
(Kevin Mook, rspec/rspec-core#1757)
|
|
762
802
|
|
|
763
803
|
### 3.1.7 / 2014-10-11
|
|
764
804
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.6...v3.1.7)
|
|
@@ -767,14 +807,14 @@ Bug Fixes:
|
|
|
767
807
|
|
|
768
808
|
* Fix `Metadata.relative_path` so that for a current directory of
|
|
769
809
|
`/foo/bar`, `/foo/bar_1` is not wrongly converted to `._1`.
|
|
770
|
-
(Akos Vandra, #1730)
|
|
810
|
+
(Akos Vandra, rspec/rspec-core#1730)
|
|
771
811
|
* Prevent constant lookup mistakenly finding `RSpec::ExampleGroups` generated
|
|
772
812
|
constants on 1.9.2 by appending a trailing `_` to the generated names.
|
|
773
|
-
(Jon Rowe, #1737)
|
|
813
|
+
(Jon Rowe, rspec/rspec-core#1737)
|
|
774
814
|
* Fix bug in `:pending` metadata. If it got set in any way besides passing
|
|
775
815
|
it as part of the metadata literal passed to `it` (such as by using
|
|
776
816
|
`define_derived_metadata`), it did not have the desired effect,
|
|
777
|
-
instead marking the example as `:passed`. (Myron Marston, #1739)
|
|
817
|
+
instead marking the example as `:passed`. (Myron Marston, rspec/rspec-core#1739)
|
|
778
818
|
|
|
779
819
|
### 3.1.6 / 2014-10-08
|
|
780
820
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.5...v3.1.6)
|
|
@@ -783,9 +823,9 @@ Bug Fixes:
|
|
|
783
823
|
|
|
784
824
|
* Fix regression in rake task pattern handling, that prevented patterns
|
|
785
825
|
that were relative from the current directory rather than from `spec`
|
|
786
|
-
from working properly. (Myron Marston, #1734)
|
|
826
|
+
from working properly. (Myron Marston, rspec/rspec-core#1734)
|
|
787
827
|
* Prevent rake task from generating duplicate load path entries.
|
|
788
|
-
(Myron Marston, #1735)
|
|
828
|
+
(Myron Marston, rspec/rspec-core#1735)
|
|
789
829
|
|
|
790
830
|
### 3.1.5 / 2014-09-29
|
|
791
831
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.4...v3.1.5)
|
|
@@ -793,12 +833,12 @@ Bug Fixes:
|
|
|
793
833
|
Bug Fixes:
|
|
794
834
|
|
|
795
835
|
* Fix issue with the rake task incorrectly escaping strings on Windows.
|
|
796
|
-
(Jon Rowe #1718)
|
|
836
|
+
(Jon Rowe rspec/rspec-core#1718)
|
|
797
837
|
* Support absolute path patterns. While this wasn't officially supported
|
|
798
838
|
previously, setting `rake_task.pattern` to an absolute path pattern in
|
|
799
839
|
RSpec 3.0 and before worked since it delegated to `FileList` internally
|
|
800
840
|
(but now just forwards the pattern on to the `rspec` command).
|
|
801
|
-
(Myron Marston, #1726)
|
|
841
|
+
(Myron Marston, rspec/rspec-core#1726)
|
|
802
842
|
|
|
803
843
|
### 3.1.4 / 2014-09-18
|
|
804
844
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.3...v3.1.4)
|
|
@@ -807,10 +847,10 @@ Bug Fixes:
|
|
|
807
847
|
|
|
808
848
|
* Fix implicit `subject` when using `describe false` or `describe nil`
|
|
809
849
|
so that it returns the provided primitive rather than the string
|
|
810
|
-
representation. (Myron Marston, #1710)
|
|
850
|
+
representation. (Myron Marston, rspec/rspec-core#1710)
|
|
811
851
|
* Fix backtrace filtering to allow code in subdirectories of your
|
|
812
852
|
current working directory (such as vendor/bundle/...) to be filtered
|
|
813
|
-
from backtraces. (Myron Marston, #1708)
|
|
853
|
+
from backtraces. (Myron Marston, rspec/rspec-core#1708)
|
|
814
854
|
|
|
815
855
|
### 3.1.3 / 2014-09-15
|
|
816
856
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.2...v3.1.3)
|
|
@@ -820,12 +860,12 @@ Bug Fixes:
|
|
|
820
860
|
* Fix yet another regression in rake task pattern handling, to allow
|
|
821
861
|
`task.pattern = FileList["..."]` to work. That was never intended
|
|
822
862
|
to be supported but accidentally worked in 3.0 and earlier.
|
|
823
|
-
(Myron Marston, #1701)
|
|
863
|
+
(Myron Marston, rspec/rspec-core#1701)
|
|
824
864
|
* Fix pattern handling so that files are normalized to absolute paths
|
|
825
865
|
before subtracting the `--exclude-pattern` matched files from the
|
|
826
866
|
`--pattern` matched files so that it still works even if the patterns
|
|
827
867
|
are in slightly different forms (e.g. one starting with `./`).
|
|
828
|
-
(Christian Nelson, #1698)
|
|
868
|
+
(Christian Nelson, rspec/rspec-core#1698)
|
|
829
869
|
|
|
830
870
|
### 3.1.2 / 2014-09-08
|
|
831
871
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.1...v3.1.2)
|
|
@@ -833,7 +873,7 @@ Bug Fixes:
|
|
|
833
873
|
Bug Fixes:
|
|
834
874
|
|
|
835
875
|
* Fix another regression in rake task pattern handling, so that patterns
|
|
836
|
-
that start with `./` still work. (Christian Nelson, #1696)
|
|
876
|
+
that start with `./` still work. (Christian Nelson, rspec/rspec-core#1696)
|
|
837
877
|
|
|
838
878
|
### 3.1.1 / 2014-09-05
|
|
839
879
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.0...v3.1.1)
|
|
@@ -843,7 +883,7 @@ Bug Fixes:
|
|
|
843
883
|
* Fix a regression in rake task pattern handling, so that `rake_task.pattern = array`
|
|
844
884
|
works again. While we never intended to support array values (or even knew that worked!),
|
|
845
885
|
the implementation from 3.0 and earlier used `FileList` internally, which allows arrays.
|
|
846
|
-
The fix restores the old behavior. (Myron Marston, #1694)
|
|
886
|
+
The fix restores the old behavior. (Myron Marston, rspec/rspec-core#1694)
|
|
847
887
|
|
|
848
888
|
### 3.1.0 / 2014-09-04
|
|
849
889
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.4...v3.1.0)
|
|
@@ -852,57 +892,57 @@ Enhancements:
|
|
|
852
892
|
|
|
853
893
|
* Update files generated by `rspec --init` so that warnings are enabled
|
|
854
894
|
in commented out section of `spec_helper` rather than `.rspec` so users
|
|
855
|
-
have to consciously opt-in to the setting. (Andrew Hooker, #1572)
|
|
895
|
+
have to consciously opt-in to the setting. (Andrew Hooker, rspec/rspec-core#1572)
|
|
856
896
|
* Update `spec_helper` generated by `rspec --init` so that it sets the new
|
|
857
897
|
rspec-expectations `include_chain_clauses_in_custom_matcher_descriptions`
|
|
858
898
|
config option (which will be on by default in RSpec 4) and also sets the
|
|
859
899
|
rspec-mocks `verify_partial_doubles` option (which will also default
|
|
860
|
-
to on in RSpec 4). (Myron Marston, #1647)
|
|
900
|
+
to on in RSpec 4). (Myron Marston, rspec/rspec-core#1647)
|
|
861
901
|
* Provide an `inspect` output for example procsy objects (used in around
|
|
862
|
-
hooks) that doesn't make them look like procs. (Jon Rowe, #1620)
|
|
902
|
+
hooks) that doesn't make them look like procs. (Jon Rowe, rspec/rspec-core#1620)
|
|
863
903
|
* Remove a few unneeded `require` statements from
|
|
864
904
|
`rspec/core/rake_task.rb`, making it even more lighterweight.
|
|
865
|
-
(Myron Marston, #1640)
|
|
905
|
+
(Myron Marston, rspec/rspec-core#1640)
|
|
866
906
|
* Allow rspec-core to be used when neither rspec-mocks or
|
|
867
907
|
rspec-expectations are installed, without requiring any
|
|
868
|
-
user configuration. (Sam Phippen, Myron Marston, #1615)
|
|
908
|
+
user configuration. (Sam Phippen, Myron Marston, rspec/rspec-core#1615)
|
|
869
909
|
* Don't filter out gems from backtraces by default. (The RSpec
|
|
870
910
|
gems will still be filtered). User feedback has indicated
|
|
871
911
|
that including gems in default backtraces will be useful.
|
|
872
|
-
(Myron Marston, #1641)
|
|
912
|
+
(Myron Marston, rspec/rspec-core#1641)
|
|
873
913
|
* Add new `config.filter_gems_from_backtrace "rack", "rake"` API
|
|
874
|
-
to easily filter the named gems from backtraces. (Myron Marston, #1682)
|
|
914
|
+
to easily filter the named gems from backtraces. (Myron Marston, rspec/rspec-core#1682)
|
|
875
915
|
* Fix default backtrace filters so that the RSpec binary is
|
|
876
916
|
excluded when installing RSpec as a bundler `:git` dependency.
|
|
877
|
-
(Myron Marston, #1648)
|
|
917
|
+
(Myron Marston, rspec/rspec-core#1648)
|
|
878
918
|
* Simplify command generated by the rake task so that it no longer
|
|
879
|
-
includes unnecessary `-S`. (Myron Marston, #1559)
|
|
919
|
+
includes unnecessary `-S`. (Myron Marston, rspec/rspec-core#1559)
|
|
880
920
|
* Add `--exclude-pattern` CLI option, `config.exclude_pattern =` config
|
|
881
921
|
option and `task.exclude_pattern =` rake task config option. Matching
|
|
882
|
-
files will be excluded. (John Gesimondo, Myron Marston, #1651, #1671)
|
|
922
|
+
files will be excluded. (John Gesimondo, Myron Marston, rspec/rspec-core#1651, rspec/rspec-core#1671)
|
|
883
923
|
* When an around hook fails to execute the example, mark it as
|
|
884
924
|
pending (rather than passing) so the user is made aware of the
|
|
885
|
-
fact that the example did not actually run. (Myron Marston, #1660)
|
|
925
|
+
fact that the example did not actually run. (Myron Marston, rspec/rspec-core#1660)
|
|
886
926
|
* Remove dependency on `FileUtils` from the standard library so that users do
|
|
887
927
|
not get false positives where their code relies on it but they are not
|
|
888
|
-
requiring it. (Sam Phippen, #1565)
|
|
928
|
+
requiring it. (Sam Phippen, rspec/rspec-core#1565)
|
|
889
929
|
|
|
890
930
|
Bug Fixes:
|
|
891
931
|
|
|
892
932
|
* Fix rake task `t.pattern =` option so that it does not run all specs
|
|
893
933
|
when it matches no files, by passing along a `--pattern` option to
|
|
894
934
|
the `rspec` command, rather than resolving the file list and passing
|
|
895
|
-
along the files individually. (Evgeny Zislis, #1653)
|
|
935
|
+
along the files individually. (Evgeny Zislis, rspec/rspec-core#1653)
|
|
896
936
|
* Fix rake task default pattern so that it follows symlinks properly.
|
|
897
|
-
(Myron Marston, #1672)
|
|
937
|
+
(Myron Marston, rspec/rspec-core#1672)
|
|
898
938
|
* Fix default pattern used with `rspec` command so that it follows
|
|
899
|
-
symlinks properly. (Myron Marston, #1672)
|
|
939
|
+
symlinks properly. (Myron Marston, rspec/rspec-core#1672)
|
|
900
940
|
* Change how we assign constant names to example group classes so that
|
|
901
|
-
it avoids a problem with `describe "Core"`. (Daniela Wellisz, #1679)
|
|
941
|
+
it avoids a problem with `describe "Core"`. (Daniela Wellisz, rspec/rspec-core#1679)
|
|
902
942
|
* Handle rendering exceptions that have a different encoding than that
|
|
903
|
-
of their original source file. (Jon Rowe, #1681)
|
|
943
|
+
of their original source file. (Jon Rowe, rspec/rspec-core#1681)
|
|
904
944
|
* Allow access to message_lines without colour for failed examples even
|
|
905
|
-
when they're part of a shared example group. (tomykaira, #1689)
|
|
945
|
+
when they're part of a shared example group. (tomykaira, rspec/rspec-core#1689)
|
|
906
946
|
|
|
907
947
|
### 3.0.4 / 2014-08-14
|
|
908
948
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.3...v3.0.4)
|
|
@@ -911,9 +951,9 @@ Bug Fixes:
|
|
|
911
951
|
|
|
912
952
|
* Fix processing order of CLI options so that if `config.files_to_run`
|
|
913
953
|
is accessed from a file loaded by `--require`, `--pattern` is still
|
|
914
|
-
applied. (Myron Marston, #1652)
|
|
954
|
+
applied. (Myron Marston, rspec/rspec-core#1652)
|
|
915
955
|
* Fix `config.pattern=` so that it still takes affect even if
|
|
916
|
-
`config.files_to_run` has already been accessed. (Myron Marston, #1652)
|
|
956
|
+
`config.files_to_run` has already been accessed. (Myron Marston, rspec/rspec-core#1652)
|
|
917
957
|
|
|
918
958
|
### 3.0.3 / 2014-07-21
|
|
919
959
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.2...v3.0.3)
|
|
@@ -921,11 +961,11 @@ Bug Fixes:
|
|
|
921
961
|
Bug Fixes:
|
|
922
962
|
|
|
923
963
|
* Properly convert both parts of a description into strings before
|
|
924
|
-
concatenation. (@nicklink483, #1636)
|
|
964
|
+
concatenation. (@nicklink483, rspec/rspec-core#1636)
|
|
925
965
|
* Exclude the working directory when figuring out folders to ignore.
|
|
926
|
-
(Jon Rowe, Myron Marston, #1616)
|
|
966
|
+
(Jon Rowe, Myron Marston, rspec/rspec-core#1616)
|
|
927
967
|
* Allow `::RSpec::Core::Notifications::FailedExampleNotification#message_lines`
|
|
928
|
-
to be accessed without a colouriser. (@tomykaira, #1637)
|
|
968
|
+
to be accessed without a colouriser. (@tomykaira, rspec/rspec-core#1637)
|
|
929
969
|
|
|
930
970
|
### 3.0.2 / 2014-06-19
|
|
931
971
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.1...v3.0.2)
|
|
@@ -934,14 +974,14 @@ Bug Fixes:
|
|
|
934
974
|
|
|
935
975
|
* Fix regression in CLI option handling that prevented `--tag slow`
|
|
936
976
|
passed at the command line from overriding `--tag ~slow` in `.rspec`.
|
|
937
|
-
(Colin Jones, #1602)
|
|
977
|
+
(Colin Jones, rspec/rspec-core#1602)
|
|
938
978
|
* Fix metadata `:example_group` deprecation warning so that it gets
|
|
939
979
|
issued at the call site of the configuration that specified it as
|
|
940
980
|
a filter rather than later when an example group is defined.
|
|
941
|
-
(Myron Marston, #1562)
|
|
981
|
+
(Myron Marston, rspec/rspec-core#1562)
|
|
942
982
|
* Make the line that is printed when a shared example group fails indicating
|
|
943
983
|
where the concrete example group is white, separating it from the stack trace
|
|
944
|
-
that is produced for the failure. (Sam Phippen, Jon Rowe, #1606)
|
|
984
|
+
that is produced for the failure. (Sam Phippen, Jon Rowe, rspec/rspec-core#1606)
|
|
945
985
|
|
|
946
986
|
### 3.0.1 / 2014-06-12
|
|
947
987
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0...v3.0.1)
|
|
@@ -949,9 +989,9 @@ Bug Fixes:
|
|
|
949
989
|
Bug Fixes:
|
|
950
990
|
|
|
951
991
|
* Fix a couple ruby warnings caused by rspec-core when loaded.
|
|
952
|
-
(Prem Sichanugrist, #1584)
|
|
992
|
+
(Prem Sichanugrist, rspec/rspec-core#1584)
|
|
953
993
|
* Example groups named `Config` will no longer cause a Ruby warning to be
|
|
954
|
-
issued. (Jimmy Cuadra, #1580)
|
|
994
|
+
issued. (Jimmy Cuadra, rspec/rspec-core#1580)
|
|
955
995
|
|
|
956
996
|
### 3.0.0 / 2014-06-01
|
|
957
997
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.rc1...v3.0.0)
|
|
@@ -967,7 +1007,7 @@ Bug Fixes:
|
|
|
967
1007
|
Enhancements:
|
|
968
1008
|
|
|
969
1009
|
* Alter the default `spec_helper.rb` to no longer recommend
|
|
970
|
-
`config.full_backtrace = true` see #1536 for discussion. (Jon Rowe)
|
|
1010
|
+
`config.full_backtrace = true` see rspec/rspec-core#1536 for discussion. (Jon Rowe)
|
|
971
1011
|
|
|
972
1012
|
### 3.0.0.rc1 / 2014-05-18
|
|
973
1013
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.beta2...v3.0.0.rc1)
|
|
@@ -1220,7 +1260,7 @@ Bug Fixes:
|
|
|
1220
1260
|
or `default_path`. (Matijs van Zuijlen)
|
|
1221
1261
|
* Fix failure line detection so that it handles relative file paths
|
|
1222
1262
|
(which can happen when running specs through `ruby` using `rspec/autorun`).
|
|
1223
|
-
(Myron Marston, #1829)
|
|
1263
|
+
(Myron Marston, rspec/rspec-core#1829)
|
|
1224
1264
|
|
|
1225
1265
|
### 3.0.0.beta1 / 2013-11-07
|
|
1226
1266
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.1...v3.0.0.beta1)
|
|
@@ -1300,7 +1340,7 @@ Deprecations:
|
|
|
1300
1340
|
Enhancements:
|
|
1301
1341
|
|
|
1302
1342
|
* Improve deprecation warning for RSpec 3 change in `describe <a symbol>`
|
|
1303
|
-
behavior. (Jon Rowe, #1667)
|
|
1343
|
+
behavior. (Jon Rowe, rspec/rspec-core#1667)
|
|
1304
1344
|
|
|
1305
1345
|
### 2.99.1 / 2014-06-19
|
|
1306
1346
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0...v2.99.1)
|
|
@@ -1310,11 +1350,11 @@ Bug Fixes:
|
|
|
1310
1350
|
* Add missing deprecation warning for when `RSpec::Core::Runner` is used
|
|
1311
1351
|
multiple times in the same process. In 2.x RSpec's global state was
|
|
1312
1352
|
automatically cleared between runs but in 3.0 you need to call `RSpec.reset`
|
|
1313
|
-
manually in these situations. (Sam Phippen, #1587)
|
|
1353
|
+
manually in these situations. (Sam Phippen, rspec/rspec-core#1587)
|
|
1314
1354
|
* Prevent deprecation being accidentally issues when doubles used with `be_`
|
|
1315
|
-
matchers due to automatically generated descriptions. (Jon Rowe, #1573)
|
|
1355
|
+
matchers due to automatically generated descriptions. (Jon Rowe, rspec/rspec-core#1573)
|
|
1316
1356
|
* Load `rspec/core` when loading `rspec/core/rake_task` to ensure we can
|
|
1317
|
-
issue deprecations correctly. (Jon Rowe, #1612)
|
|
1357
|
+
issue deprecations correctly. (Jon Rowe, rspec/rspec-core#1612)
|
|
1318
1358
|
|
|
1319
1359
|
### 2.99.0 / 2014-06-01
|
|
1320
1360
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.rc1...v2.99.0)
|
|
@@ -1335,7 +1375,7 @@ Enhancements:
|
|
|
1335
1375
|
* Add `--deprecation-out` CLI option which directs deprecation warnings
|
|
1336
1376
|
to the named file. (Myron Marston)
|
|
1337
1377
|
* Backport support for `skip` in metadata to skip execution of an example.
|
|
1338
|
-
(Xavier Shay, #1472)
|
|
1378
|
+
(Xavier Shay, rspec/rspec-core#1472)
|
|
1339
1379
|
* Add `Pathname` support for setting all output streams. (Aaron Kromer)
|
|
1340
1380
|
* Add `test_unit` and `minitest` expectation frameworks. (Aaron Kromer)
|
|
1341
1381
|
|
|
@@ -1671,7 +1711,7 @@ Bug fixes
|
|
|
1671
1711
|
matcher description (as `Example#description` already did) when no
|
|
1672
1712
|
doc string has been provided (David Chelimsky).
|
|
1673
1713
|
* Fix the memoized methods (`let` and `subject`) leaking `define_method`
|
|
1674
|
-
as a `public` method. (Thomas Holmes and Jon Rowe) (#873)
|
|
1714
|
+
as a `public` method. (Thomas Holmes and Jon Rowe) (rspec/rspec-core#873)
|
|
1675
1715
|
* Fix warnings coming from the test suite. (Pete Higgins)
|
|
1676
1716
|
|
|
1677
1717
|
Deprecations
|