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