Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 528 lines (388 sloc) 19.38 kb
651d8d9 @dchelimsky `config.mock_with` and `config.expect_with` yield custom config object
dchelimsky authored
1 ### dev
2
3 Enhancements
4
5 * `config.mock_with` and `config.expect_with` yield custom config object to a
6 block if given
7 * aids decoupling from rspec-core's configuation
1004353 @justinko changelog [ci skip]
justinko authored
8 * Allow specifying multiple `--example` options. (Daniel Doubrovkine @dblock)
2e20683 @dchelimsky Support a 'name' arg to subject declaration
dchelimsky authored
9 * `subject(:article) { Article.new }`
19e1eaf @dchelimsky more Changelog for #619 [ci skip]
dchelimsky authored
10 * see http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/
11 for background.
12 * thanks to Bradley Schaefer for suggesting it and Avdi Grimm for almost
13 suggesting it.
651d8d9 @dchelimsky `config.mock_with` and `config.expect_with` yield custom config object
dchelimsky authored
14
89c44ef @dchelimsky update changelog for 2.10 release
dchelimsky authored
15 ### 2.10.0 / 2012-05-03
16 [full changelog](http://github.com/rspec/rspec-core/compare/v2.9.0...v2.10.0)
f85d405 @dchelimsky Changelog for #579
dchelimsky authored
17
18 Enhancements
19
20 * Add `prepend_before` and `append_after` hooks (preethiramdev)
21 * intended for extension libs
22 * restores rspec-1 behavior
a777f09 @justinko changelog [ci skip]
justinko authored
23 * Reporting of profiled examples (moro)
24 * Report the total amount of time taken for the top slowest examples.
25 * Report what percentage the slowest examples took from the total runtime.
f85d405 @dchelimsky Changelog for #579
dchelimsky authored
26
268eeb4 @justinko Properly parse `SPEC_OPTS` options. Fixes #586
justinko authored
27 Bug fixes
28
29 * Properly parse `SPEC_OPTS` options.
36f6e22 @dchelimsky Changelog formatting tweak [ci skip]
dchelimsky authored
30 * `example.description` returns the location of the example if there is no
34cb8f9 @dchelimsky example.description returns the location of the example if there is no
dchelimsky authored
31 explicit description or matcher-generated description.
26e9548 @dchelimsky Changelog for #589
dchelimsky authored
32 * RDoc fixes (Grzegorz Świrski)
fbe0e75 @dchelimsky Changelog for #588 [ci skip]
dchelimsky authored
33 * Do not modify example ancestry when dumping errors (Michael Grosser)
268eeb4 @justinko Properly parse `SPEC_OPTS` options. Fixes #586
justinko authored
34
52bbe9f @dchelimsky bump to 2.9.0
dchelimsky authored
35 ### 2.9.0 / 2012-03-17
36 [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0...v2.9.0)
454f3b4 @dchelimsky No need to override command line switches that don't accept false (e.g.
dchelimsky authored
37
a08eabc @justinko changelog
justinko authored
38 Enhancements
39
40 * Support for "X minutes X seconds" spec run duration in formatter. (uzzz)
04d77ec @dchelimsky Changelog for prev commit
dchelimsky authored
41 * Strip whitespace from group and example names in doc formatter.
dbf1d64 @dchelimsky remove spork-0.9 shim (0.9 has been released)
dchelimsky authored
42 * Removed spork-0.9 shim. If you're using spork-0.8.x, you'll need to upgrade
43 to 0.9.0.
a08eabc @justinko changelog
justinko authored
44
454f3b4 @dchelimsky No need to override command line switches that don't accept false (e.g.
dchelimsky authored
45 Bug fixes
46
47 * Restore `--full_backtrace` option
e0de119 @dchelimsky Changelog for #554
dchelimsky authored
48 * Ensure that values passed to `config.filter_run` are respected when running
49 over DRb (using spork).
8e8fb2b @justinko Ensure shared example groups are reset after a run (as example groups ar...
justinko authored
50 * Ensure shared example groups are reset after a run (as example groups are).
5686c13 @dchelimsky it was rescue false, not rescue nil
dchelimsky authored
51 * Remove `rescue false` from calls to filters represented as Procs
19e1eaf @dchelimsky more Changelog for #619 [ci skip]
dchelimsky authored
52 * Ensure `described_class` gets the closest constant (pyromaniac)
53 * In "autorun", don't run the specs in the `at_exit` hook if there was an
aefb25c @justinko changelog
justinko authored
54 exception (most likely due to a SyntaxError). (sunaku)
9f425c2 @dchelimsky Changelog for #576
dchelimsky authored
55 * Don't extend groups with modules already used to extend ancestor groups.
52bbe9f @dchelimsky bump to 2.9.0
dchelimsky authored
56 * `its` correctly memoizes nil or false values (Yamada Masaki)
5686c13 @dchelimsky it was rescue false, not rescue nil
dchelimsky authored
57
5bafc3a @dchelimsky bump to 2.8.0
dchelimsky authored
58 ### 2.8.0 / 2012-01-04
8ee5005 @justinko changelog
justinko authored
59
5bafc3a @dchelimsky bump to 2.8.0
dchelimsky authored
60 [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc2...v2.8.0)
8ee5005 @justinko changelog
justinko authored
61
62 Bug fixes
63
64 * For metadata filtering, restore passing the entire array to the proc, rather
65 than each item in the array (weidenfreak)
43bd805 @dchelimsky Changelog for #546
dchelimsky authored
66 * Ensure each spec file is loaded only once
67 * Fixes a bug that caused all the examples in a file to be run when
68 referenced twice with line numbers in a command, e.g.
69 * `rspec path/to/file:37 path/to/file:42`
8ee5005 @justinko changelog
justinko authored
70
e69e7e7 @dchelimsky prep for 2.8.0.rc2
dchelimsky authored
71 ### 2.8.0.rc2 / 2011-12-19
8a613b5 @dchelimsky changelog for #430
dchelimsky authored
72
e69e7e7 @dchelimsky prep for 2.8.0.rc2
dchelimsky authored
73 [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc1...v2.8.0.rc2)
8a613b5 @dchelimsky changelog for #430
dchelimsky authored
74
75 Enhancments
76
fe4d40c @dchelimsky changelog tweak
dchelimsky authored
77 * new `--init` command (Peter Schröder)
78 * generates `spec/spec_helper.rb`
8ee5005 @justinko changelog
justinko authored
79 * deletes obsolete files (on confirmation)
8a613b5 @dchelimsky changelog for #430
dchelimsky authored
80 * merged with and deprecates `--configure` command, which generated
81 `.rspec`
c59cdf8 @dchelimsky changelog and benchmark for #502
dchelimsky authored
82 * use `require_relative` when available (Ian Leitch)
96ef203 @dchelimsky changelog and cleanup for #503
dchelimsky authored
83 * `include_context` and `include_examples` accept params (Calvin Bascom)
8de2a97 @dchelimsky changelog for #451
dchelimsky authored
84 * print the time for every example in the html formatter (Richie Vos)
5cf3ec4 @dchelimsky changes
dchelimsky authored
85 * several tasty refactoring niblets (Sasha)
d0cdea9 @dchelimsky Changelog for #504
dchelimsky authored
86 * `it "does something", :x => [:foo,'bar',/baz/] (Ivan Neverov)
87 * supports matching n command line tag values with an example or group
8a613b5 @dchelimsky changelog for #430
dchelimsky authored
88
3df9693 @dchelimsky reformat the changelog file
dchelimsky authored
89 ### 2.8.0.rc1 / 2011-11-06
90
91 [full changelog](http://github.com/rspec/rspec-core/compare/v2.7.1...v2.8.0.rc1)
f9f36ae @justinko changelog
justinko authored
92
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
93 Enhancements
94
541c02a @dchelimsky more changelog formatting
dchelimsky authored
95 * `--order` (Justin Ko)
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
96 * run examples in random order: `--order rand`
97 * specify the seed: `--order rand:123`
541c02a @dchelimsky more changelog formatting
dchelimsky authored
98 * `--seed SEED`
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
99 * equivalent of `--order rand:SEED`
100 * SharedContext supports `let` (David Chelimsky)
101 * Filter improvements (David Chelimsky)
102 * override opposing tags from the command line
103 * override RSpec.configure tags from the command line
541c02a @dchelimsky more changelog formatting
dchelimsky authored
104 * `--line_number 37` overrides all other filters
105 * `path/to/file.rb:37` overrides all other filters
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
106 * refactor: consolidate filter management in a FilterManger object
107 * Eliminate Ruby warnings (Matijs van Zuijlen)
108 * Make reporter.report an API (David Chelimsky)
109 * supports extension tools like interative_rspec
110
111 Changes
112
113 * change `config.color_enabled` (getter/setter/predicate) to `color` to align
114 with `--[no]-color` CLI option.
115 * `color_enabled` is still supported for now, but will likley be deprecated
116 in a 2.x release so we can remove it in 3.0.
117
118 Bug fixes
119
120 * Make sure the `bar` in `--tag foo:bar` makes it to DRb (Aaron Gibralter)
121 * Fix bug where full descriptions of groups nested 3 deep were repeated.
122 * Restore report of time to run to start after files are loaded.
123 * fixes bug where run times were cumalitive in spork
124 * fixes compatibility with time-series metrics
541c02a @dchelimsky more changelog formatting
dchelimsky authored
125 * Don't error out when `config.mock_with` or `expect_with` is re-specifying the
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
126 current config (Myron Marston)
f87e9d7 @dchelimsky Add :alias_with option to configuration.add_setting and deprecate the
dchelimsky authored
127
128 * Deprecations
3df9693 @dchelimsky reformat the changelog file
dchelimsky authored
129 * :alias option on `configuration.add_setting`. Use `:alias_with` on the
130 original setting declaration instead.
d3604a9 @dchelimsky changelog
dchelimsky authored
131
d63dc5d @dchelimsky bump to 2.7.1
dchelimsky authored
132 ### 2.7.1 / 2011-10-20
96fa119 @dchelimsky tell autotest the correct place to find the rspec command
dchelimsky authored
133
824bd96 @dchelimsky fix the link to full changelog
dchelimsky authored
134 [full changelog](http://github.com/rspec/rspec-core/compare/v2.7.0...v2.7.1)
96fa119 @dchelimsky tell autotest the correct place to find the rspec command
dchelimsky authored
135
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
136 Bug fixes
137
138 * tell autotest the correct place to find the rspec executable
96fa119 @dchelimsky tell autotest the correct place to find the rspec command
dchelimsky authored
139
5bd1ccf @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
140 ### 2.7.0 / 2011-10-16
59ddb79 @dchelimsky better changelog ...
dchelimsky authored
141
5bd1ccf @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
142 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
1c3f47b @dchelimsky add example.exception
dchelimsky authored
143
3d810f8 @dchelimsky Only require "rspec/autorun" implicitly when using the `rspec` command.
dchelimsky authored
144 NOTE: RSpec's release policy dictates that there should not be any backward
145 incompatible changes in minor releases, but we're making an exception to
146 release a change to how RSpec interacts with other command line tools.
147
148 As of 2.7.0, you must explicity `require "rspec/autorun"` unless you use the
149 `rspec` command (which already does this for you).
150
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
151 Enhancements
152
541c02a @dchelimsky more changelog formatting
dchelimsky authored
153 * Add `example.exception` (David Chelimsky)
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
154 * `--default_path` command line option (Justin Ko)
155 * support multiple `--line_number` options (David J. Hamilton)
156 * also supports `path/to/file.rb:5:9` (runs examples on lines 5 and 9)
157 * Allow classes/modules to be used as shared example group identifiers (Arthur
158 Gunn)
159 * Friendly error message when shared context cannot be found (Sławosz
160 Sławiński)
161 * Clear formatters when resetting config (John Bintz)
162 * Add `xspecify` and xexample as temp-pending methods (David Chelimsky)
163 * Add `--no-drb` option (Iain Hecker)
164 * Provide more accurate run time by registering start time before code is
165 loaded (David Chelimsky)
24a3ada @dchelimsky Restore reported run time to begin after files are loaded.
dchelimsky authored
166 * reverted in 2.8.0
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
167 * Rake task default pattern finds specs in symlinked dirs (Kelly Felkins)
168 * Rake task no longer does anything to invoke bundler since Bundler already
169 handles it for us. Thanks to Andre Arko for the tip.
170 * Add `--failure-exit-code` option (Chris Griego)
171
172 Bug fixes
173
174 * Include `Rake::DSL` to remove deprecation warnings in Rake > 0.8.7 (Pivotal
175 Casebook)
176 * Only eval `let` block once even if it returns `nil` (Adam Meehan)
177 * Fix `--pattern` option (wasn't being recognized) (David Chelimsky)
178 * Only implicitly `require "rspec/autorun"` with the `rspec` command (David
179 Chelimsky)
180 * Ensure that rspec's `at_exit` defines the exit code (Daniel Doubrovkine)
181 * Show the correct snippet in the HTML and TextMate formatters (Brian Faherty)
f1ea985 @dchelimsky Changelog
dchelimsky authored
182
74aa307 @dchelimsky move Changelog to project dir and copy it to features when deploying rel...
dchelimsky authored
183 ### 2.6.4 / 2011-06-06
184
185 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.3...v2.6.4)
17bb5a3 @justinko changelog
justinko authored
186
a74533d @dchelimsky oops
dchelimsky authored
187 NOTE: RSpec's release policy dictates that there should not be new
188 functionality in patch releases, but this minor enhancement slipped in by
189 accident. As it doesn't add a new API, we decided to leave it in rather than
190 roll back this release.
191
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
192 Enhancements
193
194 * Add summary of commands to run individual failed examples.
a74533d @dchelimsky oops
dchelimsky authored
195
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
196 Bug fixes
197
198 * Support exclusion filters in DRb. (Yann Lugrin)
199 * Fix --example escaping when run over DRb. (Elliot Winkler)
200 * Use standard ANSI codes for color formatting so colors work in a wider set of
201 color schemes.
17bb5a3 @justinko changelog
justinko authored
202
c3d9f1b @dchelimsky Merge in changes from 2-6-maintenance branch
dchelimsky authored
203 ### 2.6.3 / 2011-05-24
5554b70 @dchelimsky changelog
dchelimsky authored
204
c3d9f1b @dchelimsky Merge in changes from 2-6-maintenance branch
dchelimsky authored
205 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.2...v2.6.3)
1f93c36 @dchelimsky changes
dchelimsky authored
206
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
207 Bug fixes
208
209 * Explicitly convert exit code to integer, avoiding TypeError when return
210 value of run is IO object proxied by `DRb::DRbObject` (Julian Scheid)
211 * Clarify behavior of `--example` command line option
212 * Build using a rubygems-1.6.2 to avoid downstream yaml parsing error
5554b70 @dchelimsky changelog
dchelimsky authored
213
b193ae0 @dchelimsky bump to 2.6.2
dchelimsky authored
214 ### 2.6.2 / 2011-05-21
2c00b21 @dchelimsky warn instead of raising when Ruby can't resolve '~'
dchelimsky authored
215
216 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.1...v2.6.2)
217
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
218 Bug fixes
219
220 * Warn rather than raise when HOME env var is not defined
221 * Properly merge command-line exclusions with default :if and :unless (joshcooper)
2c00b21 @dchelimsky warn instead of raising when Ruby can't resolve '~'
dchelimsky authored
222
313167c @dchelimsky bump to 2.6.1
dchelimsky authored
223 ### 2.6.1 / 2011-05-19
899c679 @dchelimsky changelog
dchelimsky authored
224
313167c @dchelimsky bump to 2.6.1
dchelimsky authored
225 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.0...v2.6.1)
899c679 @dchelimsky changelog
dchelimsky authored
226
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
227 Bug fixes
228
229 * Don't extend nil when filters are nil
230 * `require 'rspec/autorun'` when running rcov.
899c679 @dchelimsky changelog
dchelimsky authored
231
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
232 ### 2.6.0 / 2011-05-12
7410e6f @dchelimsky CommandLine.run returns 0/1 instead of true/false
dchelimsky authored
233
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
234 [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.1...v2.6.0)
1a09d44 @dchelimsky changelog
dchelimsky authored
235
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
236 Enhancements
237
238 * `shared_context` (Damian Nurzynski)
239 * extend groups matching specific metadata with:
240 * method definitions
241 * subject declarations
242 * let/let! declarations
243 * etc (anything you can do in a group)
244 * `its([:key])` works for any subject with #[]. (Peter Jaros)
245 * `treat_symbols_as_metadata_keys_with_true_values` (Myron Marston)
246 * Print a deprecation warning when you configure RSpec after defining an
247 example. All configuration should happen before any examples are defined.
248 (Myron Marston)
249 * Pass the exit status of a DRb run to the invoking process. This causes specs
250 run via DRb to not just return true or false. (Ilkka Laukkanen)
251 * Refactoring of `ConfigurationOptions#parse_options` (Rodrigo Rosenfeld Rosas)
252 * Report excluded filters in runner output (tip from andyl)
253 * Clean up messages for filters/tags.
254 * Restore --pattern/-P command line option from rspec-1
255 * Support false as well as true in config.full_backtrace= (Andreas Tolf
256 Tolfsen)
257
258 Bug fixes
259
260 * Don't stumble over an exception without a message (Hans Hasselberg)
261 * Remove non-ascii characters from comments that were choking rcov (Geoffrey
262 Byers)
263 * Fixed backtrace so it doesn't include lines from before the autorun at_exit
264 hook (Myron Marston)
265 * Include RSpec::Matchers when first example group is defined, rather than just
266 before running the examples. This works around an obscure bug in ruby 1.9
267 that can cause infinite recursion. (Myron Marston)
268 * Don't send `example_group_[started|finished]` to formatters for empty groups.
269 * Get specs passing on jruby (Sidu Ponnappa)
270 * Fix bug where mixing nested groups and outer-level examples gave
271 unpredictable :line_number behavior (Artur Małecki)
272 * Regexp.escape the argument to --example (tip from Elliot Winkler)
273 * Correctly pass/fail pending block with message expectations
274 * CommandLine returns exit status (0/1) instead of true/false
275 * Create path to formatter output file if it doesn't exist (marekj).
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
276
1a09d44 @dchelimsky changelog
dchelimsky authored
277
79f9af6 @dchelimsky date typo
dchelimsky authored
278 ### 2.5.1 / 2011-02-06
af1454d @dchelimsky prep 2.5.1 release
dchelimsky authored
279
280 [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.0...v2.5.1)
281
282 NOTE: this release breaks compatibility with rspec/autotest/bundler
283 integration, but does so in order to greatly simplify it.
284
285 With this release, if you want the generated autotest command to include
286 'bundle exec', require Autotest's bundler plugin in a .autotest file in the
287 project's root directory or in your home directory:
288
289 require "autotest/bundler"
290
291 Now you can just type 'autotest' on the commmand line and it will work as you expect.
292
293 If you don't want 'bundle exec', there is nothing you have to do.
294
70acb98 @dchelimsky prep for 2.5 release
dchelimsky authored
295 ### 2.5.0 / 2011-02-05
26271e1 @dchelimsky eliminate dup docs
dchelimsky authored
296
70acb98 @dchelimsky prep for 2.5 release
dchelimsky authored
297 [full changelog](http://github.com/rspec/rspec-core/compare/v2.4.0...v2.5.0)
26271e1 @dchelimsky eliminate dup docs
dchelimsky authored
298
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
299 Enhancements
26271e1 @dchelimsky eliminate dup docs
dchelimsky authored
300
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
301 * Autotest::Rspec2 parses command line args passed to autotest after '--'
302 * --skip-bundler option for autotest command
303 * Autotest regexp fixes (Jon Rowe)
304 * Add filters to html and textmate formatters (Daniel Quimper)
305 * Explicit passing of block (need for JRuby 1.6) (John Firebaugh)
306
307 Bug fixes
308
309 * fix dom IDs in HTML formatter (Brian Faherty)
310 * fix bug with --drb + formatters when not running in drb
311 * include --tag options in drb args (monocle)
312 * fix regression so now SPEC_OPTS take precedence over CLI options again (Roman
313 Chernyatchik)
314 * only call its(:attribute) once (failing example from Brian Dunn)
315 * fix bizarre bug where rspec would hang after String.alias :to_int :to_i
316 (Damian Nurzynski)
317
318 Deprecations
319
320 * implicit inclusion of 'bundle exec' when Gemfile present (use autotest's
321 bundler plugin instead)
c1a9383 @dchelimsky update changelog
dchelimsky authored
322
27deb82 @dchelimsky docs
dchelimsky authored
323 ### 2.4.0 / 2011-01-02
324
325 [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0)
326
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
327 Enhancements
328
329 * start the debugger on -d so the stack trace is visible when it stops
330 (Clifford Heath)
331 * apply hook filtering to examples as well as groups (Myron Marston)
332 * support multiple formatters, each with their own output
333 * show exception classes in failure messages unless they come from RSpec
334 matchers or message expectations
335 * before(:all) { pending } sets all examples to pending
336
337 Bug fixes
338
339 * fix bug due to change in behavior of reject in Ruby 1.9.3-dev (Shota
340 Fukumori)
341 * fix bug when running in jruby: be explicit about passing block to super (John
342 Firebaugh)
343 * rake task doesn't choke on paths with quotes (Janmejay Singh)
344 * restore --options option from rspec-1
345 * require 'ostruct' to fix bug with its([key]) (Kim Burgestrand)
346 * --configure option generates .rspec file instead of autotest/discover.rb
27deb82 @dchelimsky docs
dchelimsky authored
347
348 ### 2.3.1 / 2010-12-16
349
350 [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
351
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
352 Bug fixes
353
354 * send debugger warning message to $stdout if RSpec.configuration.error_stream
355 has not been defined yet.
356 * HTML Formatter _finally_ properly displays nested groups (Jarmo Pertman)
357 * eliminate some warnings when running RSpec's own suite (Jarmo Pertman)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
358
359 ### 2.3.0 / 2010-12-12
360
361 [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
362
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
363 Enhancements
364
365 * tell autotest to use "rspec2" if it sees a .rspec file in the project's root
366 directory
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
367 * replaces the need for ./autotest/discover.rb, which will not work with
368 all versions of ZenTest and/or autotest
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
369 * config.expect_with
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
370 * :rspec # => rspec/expectations
371 * :stdlib # => test/unit/assertions
372 * :rspec, :stdlib # => both
373
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
374 Bug fixes
375
376 * fix dev Gemfile to work on non-mac-os machines (Lake Denman)
377 * ensure explicit subject is only eval'd once (Laszlo Bacsi)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
378
379 ### 2.2.1 / 2010-11-28
380
381 [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
382
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
383 Bug fixes
384 * alias_method instead of override Kernel#method_missing (John Wilger)
385 * changed --autotest to --tty in generated command (MIKAMI Yoshiyuki)
386 * revert change to debugger (had introduced conflict with Rails)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
387 * also restored --debugger/-debug option
388
389 ### 2.2.0 / 2010-11-28
390
391 [full changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
392
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
393 Deprecations/changes
394
395 * --debug/-d on command line is deprecated and now has no effect
396 * win32console is now ignored; Windows users must use ANSICON for color support
397 (Bosko Ivanisevic)
398
399 Enhancements
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
400
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
401 * When developing locally rspec-core now works with the rspec-dev setup or your
402 local gems
403 * Raise exception with helpful message when rspec-1 is loaded alongside rspec-2
404 (Justin Ko)
405 * debugger statements _just work_ as long as ruby-debug is installed
406 * otherwise you get warned, but not fired
407 * Expose example.metadata in around hooks
408 * Performance improvments (much faster now)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
409
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
410 Bug fixes
411
412 * Make sure --fail-fast makes it across drb
413 * Pass -Ilib:spec to rcov
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
414
415 ### 2.1.0 / 2010-11-07
416
417 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
418
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
419 Enhancments
420
421 * Add skip_bundler option to rake task to tell rake task to ignore the presence
422 of a Gemfile (jfelchner)
423 * Add gemfile option to rake task to tell rake task what Gemfile to look for
424 (defaults to 'Gemfile')
425 * Allow passing caller trace into Metadata to support extensions (Glenn
426 Vanderburg)
427 * Add deprecation warning for Spec::Runner.configure to aid upgrade from
428 RSpec-1
429 * Add deprecated Spec::Rake::SpecTask to aid upgrade from RSpec-1
430 * Add 'autospec' command with helpful message to aid upgrade from RSpec-1
431 * Add support for filtering with tags on CLI (Lailson Bandeira)
432 * Add a helpful message about RUBYOPT when require fails in bin/rspec (slyphon)
433 * Add "-Ilib" to the default rcov options (Tianyi Cui)
434 * Make the expectation framework configurable (default rspec, of course)
435 (Justin Ko)
436 * Add 'pending' to be conditional (Myron Marston)
437 * Add explicit support for :if and :unless as metadata keys for conditional run
438 of examples (Myron Marston)
439 * Add --fail-fast command line option (Jeff Kreeftmeijer)
440
441 Bug fixes
442
443 * Eliminate stack overflow with "subject { self }"
444 * Require 'rspec/core' in the Raketask (ensures it required when running rcov)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
445
446 ### 2.0.1 / 2010-10-18
447
448 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
449
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
450 Bug fixes
451
452 * Restore color when using spork + autotest
453 * Pending examples without docstrings render the correct message (Josep M.
454 Bach)
455 * Fixed bug where a failure in a spec file ending in anything but _spec.rb
456 would fail in a confusing way.
457 * Support backtrace lines from erb templates in html formatter (Alex Crichton)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
458
459 ### 2.0.0 / 2010-10-10
460
461 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
462
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
463 RSpec-1 compatibility
464
465 * Rake task uses ENV["SPEC"] as file list if present
466
467 Bug fixes
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
468
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
469 * Bug Fix: optparse --out foo.txt (Leonardo Bessa)
470 * Suppress color codes for non-tty output (except autotest)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
471
472 ### 2.0.0.rc / 2010-10-05
473
474 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
475
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
476 Enhancements
477
478 * implicitly require unknown formatters so you don't have to require the file
479 explicitly on the commmand line (Michael Grosser)
480 * add --out/-o option to assign output target
481 * added fail_fast configuration option to abort on first failure
482 * support a Hash subject (its([:key]) { should == value }) (Josep M. Bach)
483
484 Bug fixes
485
486 * Explicitly require rspec version to fix broken rdoc task (Hans de Graaff)
487 * Ignore backtrace lines that come from other languages, like Java or
488 Javascript (Charles Lowell)
489 * Rake task now does what is expected when setting (or not setting)
490 fail_on_error and verbose
491 * Fix bug in which before/after(:all) hooks were running on excluded nested
492 groups (Myron Marston)
493 * Fix before(:all) error handling so that it fails examples in nested groups,
494 too (Myron Marston)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
495
496 ### 2.0.0.beta.22 / 2010-09-12
497
498 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
499
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
500 Enhancements
501
502 * removed at_exit hook
503 * CTRL-C stops the run (almost) immediately
504 * first it cleans things up by running the appropriate after(:all) and
505 after(:suite) hooks
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
506 * then it reports on any examples that have already run
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
507 * cleaned up rake task
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
508 * generate correct task under variety of conditions
509 * options are more consistent
510 * deprecated redundant options
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
511 * run 'bundle exec autotest' when Gemfile is present
512 * support ERB in .rspec options files (Justin Ko)
513 * depend on bundler for development tasks (Myron Marston)
514 * add example_group_finished to formatters and reporter (Roman Chernyatchik)
515
516 Bug fixes
517
518 * support paths with spaces when using autotest (Andreas Neuhaus)
519 * fix module_exec with ruby 1.8.6 (Myron Marston)
520 * remove context method from top-level
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
521 * was conflicting with irb, for example
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
522 * errors in before(:all) are now reported correctly (Chad Humphries)
523
524 Removals
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
525
96abea4 @dchelimsky fix the formatting in the changelog
dchelimsky authored
526 * removed -o --options-file command line option
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
527 * use ./.rspec and ~/.rspec
Something went wrong with that request. Please try again.