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