Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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