Skip to content
This repository
  • 135 commits
  • 64 files changed
  • 17 contributors
Jan 06, 2012
David Chelimsky doc/file listings/configs cd58cb1
David Chelimsky bump some dev deps and move their declarations to gemspec 88868ff
David Chelimsky ci: without without development 6f8feca
David Chelimsky dev: syntax gem is a dev dependency a7ebbb4
Jan 09, 2012
David Chelimsky (not txt) 47d7d0c
Jan 12, 2012
David Chelimsky Use sets defined once instead of arrays declared in line where order
doesn't matter.

Very minor perf improvement, evidence of which is either anecdotal
(rspec's suite appears to run about 0.1 second faster on average) or
assumed based on benchmarks posted at
David Chelimsky CONDITIONAL is more descriptive 7ce078e
Jan 13, 2012
David Chelimsky No need to override command line switches that don't accept false (e.g.

- Fixes $552.
Jan 16, 2012
ineverov Require 'set' a89fb4d
Merge branch 'master' of git:// db5a740
ineverov Remove to_set method call per d8af26e#commitcomment-861297 2b76e88
David Chelimsky Merge pull request #555 from ineverov/add_set_require
require 'set'
David Chelimsky remove unnecessary indirection bf848ec
David Chelimsky Ensure that values passed to `config.filter_run` are respected when
running over DRb (using spork).

- Fixes #554.
Jan 17, 2012
David Chelimsky Changelog for #554 e0de119
Jan 21, 2012
Olek Janiszewski Fix Cucumber deprecation warnings
This removes the following warning:

    WARNING: Using 'Given/When/Then' in step definitions
    is deprecated, use 'step' to call other steps instead
Justin Ko Merge pull request #559 from exviva/fix_cucumber_warnings
Fix Cucumber deprecation warnings
Jan 24, 2012
Justin Ko Ensure shared example groups are reset after a run (as example groups…
… are).
Jan 28, 2012
Maksim Zhylinski base text formatter now displays "xx minute(s) xx seconds" if more th…
…an 60 seconds
Jan 29, 2012
Arkadiy Zabazhanov Now the both values are stored, but i.e. `controller` method, created…
… anonymouus controller in corresponding example group, redefines only :described_class, but later we try to get `described_class` it examples to instantiate anonymous controller and got :describes value. Described class chould be taken first.
Arkadiy Zabazhanov Added spec for patched case a4c33a5
Justin Ko Merge pull request #563 from uzzz/master
Display both minutes and seconds of duration time when specs are finished.
Justin Ko Pluralization support for runtime duration output (minute). 68a66de
Justin Ko changelog a08eabc
Jan 30, 2012
David Chelimsky doc formatter strips whitespace from group and example descriptions 7db7f4b
David Chelimsky Changelog for prev commit 04d77ec
Justin Ko Spec for RSpec::Core::World#reset 5c73b8c
David Chelimsky simplify spec for #reset
- See 5c73b8c
Jan 31, 2012
David Chelimsky ci: update rubygems if < 1.8 (needed for ZenTest in ree) 7e6dc98
David Chelimsky ci: before_script doesn't run before bundling, so no way to run again…
…st ree for now
David Chelimsky ci: one more try ... 311b525
David Chelimsky ci: it's before_install (RTFM) ff5e12f
David Chelimsky ci: it's gem, not rubygems bcdb6f4
David Chelimsky dev: need to include dev rspec in case dependent gems depend on rspec a4bff1c
Feb 02, 2012
David Chelimsky don't rescue from calling proc filters
- Closes #556.
David Chelimsky Changelog for #556 147a3a5
David Chelimsky it was rescue false, not rescue nil
- #556.
Feb 03, 2012
Suraj N. Kurapati at_exit: don't mask nonzero exit status due to $!
This change ensures that RSpec's at_exit handler doesn't mask (override)
any nonzero exit status, which can happen when Ruby is on it's way out
due to an uncaught exception ($!) such as a SyntaxError.

Please see this bug report for more information:

sunaku/tork#31 (comment)
Feb 04, 2012
Tom Stuart Fix autotest when RSpec executable path contains spaces b804c70
David Chelimsky Merge pull request #570 from tomstuart/rspec-executable-spaces
Autotest fails if RSpec executable path contains spaces
Feb 05, 2012
David Chelimsky Merge pull request #564 from pyromaniac/patch-1
Prefer described_class over describes
David Chelimsky Changelog for #564 c6dc90b
David Chelimsky Don't process filters when the metadata doesn't even have the key.
This allows us to simplify the filter_applies? method on metadata, and
gives us a small performance boost by not evaluating procs that would
always return false.

- Closes #556.
David Chelimsky fix copy/paste oversight b06bc35
Feb 10, 2012
Justin Ko Merge pull request #569 from sunaku/patch-1
at_exit: don't mask nonzero exit status due to $!
Justin Ko changelog aefb25c
Feb 16, 2012
David Chelimsky add note that explicit ref to subject is not recommended 5dc1872
Mar 03, 2012
David Chelimsky Don't include or extend when ancestor group is already extended.
- Fixes #576.
David Chelimsky Changelog for #576 9f425c2
David Chelimsky link to full dev changelog [ci skip] 2fa0741
David Chelimsky Fix #576 for Ruby 1.8 as well
Per benchmarks/check_inclusion, this:
  (class << host; self; end) < mod
is faster than this:
  (class << host; self; end).included_modules.include?(mod)

The faster version doesn't work in Ruby 1.8, so we use the slower
version in Ruby 1.8, but the faster version in 1.9:w
David Chelimsky run benchmarks against ruby 1.8 as well 6d75ce6
Mar 05, 2012
David Chelimsky remove spork-0.9 shim (0.9 has been released) dbf1d64
Mar 10, 2012
Justin Ko Fix broken link. Closes #580 76cd682
Mar 11, 2012
David Chelimsky bump to 2.9.0.rc1 5b255ac
David Chelimsky don't forget rake 8d1eff9
Mar 12, 2012
David Chelimsky bump to 2.9.0.rc2 a4607d5
Mar 15, 2012
David Chelimsky add example for 'it { should_not matcher }'
There was a cuke, but no example.
David Chelimsky it { should matcher } delegates directly to ExpectationHandler.
Not only is this cleaner, but it also makes it feasible to turn of the
global 'should' (see #119).
Mar 17, 2012
masarakki fix memorize of subject 54c0e18
David Chelimsky Merge pull request #582 from masarakki/master
Support false and nil subject
David Chelimsky Merge pull request #582 from masarakki/master
Support false and nil subject
David Chelimsky Beef up/clarified specs for #582.
Also refactored `its` a bit
David Chelimsky Changelog for #582 76fed28
David Chelimsky Beef up/clarified specs for #582.
Also refactored `its` a bit
David Chelimsky Changelog for #582 96e9d57
David Chelimsky bump to 2.9.0 52bbe9f
David Chelimsky Merge branch '2-9-maintenance' into temp
* 2-9-maintenance:
  bump to 2.9.0
  Changelog for #582
  Beef up/clarified specs for #582.
  Merge pull request #582 from masarakki/master

David Chelimsky dev: bump spork version to 0.9.0
[ci skip]
David Chelimsky dev: add a script to download ruby-debug-base19-0.11.26.gem and linec…
…ache19-0.5.13.gem to a local cache

[ci skip]
Mar 18, 2012
preethiramdev Adding prepend before 15fa016
preethiramdev Comments 70433f3
preethiramdev Adding append_after, prepend_after, changes to after hooks storage an…
…d run method
David Chelimsky Hook collections are all the same now, so we only need one type. 76899a6
David Chelimsky rdoc tweaks for #579 d46c857
David Chelimsky provide a default ExampleGroup to eliminate conditionals running hooks 6999128
David Chelimsky refactor the [prepend|append]_[before|after] examples 9401cba
David Chelimsky Changelog for #579 f85d405
Mar 23, 2012
Justin Ko Properly parse `SPEC_OPTS` options. Fixes #586 268eeb4
David Chelimsky add benchmark comparing v yield
[ci skip]
David Chelimsky example.description returns the location of the example if there is no
explicit description or matcher-generated description.

- Fixes #585.
Mar 24, 2012
Grzegorz Świrski Fixed formatting of code examples in documentation.
Some `@example` tags were missing, I believe.
David Chelimsky Merge pull request #589 from sognat/patch-1
Fixed formatting of code examples in documentation.
David Chelimsky Changelog for #589 26e9548
David Chelimsky Use relative path for example.location. 107d676
Michael Grosser Do not modify example ancestry when dumping errors
This causes bugs (Notably that after blocks / transaction rollback is not executed properly)
when errors are dumped while examples are still running
as is done by [rspec-instafail]( and therefore fuubar formatter.
David Chelimsky Merge pull request #588 from grosser/preserve_ancestry_on_failure
Do not modify example ancestry when dumping errors
David Chelimsky Changelog for #588 [ci skip] fbe0e75
Mar 30, 2012
David Chelimsky beef up rdoc about let 78eb9e8
David Chelimsky more doc for subject method [ci skip] d39157b
Mar 31, 2012
David Chelimsky embrassed? seriously?
[ci skip]
Apr 04, 2012
David Chelimsky add doc files to .yardopts
[ci skip]
Apr 07, 2012
David Chelimsky add info to README about storing command line options in .rspec and a…
…utotest integration

[ci skip]
Apr 08, 2012
David Chelimsky remove unnecessary guard 62ae302
David Chelimsky Remove obsolete guard against building in ruby 1.9
[ci skip]
David Chelimsky prepend_before now prepends local hooks before global hooks.
- Provides support for rspec/rspec-rails#391.
- Also refactored the hooks infrastructure such that most of the work is
  done within the hooks module rather than spreading it out across its
  different consumers.
Apr 13, 2012
MOROHASHI Kyosuke refactor test, return identically same object from stubbed examples() b08810b
MOROHASHI Kyosuke prints ocuppied time of slow tests. 361cd64
MOROHASHI Kyosuke fix ZeroDivisionError when no test ran. 1708e15
MOROHASHI Kyosuke fix broken test fbe337e
Apr 16, 2012
MOROHASHI Kyosuke Improve result message. 9e8643d
Apr 18, 2012
Justin Ko Merge pull request #602 from moro/display-slow-tests-occupied-time
Display slow tests occupied time
Justin Ko Remove extraneous word. 4d9472e
Justin Ko Fix for 1.8 1c0ce8d
Justin Ko changelog [ci skip] a777f09
Justin Ko JRuby is too fast!! (need to get an execution result time) 343c9e2
Justin Ko line break [ci skip] a1cae36
Justin Ko Handle zero execution time for profiling. This could happen if nothin…
…g is called in an example block.
Justin Ko Attempt to get JRuby to report an execution time for profiling. 6c37ec5
Apr 20, 2012
Olek Janiszewski Fix warning
lib/rspec/core/subject.rb:91: warning: shadowing outer local variable - subject
Olek Janiszewski Fix a bunch of warnings
spec/rspec/core/example_spec.rb: warning: `-' after local variable
is interpreted as binary operator even though it seems like unary operator
Justin Ko Merge pull request #603 from exviva/fix_warnings
Fix warnings
Benoit Daloze raise an ArgumentError when the arity of a Proc filter is wrong
Otherwise the filter is not evaluated and considered to return nil
Myron Marston Merge pull request #604 from eregon/filter-proc-arity
raise an ArgumentError when the arity of a Proc filter is wrong
Benoit Daloze do not assume the user has the default progress formatter in its conf…
Myron Marston Merge pull request #571 from eregon/formatter_config
Some tests depend on absence of formatter in ~/.rspec
Apr 21, 2012
David Chelimsky minor refactoring: extract method 999d04c
David Chelimsky dev: align use of FakeFS 8e816eb
Apr 22, 2012
David Chelimsky Changelog formatting tweak [ci skip] 36f6e22
David Chelimsky don't need file list in .yardopts 1359ae2
David Chelimsky dev: align Gemfiles across rspec projects 7eaa1f6
Apr 26, 2012
David Chelimsky make append_before and prepend_after aliases of before and after 18e452d
David Chelimsky minor refactoring and making private things private c98d538
Apr 30, 2012
David Chelimsky update yard to 0.8 9d8a6cc
May 02, 2012
Daniel Doubrovkine (dB.) @dblockdotorg Shellsplitting input in -O. 531c0a6
May 03, 2012
David Chelimsky Merge pull request #610 from dblock/shellsplit-dahs-o
Shellsplitting input in custom options file.
David Chelimsky update changelog for 2.10 release 89c44ef
David Chelimsky bump to 2.10.0 95bf11b
May 19, 2012
David Chelimsky RSpec.reset reinits configuration and world
- Fixes #621
David Chelimsky Changelog for #621 fffc4c5
David Chelimsky Merge pull request #622 from slyphon/dump_failure_info_fix
call #to_s on exception_message before calling #split
David Chelimsky Changelog for #622 [ci skip] 53454f3
David Chelimsky Fix typo in changelog: Grzegorz M-E~Zwirski [ci skip] d342861
David Chelimsky bump to 2.10.1 c72207b
David Chelimsky Revert "Fix typo in changelog: Grzegorz M-E~Zwirski [ci skip]"
It was correct before - just looked wrong in my editor.

This reverts commit d342861.