Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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