Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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