Skip to content

HTTPS clone URL

Subversion checkout URL

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