Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 369 lines (288 sloc) 14.855 kb
f9f36ae @justinko changelog
justinko authored
1 ### DEV
2
3 * Enhancements
4 * Randomization (Justin Ko)
5 * Run your examples in random order: `--random` `--rand`
6 * Pass a seed: `--seed 123`
7
d63dc5d @dchelimsky bump to 2.7.1
dchelimsky authored
8 ### 2.7.1 / 2011-10-20
96fa119 @dchelimsky tell autotest the correct place to find the rspec command
dchelimsky authored
9
824bd96 @dchelimsky fix the link to full changelog
dchelimsky authored
10 [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
11
12 * Bug fixes
d63dc5d @dchelimsky bump to 2.7.1
dchelimsky authored
13 * tell autotest the correct place to find the rspec executable
96fa119 @dchelimsky tell autotest the correct place to find the rspec command
dchelimsky authored
14
5bd1ccf @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
15 ### 2.7.0 / 2011-10-16
59ddb79 @dchelimsky better changelog ...
dchelimsky authored
16
5bd1ccf @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
17 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
1c3f47b @dchelimsky add example.exception
dchelimsky authored
18
3d810f8 @dchelimsky Only require "rspec/autorun" implicitly when using the `rspec` command.
dchelimsky authored
19 NOTE: RSpec's release policy dictates that there should not be any backward
20 incompatible changes in minor releases, but we're making an exception to
21 release a change to how RSpec interacts with other command line tools.
22
23 As of 2.7.0, you must explicity `require "rspec/autorun"` unless you use the
24 `rspec` command (which already does this for you).
25
1c3f47b @dchelimsky add example.exception
dchelimsky authored
26 * Enhancements
9567fe0 @dchelimsky change default_directory to default_path
dchelimsky authored
27 * Add example.exception (David Chelimsky)
869855b @dchelimsky fix formatting problems in the changelog
dchelimsky authored
28 * `--default_path` command line option (Justin Ko)
29 * support multiple `--line_number` options (David J. Hamilton)
30 * also supports `path/to/file.rb:5:9` (runs examples on lines 5 and 9)
bbd2e19 @justinko changelog
justinko authored
31 * Allow classes/modules to be used as shared example group identifiers
32 (Arthur Gunn)
ea7351c @dchelimsky changes and slight tweaks from previous commit
dchelimsky authored
33 * Friendly error message when shared context cannot be found (Sławosz
34 Sławiński)
af6f886 @dchelimsky Clear formatters rather than creating new array object, and split exampl...
dchelimsky authored
35 * Clear formatters when resetting config (John Bintz)
869855b @dchelimsky fix formatting problems in the changelog
dchelimsky authored
36 * Add `xspecify` and xexample as temp-pending methods (David Chelimsky)
37 * Add `--no-drb` option (Iain Hecker)
28c1b57 @dchelimsky changelog
dchelimsky authored
38 * Provide more accurate run time by registering start time before code
39 is loaded (David Chelimsky)
ca3c0fc @dchelimsky Changelog for #459
dchelimsky authored
40 * Rake task default pattern finds specs in symlinked dirs (Kelly Felkins)
5bd1ccf @dchelimsky update changelog for 2.7.0 release
dchelimsky authored
41 * Rake task no longer does anything to invoke bundler since Bundler already
42 handles it for us. Thanks to Andre Arko for the tip.
869855b @dchelimsky fix formatting problems in the changelog
dchelimsky authored
43 * Add `--failure-exit-code` option (Chris Griego)
1c3f47b @dchelimsky add example.exception
dchelimsky authored
44
f1ea985 @dchelimsky Changelog
dchelimsky authored
45 * Bug fixes
869855b @dchelimsky fix formatting problems in the changelog
dchelimsky authored
46 * Include `Rake::DSL` to remove deprecation warnings in Rake > 0.8.7 (Pivotal
3d810f8 @dchelimsky Only require "rspec/autorun" implicitly when using the `rspec` command.
dchelimsky authored
47 Casebook)
f1ea985 @dchelimsky Changelog
dchelimsky authored
48 * Only eval `let` block once even if it returns `nil` (Adam Meehan)
869855b @dchelimsky fix formatting problems in the changelog
dchelimsky authored
49 * Fix `--pattern` option (wasn't being recognized) (David Chelimsky)
50 * Only implicitly `require "rspec/autorun"` with the `rspec` command (David
71a9740 @dchelimsky changes
dchelimsky authored
51 Chelimsky)
869855b @dchelimsky fix formatting problems in the changelog
dchelimsky authored
52 * Ensure that rspec's `at_exit` defines the exit code (Daniel Doubrovkine)
e666dd1 @dchelimsky Changelog for #214
dchelimsky authored
53 * Show the correct snippet in the HTML and TextMate formatters (Brian
54 Faherty)
f1ea985 @dchelimsky Changelog
dchelimsky authored
55
74aa307 @dchelimsky move Changelog to project dir and copy it to features when deploying rel...
dchelimsky authored
56 ### 2.6.4 / 2011-06-06
57
58 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.3...v2.6.4)
17bb5a3 @justinko changelog
justinko authored
59
a74533d @dchelimsky oops
dchelimsky authored
60 NOTE: RSpec's release policy dictates that there should not be new
61 functionality in patch releases, but this minor enhancement slipped in by
62 accident. As it doesn't add a new API, we decided to leave it in rather than
63 roll back this release.
64
65 * Enhancements
e2eb136 @dchelimsky relish docs
dchelimsky authored
66 * Add summary of commands to run individual failed examples.
a74533d @dchelimsky oops
dchelimsky authored
67
17bb5a3 @justinko changelog
justinko authored
68 * Bug fixes
e2eb136 @dchelimsky relish docs
dchelimsky authored
69 * Support exclusion filters in DRb. (Yann Lugrin)
70 * Fix --example escaping when run over DRb. (Elliot Winkler)
71 * Use standard ANSI codes for color formatting so colors work in a wider set
72 of color schemes.
17bb5a3 @justinko changelog
justinko authored
73
c3d9f1b @dchelimsky Merge in changes from 2-6-maintenance branch
dchelimsky authored
74 ### 2.6.3 / 2011-05-24
5554b70 @dchelimsky changelog
dchelimsky authored
75
c3d9f1b @dchelimsky Merge in changes from 2-6-maintenance branch
dchelimsky authored
76 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.2...v2.6.3)
1f93c36 @dchelimsky changes
dchelimsky authored
77
5554b70 @dchelimsky changelog
dchelimsky authored
78 * Bug fixes
79 * Explicitly convert exit code to integer, avoiding TypeError when return
1f93c36 @dchelimsky changes
dchelimsky authored
80 value of run is IO object proxied by `DRb::DRbObject` (Julian Scheid)
81 * Clarify behavior of `--example` command line option
c3d9f1b @dchelimsky Merge in changes from 2-6-maintenance branch
dchelimsky authored
82 * Build using a rubygems-1.6.2 to avoid downstream yaml parsing error
5554b70 @dchelimsky changelog
dchelimsky authored
83
b193ae0 @dchelimsky bump to 2.6.2
dchelimsky authored
84 ### 2.6.2 / 2011-05-21
2c00b21 @dchelimsky warn instead of raising when Ruby can't resolve '~'
dchelimsky authored
85
86 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.1...v2.6.2)
87
88 * Bug fixes
89 * Warn rather than raise when HOME env var is not defined
689addf @dchelimsky changelog
dchelimsky authored
90 * Properly merge command-line exclusions with default :if and :unless (joshcooper)
2c00b21 @dchelimsky warn instead of raising when Ruby can't resolve '~'
dchelimsky authored
91
313167c @dchelimsky bump to 2.6.1
dchelimsky authored
92 ### 2.6.1 / 2011-05-19
899c679 @dchelimsky changelog
dchelimsky authored
93
313167c @dchelimsky bump to 2.6.1
dchelimsky authored
94 [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.0...v2.6.1)
899c679 @dchelimsky changelog
dchelimsky authored
95
96 * Bug fixes
97 * Don't extend nil when filters are nil
90db090 @dchelimsky `require 'rspec/autorun'` when running rcov
dchelimsky authored
98 * `require 'rspec/autorun'` when running rcov.
899c679 @dchelimsky changelog
dchelimsky authored
99
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
100 ### 2.6.0 / 2011-05-12
7410e6f @dchelimsky CommandLine.run returns 0/1 instead of true/false
dchelimsky authored
101
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
102 [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.1...v2.6.0)
1a09d44 @dchelimsky changelog
dchelimsky authored
103
dc24065 @dchelimsky change log
dchelimsky authored
104 * Enhancements
d57065d @dchelimsky Change config.for_groups_matching to shared_context
dchelimsky authored
105 * `shared_context` (Damian Nurzynski)
dc24065 @dchelimsky change log
dchelimsky authored
106 * extend groups matching specific metadata with:
107 * method definitions
108 * subject declarations
109 * let/let! declarations
110 * etc (anything you can do in a group)
696ef3e @dchelimsky change log
dchelimsky authored
111 * `its([:key])` works for any subject with #[]. (Peter Jaros)
b801160 @dchelimsky changelog
dchelimsky authored
112 * `treat_symbols_as_metadata_keys_with_true_values` (Myron Marston)
62c9f03 @myronmarston Update changelog.
myronmarston authored
113 * Print a deprecation warning when you configure RSpec after defining
114 an example. All configuration should happen before any examples are
115 defined. (Myron Marston)
548dda4 @justinko changelog
justinko authored
116 * Pass the exit status of a DRb run to the invoking process. This causes
117 specs run via DRb to not just return true or false. (Ilkka Laukkanen)
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
118 * Refactoring of `ConfigurationOptions#parse_options` (Rodrigo Rosenfeld Rosas)
f7ff6c0 @justinko Give credit.
justinko authored
119 * Report excluded filters in runner output (tip from andyl)
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
120 * Clean up messages for filters/tags.
121 * Restore --pattern/-P command line option from rspec-1
122 * Support false as well as true in config.full_backtrace= (Andreas Tolf Tolfsen)
dc24065 @dchelimsky change log
dchelimsky authored
123
1a09d44 @dchelimsky changelog
dchelimsky authored
124 * Bug fixes
a9ed36a @dchelimsky changelog
dchelimsky authored
125 * Don't stumble over an exception without a message (Hans Hasselberg)
126 * Remove non-ascii characters from comments that were choking rcov (Geoffrey
9557f98 @dchelimsky changelog
dchelimsky authored
127 Byers)
a9ed36a @dchelimsky changelog
dchelimsky authored
128 * Fixed backtrace so it doesn't include lines from before the autorun at_exit
e4b8f5c @myronmarston Fixed backtrace so it doesn't include lines from before the autorun at_e...
myronmarston authored
129 hook (Myron Marston)
62c9f03 @myronmarston Update changelog.
myronmarston authored
130 * Include RSpec::Matchers when first example group is defined, rather
131 than just before running the examples. This works around an obscure
132 bug in ruby 1.9 that can cause infinite recursion. (Myron Marston)
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
133 * Don't send `example_group_[started|finished]` to formatters for empty groups.
a9ed36a @dchelimsky changelog
dchelimsky authored
134 * Get specs passing on jruby (Sidu Ponnappa)
135 * Fix bug where mixing nested groups and outer-level examples gave
136 unpredictable :line_number behavior (Artur Małecki)
d0ee3df @dchelimsky Regexp.escape the argument to --example.
dchelimsky authored
137 * Regexp.escape the argument to --example (tip from Elliot Winkler)
7169b56 @dchelimsky changelog
dchelimsky authored
138 * Correctly pass/fail pending block with message expectations
6766e18 @dchelimsky prep for 2.6.0
dchelimsky authored
139 * CommandLine returns exit status (0/1) instead of true/false
140 * Create path to formatter output file if it doesn't exist (marekj).
141
1a09d44 @dchelimsky changelog
dchelimsky authored
142
79f9af6 @dchelimsky date typo
dchelimsky authored
143 ### 2.5.1 / 2011-02-06
af1454d @dchelimsky prep 2.5.1 release
dchelimsky authored
144
145 [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.0...v2.5.1)
146
147 NOTE: this release breaks compatibility with rspec/autotest/bundler
148 integration, but does so in order to greatly simplify it.
149
150 With this release, if you want the generated autotest command to include
151 'bundle exec', require Autotest's bundler plugin in a .autotest file in the
152 project's root directory or in your home directory:
153
154 require "autotest/bundler"
155
156 Now you can just type 'autotest' on the commmand line and it will work as you expect.
157
158 If you don't want 'bundle exec', there is nothing you have to do.
159
70acb98 @dchelimsky prep for 2.5 release
dchelimsky authored
160 ### 2.5.0 / 2011-02-05
26271e1 @dchelimsky eliminate dup docs
dchelimsky authored
161
70acb98 @dchelimsky prep for 2.5 release
dchelimsky authored
162 [full changelog](http://github.com/rspec/rspec-core/compare/v2.4.0...v2.5.0)
26271e1 @dchelimsky eliminate dup docs
dchelimsky authored
163
164 * Enhancements
165 * Autotest::Rspec2 parses command line args passed to autotest after '--'
166 * --skip-bundler option for autotest command
837ccdd @dchelimsky changelog
dchelimsky authored
167 * Autotest regexp fixes (Jon Rowe)
258bd20 @dchelimsky update changelog
dchelimsky authored
168 * Add filters to html and textmate formatters (Daniel Quimper)
837ccdd @dchelimsky changelog
dchelimsky authored
169 * Explicit passing of block (need for JRuby 1.6) (John Firebaugh)
26271e1 @dchelimsky eliminate dup docs
dchelimsky authored
170
171 * Bug fixes
172 * fix dom IDs in HTML formatter (Brian Faherty)
173 * fix bug with --drb + formatters when not running in drb
07fcb32 @monocle Allow tag filtering when using drb
monocle authored
174 * include --tag options in drb args (monocle)
881efbd @dchelimsky update changlog
dchelimsky authored
175 * fix regression so now SPEC_OPTS take precedence over CLI options again
176 (Roman Chernyatchik)
6a860d9 @dchelimsky changes
dchelimsky authored
177 * only call its(:attribute) once (failing example from Brian Dunn)
0f9deff @dchelimsky update Changelog
dchelimsky authored
178 * fix bizarre bug where rspec would hang after String.alias :to_int :to_i
179 (Damian Nurzynski)
26271e1 @dchelimsky eliminate dup docs
dchelimsky authored
180
c1a9383 @dchelimsky update changelog
dchelimsky authored
181 * Deprecations
182 * implicit inclusion of 'bundle exec' when Gemfile present (use autotest's
183 bundler plugin instead)
184
27deb82 @dchelimsky docs
dchelimsky authored
185 ### 2.4.0 / 2011-01-02
186
187 [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0)
188
189 * Enhancements
190 * start the debugger on -d so the stack trace is visible when it stops
191 (Clifford Heath)
192 * apply hook filtering to examples as well as groups (Myron Marston)
193 * support multiple formatters, each with their own output
194 * show exception classes in failure messages unless they come from RSpec
195 matchers or message expectations
196 * before(:all) { pending } sets all examples to pending
197
198 * Bug fixes
199 * fix bug due to change in behavior of reject in Ruby 1.9.3-dev (Shota Fukumori)
200 * fix bug when running in jruby: be explicit about passing block to super
201 (John Firebaugh)
202 * rake task doesn't choke on paths with quotes (Janmejay Singh)
203 * restore --options option from rspec-1
204 * require 'ostruct' to fix bug with its([key]) (Kim Burgestrand)
205 * --configure option generates .rspec file instead of autotest/discover.rb
206
207 ### 2.3.1 / 2010-12-16
208
209 [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
210
211 * Bug fixes
212 * send debugger warning message to $stdout if RSpec.configuration.error_stream
548dda4 @justinko changelog
justinko authored
213 has not been defined yet.
27deb82 @dchelimsky docs
dchelimsky authored
214 * HTML Formatter _finally_ properly displays nested groups (Jarmo Pertman)
215 * 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
216
217 ### 2.3.0 / 2010-12-12
218
219 [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
220
221 * Enhancements
222 * tell autotest to use "rspec2" if it sees a .rspec file in the project's
223 root directory
224 * replaces the need for ./autotest/discover.rb, which will not work with
225 all versions of ZenTest and/or autotest
226 * config.expect_with
227 * :rspec # => rspec/expectations
228 * :stdlib # => test/unit/assertions
229 * :rspec, :stdlib # => both
230
231 * Bug fixes
232 * fix dev Gemfile to work on non-mac-os machines (Lake Denman)
233 * ensure explicit subject is only eval'd once (Laszlo Bacsi)
234
235 ### 2.2.1 / 2010-11-28
236
237 [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
238
239 * Bug fixes
240 * alias_method instead of override Kernel#method_missing (John Wilger)
548dda4 @justinko changelog
justinko authored
241 * changed --autotest to --tty in generated command (MIKAMI Yoshiyuki)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
242 * revert change to debugger (had introduced conflict with Rails)
243 * also restored --debugger/-debug option
244
245 ### 2.2.0 / 2010-11-28
246
247 [full changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
248
249 * Deprecations/changes
250 * --debug/-d on command line is deprecated and now has no effect
251 * win32console is now ignored; Windows users must use ANSICON for color support
252 (Bosko Ivanisevic)
253
254 * Enhancements
255 * When developing locally rspec-core now works with the rspec-dev setup or your local gems
256 * Raise exception with helpful message when rspec-1 is loaded alongside
257 rspec-2 (Justin Ko)
258 * debugger statements _just work_ as long as ruby-debug is installed
259 * otherwise you get warned, but not fired
260 * Expose example.metadata in around hooks
c4a852d @dchelimsky docs
dchelimsky authored
261 * Performance improvments (much faster now)
b7c2195 @dchelimsky Add copies of Upgrade and History to features so they appear in relish.
dchelimsky authored
262
263 * Bug fixes
264 * Make sure --fail-fast makes it across drb
265 * Pass -Ilib:spec to rcov
266
267 ### 2.1.0 / 2010-11-07
268
269 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
270
271 * Enhancments
272 * Add skip_bundler option to rake task to tell rake task to ignore the
273 presence of a Gemfile (jfelchner)
274 * Add gemfile option to rake task to tell rake task what Gemfile to look
275 for (defaults to 'Gemfile')
276 * Allow passing caller trace into Metadata to support extensions (Glenn
277 Vanderburg)
278 * Add deprecation warning for Spec::Runner.configure to aid upgrade from
279 RSpec-1
280 * Add deprecated Spec::Rake::SpecTask to aid upgrade from RSpec-1
281 * Add 'autospec' command with helpful message to aid upgrade from RSpec-1
282 * Add support for filtering with tags on CLI (Lailson Bandeira)
283 * Add a helpful message about RUBYOPT when require fails in bin/rspec
284 (slyphon)
285 * Add "-Ilib" to the default rcov options (Tianyi Cui)
286 * Make the expectation framework configurable (default rspec, of course)
287 (Justin Ko)
288 * Add 'pending' to be conditional (Myron Marston)
289 * Add explicit support for :if and :unless as metadata keys for conditional run
290 of examples (Myron Marston)
291 * Add --fail-fast command line option (Jeff Kreeftmeijer)
292
293 * Bug fixes
294 * Eliminate stack overflow with "subject { self }"
295 * Require 'rspec/core' in the Raketask (ensures it required when running rcov)
296
297 ### 2.0.1 / 2010-10-18
298
299 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
300
301 * Bug fixes
302 * Restore color when using spork + autotest
303 * Pending examples without docstrings render the correct message (Josep M. Bach)
304 * Fixed bug where a failure in a spec file ending in anything but _spec.rb would
305 fail in a confusing way.
306 * Support backtrace lines from erb templates in html formatter (Alex Crichton)
307
308 ### 2.0.0 / 2010-10-10
309
310 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
311
312 * RSpec-1 compatibility
313 * Rake task uses ENV["SPEC"] as file list if present
314
315 * Bug fixes
316 * Bug Fix: optparse --out foo.txt (Leonardo Bessa)
317 * Suppress color codes for non-tty output (except autotest)
318
319 ### 2.0.0.rc / 2010-10-05
320
321 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
322
323 * Enhancements
324 * implicitly require unknown formatters so you don't have to require the
325 file explicitly on the commmand line (Michael Grosser)
326 * add --out/-o option to assign output target
327 * added fail_fast configuration option to abort on first failure
328 * support a Hash subject (its([:key]) { should == value }) (Josep M. Bach)
329
330 * Bug fixes
331 * Explicitly require rspec version to fix broken rdoc task (Hans de Graaff)
332 * Ignore backtrace lines that come from other languages, like Java or
333 Javascript (Charles Lowell)
334 * Rake task now does what is expected when setting (or not setting)
335 fail_on_error and verbose
336 * Fix bug in which before/after(:all) hooks were running on excluded nested
337 groups (Myron Marston)
338 * Fix before(:all) error handling so that it fails examples in nested groups,
339 too (Myron Marston)
340
341 ### 2.0.0.beta.22 / 2010-09-12
342
343 [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
344
345 * Enhancements
346 * removed at_exit hook
347 * CTRL-C stops the run (almost) immediately
348 * first it cleans things up by running the appropriate after(:all) and after(:suite) hooks
349 * then it reports on any examples that have already run
350 * cleaned up rake task
351 * generate correct task under variety of conditions
352 * options are more consistent
353 * deprecated redundant options
354 * run 'bundle exec autotest' when Gemfile is present
355 * support ERB in .rspec options files (Justin Ko)
356 * depend on bundler for development tasks (Myron Marston)
357 * add example_group_finished to formatters and reporter (Roman Chernyatchik)
358
359 * Bug fixes
360 * support paths with spaces when using autotest (Andreas Neuhaus)
361 * fix module_exec with ruby 1.8.6 (Myron Marston)
362 * remove context method from top-level
363 * was conflicting with irb, for example
364 * errors in before(:all) are now reported correctly (Chad Humphries)
365
366 * Removals
367 * removed -o --options-file command line option
368 * use ./.rspec and ~/.rspec
Something went wrong with that request. Please try again.