Skip to content

HTTPS clone URL

Subversion checkout URL

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