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