Skip to content
This repository
Newer
Older
100644 620 lines (465 sloc) 23.504 kb
9e8b6b9c »
2012-07-12 Don't override #ancestors.
1 ### dev
340eb56b »
2012-07-18 Merge branch '2-11-maintenance'
2 [full changelog](http://github.com/rspec/rspec-core/compare/v2.11.1...master)
9e8b6b9c »
2012-07-12 Don't override #ancestors.
3
09bc03d4 »
2012-07-12 Update change log.
4 Enhancements
5
6 * Add support for custom ordering strategies for groups and examples.
7 (Myron Marston)
8752b9aa »
2012-08-18 Changelog for #661
8 * JSON Formatter (Alex Chaffee)
35eb45a6 »
2012-09-12 changelog for #677
9 * Refactor rake task internals (Sam Phippen)
a1bf4fee »
2012-09-15 changelog for #659
10 * Refactor HtmlFormatter (Pete Hodgson)
4d3b610a »
2012-09-15 Quotes ruby command in case it contains spaces
11 * Autotest supports a path to Ruby that contains spaces (dsisnero)
824119ee »
2012-09-17 Changelog for #676.
12 * Print ordering seed at the start of the spec run to help
13 with troubleshooting ordering failures that occur at file load
14 time (M. Scott Ford)
d2f831d6 »
2012-09-25 Fixup the improved duplicate shared example group warning.
15 * Provide a helpful warning when a shared example group is redefined
16 rather than erroring out with an unhelpful error message
17 (Mark Burns).
92038d3a »
2012-09-26 Changelog for #497, #691 [ci skip]
18 * --default_path can be specified as --default-line; --line_number can be
19 specified as --line-number. Hyphens are more idiomatic command line argument
20 separators (Sam Phippen).
ccedfcb9 »
2012-09-24 A more useful error message is shown when an invalid command line opt…
21 * A more useful error message is shown when an invalid command line option is
22 used (Jordi Polo).
09bc03d4 »
2012-07-12 Update change log.
23
9e8b6b9c »
2012-07-12 Don't override #ancestors.
24 Bug fixes
25
4a061c7f »
2012-09-01 changelog for #670
26 * Remove override of ExampleGroup#ancestors. This is a core ruby method that
27 RSpec shouldn't override. Instead, define ExampleGroup#parent_groups. (Myron
28 Marston)
29 * Limit monkey patching of shared example/context declaration methods
30 (`shared_examples_for`, etc.) to just the objects that need it rather than
31 every object in the system (Myron Marston).
07be957b »
2012-08-01 Changelog for #657.
32 * Fix Metadata#fetch to support computed values (Sam Goldman).
4a061c7f »
2012-09-01 changelog for #670
33 * Named subject can now be referred to from within subject block in a nested
34 group (tomykaira).
c04b99a7 »
2012-09-04 Update changelog.
35 * Fix `fail_fast` so that it properly exits when an error occurs in a
2bfe288b »
2012-09-08 Changlog entry for #660.
36 `before(:all) hook` (Bradley Schaefer).
37 * Make the order spec files are loaded consistent, regardless of the
38 order of the files returned by the OS (Jo Liss).
49370db1 »
2012-09-26 Ensure before(:all) state is always propagated to after(:all)
39 * Ensure instance variables from `before(:all)` are always exposed
40 from `after(:all)`, even if an error occurs in `before(:all)`
41 (Sam Phippen).
336f2013 »
2012-09-27 "--init" no longer generates an incorrect warning
42 * `rspec --init` no longer generates an incorrect warning about `--configure`
43 being deprecated (Sam Phippen).
340eb56b »
2012-07-18 Merge branch '2-11-maintenance'
44
94fd7a8a »
2012-09-30 Update changelog.
45 Deprecations
46
47 * `share_as` is no longer needed. `shared_context` and/or
48 `RSpec::SharedContext` provide better mechanisms (Sam Phippen).
49
b8197262 »
2012-07-18 2.11.1 release.
50 ### 2.11.1 / 2012-07-18
51 [full changelog](http://github.com/rspec/rspec-core/compare/v2.11.0...v2.11.1)
c2ea08c7 »
2012-07-18 Update change log.
52
53 Bug fixes
54
55 * Fix the way we autoload RSpec::Matchers so that custom matchers can be
56 defined before rspec-core has been configured to definitely use
57 rspec-expectations. (Myron Marston)
58 * Fix typo in --help message printed for -e option. (Jo Liss)
59 * Fix ruby warnings. (Myron Marston)
e22ce0b9 »
2012-07-17 Ignore mock expectation failures when the example has already failed.
60 * Ignore mock expectation failures when the example has already failed.
61 Mock expectation failures have always been ignored in this situation,
62 but due to my changes in 27059bf1 it was printing a confusing message.
63 (Myron Marston).
9e8b6b9c »
2012-07-12 Don't override #ancestors.
64
f9ed7ab2 »
2012-07-07 bump to 2.11.0
65 ### 2.11.0 / 2012-07-07
66 [full changelog](http://github.com/rspec/rspec-core/compare/v2.10.1...v2.11.0)
651d8d9b »
2012-05-08 `config.mock_with` and `config.expect_with` yield custom config object
67
68 Enhancements
69
baf4c31f »
2012-07-07 update Changelog
70 * Support multiple `--example` options. (Daniel Doubrovkine @dblock)
71 * Named subject e.g. `subject(:article) { Article.new }`
acf2fdf6 »
2012-05-19 Changelog - link url [ci skip]
72 * see [http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/](http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/)
19e1eaf5 »
2012-05-15 more Changelog for #619 [ci skip]
73 for background.
74 * thanks to Bradley Schaefer for suggesting it and Avdi Grimm for almost
75 suggesting it.
baf4c31f »
2012-07-07 update Changelog
76 * `config.mock_with` and `config.expect_with` yield custom config object to a
77 block if given
78 * aids decoupling from rspec-core's configuation
79 * `include_context` and `include_examples` support a block, which gets eval'd
80 in the current context (vs the nested context generated by `it_behaves_like`).
81 * Add `config.order = 'random'` to the `spec_helper.rb` generated by `rspec
82 --init`.
83 * Delay the loading of DRb (Myron Marston).
84 * Limit monkey patching of `describe` onto just the objects that need it rather
85 than every object in the system (Myron Marston).
651d8d9b »
2012-05-08 `config.mock_with` and `config.expect_with` yield custom config object
86
3705abd0 »
2012-05-19 changelog
87 Bug fixes
88
89 * Support alternative path separators. For example, on Windows, you can now do
90 this: `rspec spec\subdir`. (Jarmo Pertman @jarmo)
0b34e429 »
2012-05-22 Update changelog.
91 * When an example raises an error and an after or around hook does as
92 well, print out the hook error. Previously, the error was silenced and
93 the user got no feedback about what happened. (Myron Marston)
5f730b0c »
2012-06-11 -I is merged among configuration sources
94 * `--require` and `-I` are merged among different configuration sources (Andy
95 Lindeman)
2c608987 »
2012-02-10 delegate instead of alias from mocha adapter
96 * Delegate to mocha methods instead of aliasing them in mocha adapter.
3705abd0 »
2012-05-19 changelog
97
03b72af7 »
2012-05-19 Changelog after 2.10.1 release [ci skip]
98 ### 2.10.1 / 2012-05-19
99 [full changelog](http://github.com/rspec/rspec-core/compare/v2.10.0...v2.10.1)
100
c9b8681b »
2012-05-17 Changelog for #621
101 Bug fixes
102
103 * `RSpec.reset` properly reinits configuration and world
1482bfe7 »
2012-05-19 Changelog for #622 [ci skip]
104 * Call `to_s` before `split` on exception messages that might not always be
105 Strings (slyphon)
c9b8681b »
2012-05-17 Changelog for #621
106
89c44ef5 »
2012-05-03 update changelog for 2.10 release
107 ### 2.10.0 / 2012-05-03
108 [full changelog](http://github.com/rspec/rspec-core/compare/v2.9.0...v2.10.0)
f85d405c »
2012-03-18 Changelog for #579
109
110 Enhancements
111
112 * Add `prepend_before` and `append_after` hooks (preethiramdev)
113 * intended for extension libs
114 * restores rspec-1 behavior
a777f09e »
2012-04-18 changelog [ci skip]
115 * Reporting of profiled examples (moro)
116 * Report the total amount of time taken for the top slowest examples.
117 * Report what percentage the slowest examples took from the total runtime.
f85d405c »
2012-03-18 Changelog for #579
118
268eeb4c »
2012-03-23 Properly parse `SPEC_OPTS` options. Fixes #586
119 Bug fixes
120
121 * Properly parse `SPEC_OPTS` options.
36f6e229 »
2012-04-22 Changelog formatting tweak [ci skip]
122 * `example.description` returns the location of the example if there is no
34cb8f9d »
2012-03-23 example.description returns the location of the example if there is no
123 explicit description or matcher-generated description.
254e7c9b »
2012-05-19 Revert "Fix typo in changelog: Grzegorz M-E~Zwirski [ci skip]"
124 * RDoc fixes (Grzegorz Świrski)
fbe0e754 »
2012-03-24 Changelog for #588 [ci skip]
125 * Do not modify example ancestry when dumping errors (Michael Grosser)
268eeb4c »
2012-03-23 Properly parse `SPEC_OPTS` options. Fixes #586
126
52bbe9fb »
2012-03-17 bump to 2.9.0
127 ### 2.9.0 / 2012-03-17
128 [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0...v2.9.0)
454f3b47 »
2012-01-13 No need to override command line switches that don't accept false (e.g.
129
a08eabcd »
2012-01-29 changelog
130 Enhancements
131
132 * Support for "X minutes X seconds" spec run duration in formatter. (uzzz)
04d77ec4 »
2012-01-30 Changelog for prev commit
133 * Strip whitespace from group and example names in doc formatter.
dbf1d64e »
2012-03-05 remove spork-0.9 shim (0.9 has been released)
134 * Removed spork-0.9 shim. If you're using spork-0.8.x, you'll need to upgrade
135 to 0.9.0.
a08eabcd »
2012-01-29 changelog
136
454f3b47 »
2012-01-13 No need to override command line switches that don't accept false (e.g.
137 Bug fixes
138
139 * Restore `--full_backtrace` option
e0de119e »
2012-01-17 Changelog for #554
140 * Ensure that values passed to `config.filter_run` are respected when running
141 over DRb (using spork).
8e8fb2b3 »
2012-01-24 Ensure shared example groups are reset after a run (as example groups…
142 * Ensure shared example groups are reset after a run (as example groups are).
5686c137 »
2012-02-02 it was rescue false, not rescue nil
143 * Remove `rescue false` from calls to filters represented as Procs
19e1eaf5 »
2012-05-15 more Changelog for #619 [ci skip]
144 * Ensure `described_class` gets the closest constant (pyromaniac)
145 * In "autorun", don't run the specs in the `at_exit` hook if there was an
aefb25c8 »
2012-02-10 changelog
146 exception (most likely due to a SyntaxError). (sunaku)
9f425c27 »
2012-03-03 Changelog for #576
147 * Don't extend groups with modules already used to extend ancestor groups.
52bbe9fb »
2012-03-17 bump to 2.9.0
148 * `its` correctly memoizes nil or false values (Yamada Masaki)
5686c137 »
2012-02-02 it was rescue false, not rescue nil
149
5bafc3a9 »
2012-01-04 bump to 2.8.0
150 ### 2.8.0 / 2012-01-04
8ee50051 »
2011-12-27 changelog
151
5bafc3a9 »
2012-01-04 bump to 2.8.0
152 [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc2...v2.8.0)
8ee50051 »
2011-12-27 changelog
153
154 Bug fixes
155
156 * For metadata filtering, restore passing the entire array to the proc, rather
157 than each item in the array (weidenfreak)
43bd8054 »
2011-12-30 Changelog for #546
158 * Ensure each spec file is loaded only once
159 * Fixes a bug that caused all the examples in a file to be run when
160 referenced twice with line numbers in a command, e.g.
161 * `rspec path/to/file:37 path/to/file:42`
8ee50051 »
2011-12-27 changelog
162
e69e7e7d »
2011-12-19 prep for 2.8.0.rc2
163 ### 2.8.0.rc2 / 2011-12-19
8a613b5c »
2011-11-10 changelog for #430
164
e69e7e7d »
2011-12-19 prep for 2.8.0.rc2
165 [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc1...v2.8.0.rc2)
8a613b5c »
2011-11-10 changelog for #430
166
167 Enhancments
168
fe4d40c7 »
2011-11-10 changelog tweak
169 * new `--init` command (Peter Schröder)
170 * generates `spec/spec_helper.rb`
8ee50051 »
2011-12-27 changelog
171 * deletes obsolete files (on confirmation)
8a613b5c »
2011-11-10 changelog for #430
172 * merged with and deprecates `--configure` command, which generated
173 `.rspec`
c59cdf82 »
2011-11-13 changelog and benchmark for #502
174 * use `require_relative` when available (Ian Leitch)
96ef2031 »
2011-11-15 changelog and cleanup for #503
175 * `include_context` and `include_examples` accept params (Calvin Bascom)
8de2a97f »
2011-11-15 changelog for #451
176 * print the time for every example in the html formatter (Richie Vos)
5cf3ec4b »
2011-12-02 changes
177 * several tasty refactoring niblets (Sasha)
d0cdea9c »
2011-12-17 Changelog for #504
178 * `it "does something", :x => [:foo,'bar',/baz/] (Ivan Neverov)
179 * supports matching n command line tag values with an example or group
8a613b5c »
2011-11-10 changelog for #430
180
3df9693c »
2011-11-06 reformat the changelog file
181 ### 2.8.0.rc1 / 2011-11-06
182
183 [full changelog](http://github.com/rspec/rspec-core/compare/v2.7.1...v2.8.0.rc1)
f9f36aee »
2011-10-22 changelog
184
96abea4d »
2011-11-09 fix the formatting in the changelog
185 Enhancements
186
541c02a2 »
2011-11-09 more changelog formatting
187 * `--order` (Justin Ko)
96abea4d »
2011-11-09 fix the formatting in the changelog
188 * run examples in random order: `--order rand`
189 * specify the seed: `--order rand:123`
541c02a2 »
2011-11-09 more changelog formatting
190 * `--seed SEED`
96abea4d »
2011-11-09 fix the formatting in the changelog
191 * equivalent of `--order rand:SEED`
192 * SharedContext supports `let` (David Chelimsky)
193 * Filter improvements (David Chelimsky)
194 * override opposing tags from the command line
195 * override RSpec.configure tags from the command line
541c02a2 »
2011-11-09 more changelog formatting
196 * `--line_number 37` overrides all other filters
197 * `path/to/file.rb:37` overrides all other filters
96abea4d »
2011-11-09 fix the formatting in the changelog
198 * refactor: consolidate filter management in a FilterManger object
199 * Eliminate Ruby warnings (Matijs van Zuijlen)
200 * Make reporter.report an API (David Chelimsky)
201 * supports extension tools like interative_rspec
202
203 Changes
204
205 * change `config.color_enabled` (getter/setter/predicate) to `color` to align
206 with `--[no]-color` CLI option.
207 * `color_enabled` is still supported for now, but will likley be deprecated
208 in a 2.x release so we can remove it in 3.0.
209
210 Bug fixes
211
212 * Make sure the `bar` in `--tag foo:bar` makes it to DRb (Aaron Gibralter)
213 * Fix bug where full descriptions of groups nested 3 deep were repeated.
214 * Restore report of time to run to start after files are loaded.
215 * fixes bug where run times were cumalitive in spork
216 * fixes compatibility with time-series metrics
541c02a2 »
2011-11-09 more changelog formatting
217 * Don't error out when `config.mock_with` or `expect_with` is re-specifying the
96abea4d »
2011-11-09 fix the formatting in the changelog
218 current config (Myron Marston)
f87e9d77 »
2011-10-29 Add :alias_with option to configuration.add_setting and deprecate the
219
220 * Deprecations
3df9693c »
2011-11-06 reformat the changelog file
221 * :alias option on `configuration.add_setting`. Use `:alias_with` on the
222 original setting declaration instead.
d3604a9a »
2011-11-05 changelog
223
d63dc5d5 »
2011-10-20 bump to 2.7.1
224 ### 2.7.1 / 2011-10-20
96fa1191 »
2011-10-17 tell autotest the correct place to find the rspec command
225
824bd961 »
2011-10-20 fix the link to full changelog
226 [full changelog](http://github.com/rspec/rspec-core/compare/v2.7.0...v2.7.1)
96fa1191 »
2011-10-17 tell autotest the correct place to find the rspec command
227
96abea4d »
2011-11-09 fix the formatting in the changelog
228 Bug fixes
229
230 * tell autotest the correct place to find the rspec executable
96fa1191 »
2011-10-17 tell autotest the correct place to find the rspec command
231
5bd1ccf6 »
2011-10-16 update changelog for 2.7.0 release
232 ### 2.7.0 / 2011-10-16
59ddb797 »
2011-10-09 better changelog ...
233
5bd1ccf6 »
2011-10-16 update changelog for 2.7.0 release
234 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
1c3f47bc »
2011-06-07 add example.exception
235
3d810f87 »
2011-08-14 Only require "rspec/autorun" implicitly when using the `rspec` command.
236 NOTE: RSpec's release policy dictates that there should not be any backward
237 incompatible changes in minor releases, but we're making an exception to
238 release a change to how RSpec interacts with other command line tools.
239
240 As of 2.7.0, you must explicity `require "rspec/autorun"` unless you use the
241 `rspec` command (which already does this for you).
242
96abea4d »
2011-11-09 fix the formatting in the changelog
243 Enhancements
244
541c02a2 »
2011-11-09 more changelog formatting
245 * Add `example.exception` (David Chelimsky)
96abea4d »
2011-11-09 fix the formatting in the changelog
246 * `--default_path` command line option (Justin Ko)
247 * support multiple `--line_number` options (David J. Hamilton)
248 * also supports `path/to/file.rb:5:9` (runs examples on lines 5 and 9)
249 * Allow classes/modules to be used as shared example group identifiers (Arthur
250 Gunn)
251 * Friendly error message when shared context cannot be found (Sławosz
252 Sławiński)
253 * Clear formatters when resetting config (John Bintz)
254 * Add `xspecify` and xexample as temp-pending methods (David Chelimsky)
255 * Add `--no-drb` option (Iain Hecker)
256 * Provide more accurate run time by registering start time before code is
257 loaded (David Chelimsky)
24a3ada9 »
2011-10-30 Restore reported run time to begin after files are loaded.
258 * reverted in 2.8.0
96abea4d »
2011-11-09 fix the formatting in the changelog
259 * Rake task default pattern finds specs in symlinked dirs (Kelly Felkins)
260 * Rake task no longer does anything to invoke bundler since Bundler already
261 handles it for us. Thanks to Andre Arko for the tip.
262 * Add `--failure-exit-code` option (Chris Griego)
263
264 Bug fixes
265
266 * Include `Rake::DSL` to remove deprecation warnings in Rake > 0.8.7 (Pivotal
267 Casebook)
268 * Only eval `let` block once even if it returns `nil` (Adam Meehan)
269 * Fix `--pattern` option (wasn't being recognized) (David Chelimsky)
270 * Only implicitly `require "rspec/autorun"` with the `rspec` command (David
271 Chelimsky)
272 * Ensure that rspec's `at_exit` defines the exit code (Daniel Doubrovkine)
273 * Show the correct snippet in the HTML and TextMate formatters (Brian Faherty)
f1ea9852 »
2011-06-14 Changelog
274
74aa307e »
2011-06-06 move Changelog to project dir and copy it to features when deploying …
275 ### 2.6.4 / 2011-06-06
276
277 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.3...v2.6.4)
17bb5a3a »
2011-05-26 changelog
278
a74533d8 »
2011-06-06 oops
279 NOTE: RSpec's release policy dictates that there should not be new
280 functionality in patch releases, but this minor enhancement slipped in by
281 accident. As it doesn't add a new API, we decided to leave it in rather than
282 roll back this release.
283
96abea4d »
2011-11-09 fix the formatting in the changelog
284 Enhancements
285
286 * Add summary of commands to run individual failed examples.
a74533d8 »
2011-06-06 oops
287
96abea4d »
2011-11-09 fix the formatting in the changelog
288 Bug fixes
289
290 * Support exclusion filters in DRb. (Yann Lugrin)
291 * Fix --example escaping when run over DRb. (Elliot Winkler)
292 * Use standard ANSI codes for color formatting so colors work in a wider set of
293 color schemes.
17bb5a3a »
2011-05-26 changelog
294
c3d9f1be »
2011-05-24 Merge in changes from 2-6-maintenance branch
295 ### 2.6.3 / 2011-05-24
5554b70d »
2011-05-21 changelog
296
c3d9f1be »
2011-05-24 Merge in changes from 2-6-maintenance branch
297 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.2...v2.6.3)
1f93c367 »
2011-05-22 changes
298
96abea4d »
2011-11-09 fix the formatting in the changelog
299 Bug fixes
300
301 * Explicitly convert exit code to integer, avoiding TypeError when return
302 value of run is IO object proxied by `DRb::DRbObject` (Julian Scheid)
303 * Clarify behavior of `--example` command line option
304 * Build using a rubygems-1.6.2 to avoid downstream yaml parsing error
5554b70d »
2011-05-21 changelog
305
b193ae0c »
2011-05-21 bump to 2.6.2
306 ### 2.6.2 / 2011-05-21
2c00b211 »
2011-05-20 warn instead of raising when Ruby can't resolve '~'
307
308 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.1...v2.6.2)
309
96abea4d »
2011-11-09 fix the formatting in the changelog
310 Bug fixes
311
312 * Warn rather than raise when HOME env var is not defined
313 * Properly merge command-line exclusions with default :if and :unless (joshcooper)
2c00b211 »
2011-05-20 warn instead of raising when Ruby can't resolve '~'
314
313167ca »
2011-05-19 bump to 2.6.1
315 ### 2.6.1 / 2011-05-19
899c6797 »
2011-05-18 changelog
316
313167ca »
2011-05-19 bump to 2.6.1
317 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.0...v2.6.1)
899c6797 »
2011-05-18 changelog
318
96abea4d »
2011-11-09 fix the formatting in the changelog
319 Bug fixes
320
321 * Don't extend nil when filters are nil
322 * `require 'rspec/autorun'` when running rcov.
899c6797 »
2011-05-18 changelog
323
6766e18b »
2011-05-12 prep for 2.6.0
324 ### 2.6.0 / 2011-05-12
7410e6f4 »
2011-05-07 CommandLine.run returns 0/1 instead of true/false
325
6766e18b »
2011-05-12 prep for 2.6.0
326 [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.1...v2.6.0)
1a09d445 »
2011-02-21 changelog
327
96abea4d »
2011-11-09 fix the formatting in the changelog
328 Enhancements
329
330 * `shared_context` (Damian Nurzynski)
331 * extend groups matching specific metadata with:
332 * method definitions
333 * subject declarations
334 * let/let! declarations
335 * etc (anything you can do in a group)
336 * `its([:key])` works for any subject with #[]. (Peter Jaros)
337 * `treat_symbols_as_metadata_keys_with_true_values` (Myron Marston)
338 * Print a deprecation warning when you configure RSpec after defining an
339 example. All configuration should happen before any examples are defined.
340 (Myron Marston)
341 * Pass the exit status of a DRb run to the invoking process. This causes specs
342 run via DRb to not just return true or false. (Ilkka Laukkanen)
343 * Refactoring of `ConfigurationOptions#parse_options` (Rodrigo Rosenfeld Rosas)
344 * Report excluded filters in runner output (tip from andyl)
345 * Clean up messages for filters/tags.
346 * Restore --pattern/-P command line option from rspec-1
347 * Support false as well as true in config.full_backtrace= (Andreas Tolf
348 Tolfsen)
349
350 Bug fixes
351
352 * Don't stumble over an exception without a message (Hans Hasselberg)
353 * Remove non-ascii characters from comments that were choking rcov (Geoffrey
354 Byers)
355 * Fixed backtrace so it doesn't include lines from before the autorun at_exit
356 hook (Myron Marston)
357 * Include RSpec::Matchers when first example group is defined, rather than just
358 before running the examples. This works around an obscure bug in ruby 1.9
359 that can cause infinite recursion. (Myron Marston)
360 * Don't send `example_group_[started|finished]` to formatters for empty groups.
361 * Get specs passing on jruby (Sidu Ponnappa)
362 * Fix bug where mixing nested groups and outer-level examples gave
363 unpredictable :line_number behavior (Artur Małecki)
364 * Regexp.escape the argument to --example (tip from Elliot Winkler)
365 * Correctly pass/fail pending block with message expectations
366 * CommandLine returns exit status (0/1) instead of true/false
367 * Create path to formatter output file if it doesn't exist (marekj).
6766e18b »
2011-05-12 prep for 2.6.0
368
1a09d445 »
2011-02-21 changelog
369
79f9af62 »
2011-02-06 date typo
370 ### 2.5.1 / 2011-02-06
af1454d5 »
2011-02-06 prep 2.5.1 release
371
372 [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.0...v2.5.1)
373
374 NOTE: this release breaks compatibility with rspec/autotest/bundler
375 integration, but does so in order to greatly simplify it.
376
377 With this release, if you want the generated autotest command to include
378 'bundle exec', require Autotest's bundler plugin in a .autotest file in the
379 project's root directory or in your home directory:
380
381 require "autotest/bundler"
382
383 Now you can just type 'autotest' on the commmand line and it will work as you expect.
384
385 If you don't want 'bundle exec', there is nothing you have to do.
386
70acb98d »
2011-02-05 prep for 2.5 release
387 ### 2.5.0 / 2011-02-05
26271e13 »
2011-01-17 eliminate dup docs
388
70acb98d »
2011-02-05 prep for 2.5 release
389 [full changelog](http://github.com/rspec/rspec-core/compare/v2.4.0...v2.5.0)
26271e13 »
2011-01-17 eliminate dup docs
390
96abea4d »
2011-11-09 fix the formatting in the changelog
391 Enhancements
26271e13 »
2011-01-17 eliminate dup docs
392
96abea4d »
2011-11-09 fix the formatting in the changelog
393 * Autotest::Rspec2 parses command line args passed to autotest after '--'
394 * --skip-bundler option for autotest command
395 * Autotest regexp fixes (Jon Rowe)
396 * Add filters to html and textmate formatters (Daniel Quimper)
397 * Explicit passing of block (need for JRuby 1.6) (John Firebaugh)
398
399 Bug fixes
400
401 * fix dom IDs in HTML formatter (Brian Faherty)
402 * fix bug with --drb + formatters when not running in drb
403 * include --tag options in drb args (monocle)
404 * fix regression so now SPEC_OPTS take precedence over CLI options again (Roman
405 Chernyatchik)
406 * only call its(:attribute) once (failing example from Brian Dunn)
407 * fix bizarre bug where rspec would hang after String.alias :to_int :to_i
408 (Damian Nurzynski)
409
410 Deprecations
411
412 * implicit inclusion of 'bundle exec' when Gemfile present (use autotest's
413 bundler plugin instead)
c1a93831 »
2011-01-22 update changelog
414
27deb825 »
2011-01-04 docs
415 ### 2.4.0 / 2011-01-02
416
417 [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0)
418
96abea4d »
2011-11-09 fix the formatting in the changelog
419 Enhancements
420
421 * start the debugger on -d so the stack trace is visible when it stops
422 (Clifford Heath)
423 * apply hook filtering to examples as well as groups (Myron Marston)
424 * support multiple formatters, each with their own output
425 * show exception classes in failure messages unless they come from RSpec
426 matchers or message expectations
427 * before(:all) { pending } sets all examples to pending
428
429 Bug fixes
430
431 * fix bug due to change in behavior of reject in Ruby 1.9.3-dev (Shota
432 Fukumori)
433 * fix bug when running in jruby: be explicit about passing block to super (John
434 Firebaugh)
435 * rake task doesn't choke on paths with quotes (Janmejay Singh)
436 * restore --options option from rspec-1
437 * require 'ostruct' to fix bug with its([key]) (Kim Burgestrand)
438 * --configure option generates .rspec file instead of autotest/discover.rb
27deb825 »
2011-01-04 docs
439
440 ### 2.3.1 / 2010-12-16
441
442 [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
443
96abea4d »
2011-11-09 fix the formatting in the changelog
444 Bug fixes
445
446 * send debugger warning message to $stdout if RSpec.configuration.error_stream
447 has not been defined yet.
448 * HTML Formatter _finally_ properly displays nested groups (Jarmo Pertman)
449 * eliminate some warnings when running RSpec's own suite (Jarmo Pertman)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
450
451 ### 2.3.0 / 2010-12-12
452
453 [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
454
96abea4d »
2011-11-09 fix the formatting in the changelog
455 Enhancements
456
457 * tell autotest to use "rspec2" if it sees a .rspec file in the project's root
458 directory
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
459 * replaces the need for ./autotest/discover.rb, which will not work with
460 all versions of ZenTest and/or autotest
96abea4d »
2011-11-09 fix the formatting in the changelog
461 * config.expect_with
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
462 * :rspec # => rspec/expectations
463 * :stdlib # => test/unit/assertions
464 * :rspec, :stdlib # => both
465
96abea4d »
2011-11-09 fix the formatting in the changelog
466 Bug fixes
467
468 * fix dev Gemfile to work on non-mac-os machines (Lake Denman)
469 * ensure explicit subject is only eval'd once (Laszlo Bacsi)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
470
471 ### 2.2.1 / 2010-11-28
472
473 [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
474
96abea4d »
2011-11-09 fix the formatting in the changelog
475 Bug fixes
476 * alias_method instead of override Kernel#method_missing (John Wilger)
477 * changed --autotest to --tty in generated command (MIKAMI Yoshiyuki)
478 * revert change to debugger (had introduced conflict with Rails)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
479 * also restored --debugger/-debug option
480
481 ### 2.2.0 / 2010-11-28
482
483 [full changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
484
96abea4d »
2011-11-09 fix the formatting in the changelog
485 Deprecations/changes
486
487 * --debug/-d on command line is deprecated and now has no effect
488 * win32console is now ignored; Windows users must use ANSICON for color support
489 (Bosko Ivanisevic)
490
491 Enhancements
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
492
96abea4d »
2011-11-09 fix the formatting in the changelog
493 * When developing locally rspec-core now works with the rspec-dev setup or your
494 local gems
495 * Raise exception with helpful message when rspec-1 is loaded alongside rspec-2
496 (Justin Ko)
497 * debugger statements _just work_ as long as ruby-debug is installed
498 * otherwise you get warned, but not fired
499 * Expose example.metadata in around hooks
500 * Performance improvments (much faster now)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
501
96abea4d »
2011-11-09 fix the formatting in the changelog
502 Bug fixes
503
504 * Make sure --fail-fast makes it across drb
505 * Pass -Ilib:spec to rcov
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
506
507 ### 2.1.0 / 2010-11-07
508
509 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
510
96abea4d »
2011-11-09 fix the formatting in the changelog
511 Enhancments
512
513 * Add skip_bundler option to rake task to tell rake task to ignore the presence
514 of a Gemfile (jfelchner)
515 * Add gemfile option to rake task to tell rake task what Gemfile to look for
516 (defaults to 'Gemfile')
517 * Allow passing caller trace into Metadata to support extensions (Glenn
518 Vanderburg)
519 * Add deprecation warning for Spec::Runner.configure to aid upgrade from
520 RSpec-1
521 * Add deprecated Spec::Rake::SpecTask to aid upgrade from RSpec-1
522 * Add 'autospec' command with helpful message to aid upgrade from RSpec-1
523 * Add support for filtering with tags on CLI (Lailson Bandeira)
524 * Add a helpful message about RUBYOPT when require fails in bin/rspec (slyphon)
525 * Add "-Ilib" to the default rcov options (Tianyi Cui)
526 * Make the expectation framework configurable (default rspec, of course)
527 (Justin Ko)
528 * Add 'pending' to be conditional (Myron Marston)
529 * Add explicit support for :if and :unless as metadata keys for conditional run
530 of examples (Myron Marston)
531 * Add --fail-fast command line option (Jeff Kreeftmeijer)
532
533 Bug fixes
534
535 * Eliminate stack overflow with "subject { self }"
536 * Require 'rspec/core' in the Raketask (ensures it required when running rcov)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
537
538 ### 2.0.1 / 2010-10-18
539
540 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
541
96abea4d »
2011-11-09 fix the formatting in the changelog
542 Bug fixes
543
544 * Restore color when using spork + autotest
545 * Pending examples without docstrings render the correct message (Josep M.
546 Bach)
547 * Fixed bug where a failure in a spec file ending in anything but _spec.rb
548 would fail in a confusing way.
549 * Support backtrace lines from erb templates in html formatter (Alex Crichton)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
550
551 ### 2.0.0 / 2010-10-10
552
553 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
554
96abea4d »
2011-11-09 fix the formatting in the changelog
555 RSpec-1 compatibility
556
557 * Rake task uses ENV["SPEC"] as file list if present
558
559 Bug fixes
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
560
96abea4d »
2011-11-09 fix the formatting in the changelog
561 * Bug Fix: optparse --out foo.txt (Leonardo Bessa)
562 * Suppress color codes for non-tty output (except autotest)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
563
564 ### 2.0.0.rc / 2010-10-05
565
566 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
567
96abea4d »
2011-11-09 fix the formatting in the changelog
568 Enhancements
569
570 * implicitly require unknown formatters so you don't have to require the file
571 explicitly on the commmand line (Michael Grosser)
572 * add --out/-o option to assign output target
573 * added fail_fast configuration option to abort on first failure
574 * support a Hash subject (its([:key]) { should == value }) (Josep M. Bach)
575
576 Bug fixes
577
578 * Explicitly require rspec version to fix broken rdoc task (Hans de Graaff)
579 * Ignore backtrace lines that come from other languages, like Java or
580 Javascript (Charles Lowell)
581 * Rake task now does what is expected when setting (or not setting)
582 fail_on_error and verbose
583 * Fix bug in which before/after(:all) hooks were running on excluded nested
584 groups (Myron Marston)
585 * Fix before(:all) error handling so that it fails examples in nested groups,
586 too (Myron Marston)
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
587
588 ### 2.0.0.beta.22 / 2010-09-12
589
590 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
591
96abea4d »
2011-11-09 fix the formatting in the changelog
592 Enhancements
593
594 * removed at_exit hook
595 * CTRL-C stops the run (almost) immediately
596 * first it cleans things up by running the appropriate after(:all) and
597 after(:suite) hooks
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
598 * then it reports on any examples that have already run
96abea4d »
2011-11-09 fix the formatting in the changelog
599 * cleaned up rake task
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
600 * generate correct task under variety of conditions
601 * options are more consistent
602 * deprecated redundant options
96abea4d »
2011-11-09 fix the formatting in the changelog
603 * run 'bundle exec autotest' when Gemfile is present
604 * support ERB in .rspec options files (Justin Ko)
605 * depend on bundler for development tasks (Myron Marston)
606 * add example_group_finished to formatters and reporter (Roman Chernyatchik)
607
608 Bug fixes
609
610 * support paths with spaces when using autotest (Andreas Neuhaus)
611 * fix module_exec with ruby 1.8.6 (Myron Marston)
612 * remove context method from top-level
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
613 * was conflicting with irb, for example
96abea4d »
2011-11-09 fix the formatting in the changelog
614 * errors in before(:all) are now reported correctly (Chad Humphries)
615
616 Removals
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
617
96abea4d »
2011-11-09 fix the formatting in the changelog
618 * removed -o --options-file command line option
b7c21953 »
2010-12-13 Add copies of Upgrade and History to features so they appear in relish.
619 * use ./.rspec and ~/.rspec
Something went wrong with that request. Please try again.