Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: rspec/rspec-core
base: v2.2.0
...
head fork: rspec/rspec-core
compare: v2.11.0
This comparison is big! We're only showing the most recent 250 commits
Commits on Dec 05, 2011
David Chelimsky dchelimsky Merge pull request #523 from AlexKVal/meta
some cosmetics for Metadata class
45eb0d3
Commits on Dec 06, 2011
Alexander Shemetovsky AlexKVal readability refactoring of #filter_applies? 19d157c
Commits on Dec 07, 2011
David Chelimsky dchelimsky Merge pull request #528 from AlexKVal/meta
readability refactoring of #filter_applies?
42f2e1c
David Chelimsky dchelimsky More refactoring of Metadata#filter_applies? and its helpers.
- related to #528.
742a658
David Chelimsky dchelimsky Metadata#filter_applies? - let Enumerable case fall through to defaul…
…t case

- #528
a7d6acd
Commits on Dec 08, 2011
Alexander Shemetovsky AlexKVal #prune tests with the double d6b1dbc
David Chelimsky dchelimsky Merge pull request #535 from AlexKVal/meta3
#prune tests with the double
4b91fa0
Alexander Shemetovsky AlexKVal remove overhead 5e7f7d8
David Chelimsky dchelimsky Merge pull request #536 from AlexKVal/fm_locations
remove overhead
0cdc8d4
Commits on Dec 09, 2011
Alexander Shemetovsky AlexKVal missed tests ced1340
Josh Cheek JoshCheek Add colour option for -p's slow test output
Worked on with @cdemyanovich during waza at @8thlight
de29068
Commits on Dec 10, 2011
David Chelimsky dchelimsky Merge pull request #539 from JoshCheek/profile-color-customization
Add colour option for -p's slow test output
d00e001
David Chelimsky dchelimsky Revert "Merge pull request #539 from JoshCheek/profile-color-customiz…
…ation"

This reverts commit d00e001, reversing
changes made to 0cdc8d4.
b624a00
Commits on Dec 11, 2011
David Chelimsky dchelimsky rdoc - add note about pending + before 59602fa
Commits on Dec 12, 2011
David Chelimsky dchelimsky move PendingExampleFixedError to RSpec::Core::Pending b5d10cc
David Chelimsky dchelimsky a little more duck typing and a little less dependency on class 7fa264f
David Chelimsky dchelimsky :pending => 'message' assigns message (defaults to 'No reason given' …
…if :pending => true)

- defaults to 'No reason given' if :pending => true
- change default pending message to 'No reason given'
- assign 'Not yet implemented' when no block passed to example (a.k.a.
  it/specify)
- Closes #540
eb3d26e
David Chelimsky dchelimsky better messages for xit, xspecify, xexample 763eaab
David Chelimsky dchelimsky rdoc 13fd3ef
Commits on Dec 13, 2011
David Chelimsky dchelimsky very subjective little refactoring 80bdf06
David Chelimsky dchelimsky fill in pending example ea12445
David Chelimsky dchelimsky clean up drb spec 5b2b374
David Chelimsky dchelimsky even though it's pending, it should be red, not green 4ad3630
Commits on Dec 15, 2011
David Chelimsky dchelimsky small doc change 1e241a5
Commits on Dec 17, 2011
ineverov ineverov Metadata supports arrays e.g. it "does something", :foo => ['bar','baz']
- Closes #504.
571f189
David Chelimsky dchelimsky Handle filter_applies? with an array in a more generic way.
Previous implementation handles only strings, numbers, symbols. This
handles anything in any array the same way it handles the same value
when its not in an array.

- #504.
864e192
David Chelimsky dchelimsky Changelog for #504 d0cdea9
Commits on Dec 18, 2011
David Chelimsky dchelimsky Refactoring: guard clause for the special cases
- #504.
de1dffa
David Chelimsky dchelimsky Refactoring: Hash is a special case too
- #504.
5e54d76
Alexander Shemetovsky AlexKVal --order --seed and #force. Removed duplication. 5a2dcc4
Commits on Dec 19, 2011
David Chelimsky dchelimsky Merge pull request #542 from AlexKVal/force1
--order --seed and #force. Removed duplication.
51e7e31
David Chelimsky dchelimsky Handle --tty option, but remove it from published options as it's onl…
…y for internal use.
dedea7c
David Chelimsky dchelimsky make the help text (i.e. rspec --help) more consistent 06b107b
Commits on Dec 20, 2011
David Chelimsky dchelimsky prep for 2.8.0.rc2 e69e7e7
Commits on Dec 23, 2011
Nick Novitski nicknovitski use RR's rspec2 adapter (re: issue #136) b4d8267
Commits on Dec 25, 2011
David Chelimsky dchelimsky refactoring: simplify some methods in base_text_formatter 423af13
David Chelimsky dchelimsky rdoc af8d17c
Commits on Dec 27, 2011
weidenfreak metadata supports arrays for procs as well 2332f34
Justin Ko justinko Merge pull request #545 from weidenfreak/master
metadata supports arrays for procs
aea82a9
Justin Ko justinko changelog 8ee5005
Commits on Dec 30, 2011
David Chelimsky dchelimsky Ensure that each spec file is only loaded once.
- Fixes #546, in which trying to run 2 or more specific examples in the
  same file caused the whole file to be run. This was happening because
  the following command caused the file to be loaded twice, and the filter
  was not being applied to the second instance:

    rspec path/to/file:37 path/to/file:42
a97dab0
David Chelimsky dchelimsky Merge pull request #538 from AlexKVal/config_spec
missed tests
3428c6f
David Chelimsky dchelimsky Changelog for #546 43bd805
Commits on Jan 04, 2012
David Chelimsky dchelimsky add some starter code to the files generated by 189dc9c
Commits on Jan 05, 2012
David Chelimsky dchelimsky bump to 2.8.0 5bafc3a
Commits on Jan 06, 2012
David Chelimsky dchelimsky doc/file listings/configs cd58cb1
David Chelimsky dchelimsky bump some dev deps and move their declarations to gemspec 88868ff
David Chelimsky dchelimsky ci: without without development 6f8feca
David Chelimsky dchelimsky dev: syntax gem is a dev dependency a7ebbb4
Commits on Jan 09, 2012
David Chelimsky dchelimsky Changlog.md (not txt) 47d7d0c
Commits on Jan 12, 2012
David Chelimsky dchelimsky 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
https://github.com/rspec/rspec-expectations/blob/master/benchmarks/set_vs_array_include.rb
d8af26e
David Chelimsky dchelimsky CONDITIONAL is more descriptive 7ce078e
Commits on Jan 13, 2012
David Chelimsky dchelimsky No need to override command line switches that don't accept false (e.g.
full_backtrace).

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

- Fixes #554.
80a2e38
Commits on Jan 17, 2012
David Chelimsky dchelimsky Changelog for #554 e0de119
Commits on Jan 21, 2012
Olek Janiszewski exviva 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
8651de2
Commits on Jan 22, 2012
Justin Ko justinko Merge pull request #559 from exviva/fix_cucumber_warnings
Fix Cucumber deprecation warnings
b94ec20
Commits on Jan 25, 2012
Justin Ko justinko Ensure shared example groups are reset after a run (as example groups…
… are).
8e8fb2b
Commits on Jan 28, 2012
Maksim Zhylinski uzzz base text formatter now displays "xx minute(s) xx seconds" if more th…
…an 60 seconds
76be2a8
Commits on Jan 29, 2012
Arkadiy Zabazhanov pyromaniac 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.
ffeaf62
Arkadiy Zabazhanov pyromaniac Added spec for patched case a4c33a5
Commits on Jan 30, 2012
Justin Ko justinko Merge pull request #563 from uzzz/master
Display both minutes and seconds of duration time when specs are finished.
e9e31ee
Justin Ko justinko Pluralization support for runtime duration output (minute). 68a66de
Justin Ko justinko changelog a08eabc
David Chelimsky dchelimsky doc formatter strips whitespace from group and example descriptions 7db7f4b
David Chelimsky dchelimsky Changelog for prev commit 04d77ec
Justin Ko justinko Spec for RSpec::Core::World#reset 5c73b8c
David Chelimsky dchelimsky simplify spec for #reset
- See 5c73b8c
8ecae7d
Commits on Jan 31, 2012
David Chelimsky dchelimsky ci: update rubygems if < 1.8 (needed for ZenTest in ree) 7e6dc98
David Chelimsky dchelimsky ci: before_script doesn't run before bundling, so no way to run again…
…st ree for now
9a6850e
David Chelimsky dchelimsky ci: one more try ... 311b525
David Chelimsky dchelimsky ci: it's before_install (RTFM) ff5e12f
David Chelimsky dchelimsky ci: it's gem, not rubygems bcdb6f4
David Chelimsky dchelimsky dev: need to include dev rspec in case dependent gems depend on rspec a4bff1c
Commits on Feb 02, 2012
David Chelimsky dchelimsky don't rescue from calling proc filters
- Closes #556.
fb0b136
David Chelimsky dchelimsky Changelog for #556 147a3a5
David Chelimsky dchelimsky it was rescue false, not rescue nil
- #556.
5686c13
Commits on Feb 03, 2012
Suraj N. Kurapati sunaku 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)
e7fdaaa
Commits on Feb 04, 2012
Tom Stuart tomstuart Fix autotest when RSpec executable path contains spaces b804c70
David Chelimsky dchelimsky Merge pull request #570 from tomstuart/rspec-executable-spaces
Autotest fails if RSpec executable path contains spaces
49ea20b
Commits on Feb 05, 2012
David Chelimsky dchelimsky Merge pull request #564 from pyromaniac/patch-1
Prefer described_class over describes
8a6f77b
David Chelimsky dchelimsky Changelog for #564 c6dc90b
David Chelimsky dchelimsky 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.
155e200
David Chelimsky dchelimsky fix copy/paste oversight b06bc35
Commits on Feb 10, 2012
Justin Ko justinko Merge pull request #569 from sunaku/patch-1
at_exit: don't mask nonzero exit status due to $!
74b170c
Justin Ko justinko changelog aefb25c
Commits on Feb 16, 2012
David Chelimsky dchelimsky add note that explicit ref to subject is not recommended 5dc1872
Commits on Mar 04, 2012
David Chelimsky dchelimsky Don't include or extend when ancestor group is already extended.
- Fixes #576.
0ecf872
David Chelimsky dchelimsky Changelog for #576 9f425c2
David Chelimsky dchelimsky link to full dev changelog [ci skip] 2fa0741
David Chelimsky dchelimsky 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
149ee42
David Chelimsky dchelimsky run benchmarks against ruby 1.8 as well 6d75ce6
Commits on Mar 06, 2012
David Chelimsky dchelimsky remove spork-0.9 shim (0.9 has been released) dbf1d64
Commits on Mar 10, 2012
Justin Ko justinko Fix broken link. Closes #580 76cd682
Commits on Mar 12, 2012
David Chelimsky dchelimsky bump to 2.9.0.rc1 5b255ac
David Chelimsky dchelimsky don't forget rake 8d1eff9
David Chelimsky dchelimsky bump to 2.9.0.rc2 a4607d5
Commits on Mar 16, 2012
David Chelimsky dchelimsky add example for 'it { should_not matcher }'
There was a cuke, but no example.
1e8c6e0
David Chelimsky dchelimsky 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).
b93433d
masarakki masarakki fix memorize of subject 54c0e18
Commits on Mar 17, 2012
David Chelimsky dchelimsky Merge pull request #582 from masarakki/master
Support false and nil subject
59c5dde
David Chelimsky dchelimsky Merge pull request #582 from masarakki/master
Support false and nil subject
5b861bb
David Chelimsky dchelimsky Beef up/clarified specs for #582.
Also refactored `its` a bit
924f59a
David Chelimsky dchelimsky Changelog for #582 76fed28
David Chelimsky dchelimsky Beef up/clarified specs for #582.
Also refactored `its` a bit
a951010
David Chelimsky dchelimsky Changelog for #582 96e9d57
David Chelimsky dchelimsky bump to 2.9.0 52bbe9f
David Chelimsky dchelimsky 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

Conflicts:
	Changelog.md
49ed6e2
David Chelimsky dchelimsky dev: bump spork version to 0.9.0
[ci skip]
cd60285
David Chelimsky dchelimsky 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]
4f0375e
Commits on Mar 18, 2012
preethiramdev preethiramdev Adding prepend before 15fa016
preethiramdev preethiramdev Comments 70433f3
preethiramdev preethiramdev Adding append_after, prepend_after, changes to after hooks storage an…
…d run method
b310288
David Chelimsky dchelimsky Hook collections are all the same now, so we only need one type. 76899a6
David Chelimsky dchelimsky rdoc tweaks for #579 d46c857
David Chelimsky dchelimsky provide a default ExampleGroup to eliminate conditionals running hooks 6999128
David Chelimsky dchelimsky refactor the [prepend|append]_[before|after] examples 9401cba
David Chelimsky dchelimsky Changelog for #579 f85d405
Commits on Mar 23, 2012
Justin Ko justinko Properly parse `SPEC_OPTS` options. Fixes #586 268eeb4
David Chelimsky dchelimsky add benchmark comparing block.call v yield
[ci skip]
5436bc2
David Chelimsky dchelimsky example.description returns the location of the example if there is no
explicit description or matcher-generated description.

- Fixes #585.
34cb8f9
Commits on Mar 24, 2012
Grzegorz Świrski gswirski Fixed formatting of code examples in documentation.
Some `@example` tags were missing, I believe.
a481276
David Chelimsky dchelimsky Merge pull request #589 from sognat/patch-1
Fixed formatting of code examples in documentation.
49966db
David Chelimsky dchelimsky Changelog for #589 26e9548
David Chelimsky dchelimsky Use relative path for example.location. 107d676
Michael Grosser 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](https://github.com/grosser/rspec-instafail) and therefore fuubar formatter.
91dbe44
David Chelimsky dchelimsky Merge pull request #588 from grosser/preserve_ancestry_on_failure
Do not modify example ancestry when dumping errors
3ff65ad
David Chelimsky dchelimsky Changelog for #588 [ci skip] fbe0e75
Commits on Mar 31, 2012
David Chelimsky dchelimsky beef up rdoc about let 78eb9e8
David Chelimsky dchelimsky more doc for subject method [ci skip] d39157b
David Chelimsky dchelimsky embrassed? seriously?
[ci skip]
cbfa05a
Commits on Apr 04, 2012
David Chelimsky dchelimsky add doc files to .yardopts
[ci skip]
ba9b62d
Commits on Apr 07, 2012
David Chelimsky dchelimsky add info to README about storing command line options in .rspec and a…
…utotest integration

[ci skip]
9d37689
Commits on Apr 08, 2012
David Chelimsky dchelimsky remove unnecessary guard 62ae302
David Chelimsky dchelimsky Remove obsolete guard against building in ruby 1.9
[ci skip]
331a6e4
David Chelimsky dchelimsky 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.
82e398e
Commits on Apr 13, 2012
MOROHASHI Kyosuke moro refactor test, return identically same object from stubbed examples() b08810b
MOROHASHI Kyosuke moro prints ocuppied time of slow tests. 361cd64
MOROHASHI Kyosuke moro fix ZeroDivisionError when no test ran. 1708e15
MOROHASHI Kyosuke moro fix broken test fbe337e
Commits on Apr 16, 2012
MOROHASHI Kyosuke moro Improve result message. 9e8643d
Commits on Apr 18, 2012
Justin Ko justinko Merge pull request #602 from moro/display-slow-tests-occupied-time
Display slow tests occupied time
e9b1776
Justin Ko justinko Remove extraneous word. 4d9472e
Justin Ko justinko Fix for 1.8 1c0ce8d
Justin Ko justinko changelog [ci skip] a777f09
Justin Ko justinko JRuby is too fast!! (need to get an execution result time) 343c9e2
Justin Ko justinko line break [ci skip] a1cae36
Justin Ko justinko Handle zero execution time for profiling. This could happen if nothin…
…g is called in an example block.
0a039ad
Justin Ko justinko Attempt to get JRuby to report an execution time for profiling. 6c37ec5
Commits on Apr 20, 2012
Olek Janiszewski exviva Fix warning
lib/rspec/core/subject.rb:91: warning: shadowing outer local variable - subject
a9d1b7b
Olek Janiszewski exviva 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
1ef1719
Justin Ko justinko Merge pull request #603 from exviva/fix_warnings
Fix warnings
c38797d
Benoit Daloze eregon raise an ArgumentError when the arity of a Proc filter is wrong
Otherwise the filter is not evaluated and considered to return nil
06d9646
Myron Marston myronmarston Merge pull request #604 from eregon/filter-proc-arity
raise an ArgumentError when the arity of a Proc filter is wrong
346f71c
Benoit Daloze eregon do not assume the user has the default progress formatter in its conf…
…iguration
675e060
Myron Marston myronmarston Merge pull request #571 from eregon/formatter_config
Some tests depend on absence of formatter in ~/.rspec
25e854f
Commits on Apr 21, 2012
David Chelimsky dchelimsky minor refactoring: extract method 999d04c
David Chelimsky dchelimsky dev: align use of FakeFS 8e816eb
Commits on Apr 22, 2012
David Chelimsky dchelimsky Changelog formatting tweak [ci skip] 36f6e22
David Chelimsky dchelimsky don't need file list in .yardopts 1359ae2
David Chelimsky dchelimsky dev: align Gemfiles across rspec projects 7eaa1f6
Commits on Apr 23, 2012
Jarmo Pertman jarmo fixes #396 2ea6f20
Commits on Apr 26, 2012
David Chelimsky dchelimsky make append_before and prepend_after aliases of before and after 18e452d
Commits on Apr 27, 2012
David Chelimsky dchelimsky minor refactoring and making private things private c98d538
Commits on May 01, 2012
David Chelimsky dchelimsky update yard to 0.8 9d8a6cc
Alex Chaffee alexch formatters run better when $SAFE mode is on
Setting $SAFE=3 causes some file operations to raise a SecurityError. This patch allows you to run in SAFE mode without those SecurityErrors masking the real errors raised by the code under test and/or by RSpec matcher failures.

I extracted the SAFE setting/resetting logic into a helper method called "safely" since it's called from several places.
576b82d
Alex Chaffee alexch improve rdoc comments in BaseFormatter f87b634
Alex Chaffee alexch basic JsonFormatter 972591b
Commits on May 02, 2012
Daniel Doubrovkine (dB.) @dblockdotorg dblock Shellsplitting input in -O. 531c0a6
Commits on May 03, 2012
David Chelimsky dchelimsky Merge pull request #610 from dblock/shellsplit-dahs-o
Shellsplitting input in custom options file.
ff8d188
Commits on May 04, 2012
David Chelimsky dchelimsky update changelog for 2.10 release 89c44ef
David Chelimsky dchelimsky bump to 2.10.0 95bf11b
Daniel Doubrovkine (dB.) @dblockdotorg dblock Ported support for mutliple -e options from #596. 2f88804
Commits on May 06, 2012
David Chelimsky dchelimsky dev: remove obsolete filter 1ad7087
David Chelimsky dchelimsky dev: clean up some specs b1b2ae6
Commits on May 08, 2012
David Chelimsky dchelimsky `config.mock_with` and `config.expect_with` yield custom config object
to a block if given

This supports decoupled config for other rspec and 3rd party libs.

    RSpec.configure do |c|
      c.expect_with ExpectationFramework do |other_framework_config|
        other_framework_config.custom_setting = true
      end
      c.mock_with OtherFramework do |other_framework_config|
        other_framework_config.custom_setting = true
      end
    end
651d8d9
Daniel Doubrovkine (dB.) @dblockdotorg dblock A prettier implementation via @justinko. dc33f77
Commits on May 09, 2012
David Chelimsky dchelimsky rdoc format [ci skip] a0202ea
Commits on May 13, 2012
Justin Ko justinko Merge pull request #614 from dblock/multiple-eees
Allow specifying multiple -e (--example) options
22e689c
Justin Ko justinko changelog [ci skip] 1004353
Commits on May 16, 2012
David Chelimsky dchelimsky spec refactoring: replace subject with intention revealing name e343cba
David Chelimsky dchelimsky Support a 'name' arg to subject declaration
Closes #619.

Example:

    describe Article do
      subject(:article) { Article.new }
      it { supports_one_liners }
      it "supports intention revealing name" do
        article.should do_something
      end
    end
2e20683
David Chelimsky dchelimsky more Changelog for #619 [ci skip] 19e1eaf
David Chelimsky dchelimsky doc tweaks [ci skip] #619 5ea6d86
Commits on May 18, 2012
David Chelimsky dchelimsky RSpec.reset resets filters
- Fixes #621
ba15a2e
David Chelimsky dchelimsky Revert "RSpec.reset resets filters"
This reverts commit ba15a2e.
2d61d16
David Chelimsky dchelimsky RSpec.reset reinits configuration and world
- Fixes #621 (for realz)
e8eae4d
David Chelimsky dchelimsky Changelog for #621 c9b8681
Jonathan Simms slyphon call #to_s on exception_message before calling #split
When 1.8.7 is shutting down its threads, and you're stuck in a Monitor,
it will eventually raise a SystemExit, and that SystemExit may have an
instance of Exception as its `#message` (instead of a String) which
causes the formatter to blow up.
2d39c46
Jonathan Simms slyphon causes rspec without #622 to raise NoMethodError 6ab7614
David Chelimsky dchelimsky Merge pull request #622 from slyphon/dump_failure_info_fix
call #to_s on exception_message before calling #split
0d26b06
Commits on May 19, 2012
David Chelimsky dchelimsky RDoc improvements for shared examples, Example, and Procsy.
Also did some minor refactoring in order to be able to use Yard to
document internal-DSL-generated methods like `it`, `example`, and
`specify`.
43ec3a8
David Chelimsky dchelimsky Changelog for #622 [ci skip] 1482bfe
David Chelimsky dchelimsky Fix typo in changelog: Grzegorz M-E~Zwirski [ci skip] 18aacf7
David Chelimsky dchelimsky 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.
254e7c9
David Chelimsky dchelimsky Changelog after 2.10.1 release [ci skip] 03b72af
David Chelimsky dchelimsky Changelog - link url [ci skip] acf2fdf
David Chelimsky dchelimsky rdoc - use the {name} syntax for links [ci skip] d024dc9
Commits on May 20, 2012
Justin Ko justinko Merge pull request #605 from jarmo/bug_396
fixes #396
d7c250a
Justin Ko justinko Use File::ALT_SEPARATOR if it is not nil (it is on nix systems). 1d49eb6
Justin Ko justinko Only run windows specific specs if on the windows OS.
travis-ci will be supporting multiple OS's in the future.
e675bc3
Justin Ko justinko Remove redundant logic. 2a7fafb
Justin Ko justinko changelog 3705abd
David Chelimsky dchelimsky Re-reformat failure message.
Fixes cuke broken by 43ec3a8 caused
by reformatting a file, which accidentally re-indented a HERE doc.
3c1ed24
Commits on May 22, 2012
Myron Marston myronmarston Don't silence 2nd exceptions.
When an example raises an error and an after or around hook also raises an error, the 2nd error was being silenced, since `set_exception` was a no-op when the exception was already set.  Silencing errors is bad, so we should print the error instead.

See https://github.com/myronmarston/vcr/issues/167#issuecomment-5814249 for the issue that triggered this change.
27059bf
Myron Marston myronmarston Update changelog. 0b34e42
Commits on May 23, 2012
Myron Marston myronmarston Improve on 27059bf.
* Fix specs. The `should_receive(:message).with(/.../)` wasn't working as
  expected...it passed even if the message text didn't match the regex.
  I figured out that it was because of the fact that the error was being
  raised within the example-under-test, which already had two errors and
  was simply printing (or, previously, silencing) the extra error.  The
  solution is to capture the reported message using a stub implementation,
  and then assert on it after running the example.
* The added context ("in an after hook") for 2nd errors happening in an
  after hook wasn't being included in the printed message. This is fixed now.
d0cb324
Alex Chaffee alexch add command-line 'j' or 'json' formatter option dcfaa67
Commits on May 25, 2012
Bryan Helmkamp brynary Add Code Climate badge e2cc637
David Chelimsky dchelimsky Merge pull request #623 from brynary/codeclimate-badge
Add Code Climate badge
8010fc3
Commits on May 27, 2012
Justin Ko justinko Merge pull request #443 from nicknovitski/patch-2
use RR's rspec2 adapter (re: issue #136)
ea668aa
Justin Ko justinko Revert "Merge pull request #443 from nicknovitski/patch-2"
This reverts commit ea668aa, reversing
changes made to 8010fc3.
5090cc3
David Chelimsky dchelimsky minor refactoring: reduce duplication in hooks module 6837910
David Chelimsky dchelimsky remove some unnecessary conditionals 894dd4c
David Chelimsky dchelimsky Add travis-ci badge to README 80bb038
David Chelimsky dchelimsky fix typo in README [ci skip] 553608e
David Chelimsky dchelimsky README tweaks 7bfe871
Commits on May 31, 2012
David Chelimsky dchelimsky refactor: move some hooks behavior to Hooks module 0592aca
Commits on Jun 04, 2012
David Chelimsky dchelimsky use `define_method` instead of `let` for named subject
`subject` already memoizes the value
f87dfbf
David Chelimsky dchelimsky `include_examples` and `include_context` now accept a customization b…
…lock.

- Closes #615.
092a9c6
David Chelimsky dchelimsky run share_examples_for examples against shared_examples and shared_co…
…ntext
4feeec6
Commits on Jun 06, 2012
Myron Marston myronmarston Delay the loading of DRB.
- Most of the time users don't use DRB. This'll speed up the start time a bit
  by not unnecessarily loading it when it's not used.
- Apparently jruby 1.7.0-preview1 loads the delegate library when DRB is loaded [1][2].
  This causes expectations on delegate objects to fail because `should` never gets added
  to them. By delaying when delegate gets loaded, it allows a user to load
  `rspec/expectations` and then `delegate` and ensure it works.

[1] rspec/rspec-expectations#148 (comment)
[2] The backtrace at the point delegate is loaded:
/Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:1:in `require'
/Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:1:in `(root)'
/Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:57:in `require'
/Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:57:in `(root)'
/Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:1:in `require'
/Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:1:in `(root)'
/Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:1:in `(root)'
file:/Users/myron/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/kernel19/kernel.rb:1:in `(root)'
file:/Users/myron/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/kernel19/kernel.rb:19:in `require'
file:/Users/myron/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/kernel19/kernel.rb:19:in `require_relative'
/Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core.rb:4:in `require'
/Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core.rb:4:in `require_rspec'
/Users/myron/.rvm/gems/jruby-head/bin/rspec:23:in `load'
/Users/myron/.rvm/gems/jruby-head/bin/rspec:23:in `(root)'
3646611
Jonathan Hinkle hynkle fix typo 3215ad0
Justin Ko justinko Merge pull request #630 from hynkle/typo
fix typo
41a8efb
Commits on Jun 09, 2012
David Chelimsky dchelimsky Bump version to 2.10.1
This was done already before the 2.10.1 release, but only on the 2-10
maintenance branch.
2cf3b45
alindeman alindeman `--require` is merged among different configuration sources
* e.g., `--require` specified in SPEC_OPTS will be merged with
  `--require` specified in `.rspec`
* Fixes #594
9518119
alindeman alindeman Changelog for #594 [ci skip] d89c87b
Commits on Jun 11, 2012
Myron Marston myronmarston Merge pull request #629 from rspec/delay-drb-loading
Delay the loading of DRB.
9a79082
alindeman alindeman -I is merged among configuration sources 5f730b0
Commits on Jun 15, 2012
David Chelimsky dchelimsky remove dead code 18903e1
Commits on Jun 16, 2012
Myron Marston myronmarston Don't add `describe` to every object.
Instead, make it only available on:
  - The main object--so it can be used at the top level.
  - Modules--so example groups can be declared nested
    within modules, as is the common practice.

Besides this, the only other place we need describe is from within
example groups (so we can nest them), and this is taken care of by
RSpec::Core::ExampleGroup.describe.

I got the idea for this from a recent change in Sinatra that similarly
limits the DSL to just the main object rather than all objects:

sinatra/sinatra@46bdb7d
de01e05
Commits on Jun 21, 2012
David Chelimsky dchelimsky refactoring: alias prepend and append on HookCollection
- a bit more OO
- one less conditional per hook registration
076d683
David Chelimsky dchelimsky Merge pull request #609 from alexch/json-formatter
JSON formatter
8e41f1a
David Chelimsky dchelimsky Changelog for #609 [ci skip] cfb465f
David Chelimsky dchelimsky Revert "Merge pull request #609 from alexch/json-formatter"
Failed in ci build for 1.8.7, jruby, ree

This reverts commit 8e41f1a, reversing
changes made to 076d683.
359cd38
David Chelimsky dchelimsky Restore "Merge pull request #609 from alexch/json-formatter""
Most of the commits with this merge are fine - only one is causing failures
in some rubies - we can deal with that issue separately.

This reverts commit 359cd38.
afa4250
David Chelimsky dchelimsky Revert "formatters run better when $SAFE mode is on"
This is causing failures in Ruby 1.8.7, jruby, and ree

This reverts commit 576b82d.
713ad6f
David Chelimsky dchelimsky Revert "Revert "formatters run better when $SAFE mode is on""
This reverts commit 713ad6f.
7695456
David Chelimsky dchelimsky Revert "Merge pull request #609 from alexch/json-formatter"
This reverts commit 8e41f1a, reversing
changes made to 076d683.
ed9ec72
Commits on Jun 29, 2012
David Chelimsky dchelimsky Add `config.order = 'random' to the generated spec_helper.
- Closes #635
bcd0cc2
David Chelimsky dchelimsky don't need redcarpet when running in jruby b5354ef
Commits on Jul 04, 2012
David Chelimsky dchelimsky delegate instead of alias from mocha adapter 2c60898
Commits on Jul 07, 2012
David Chelimsky dchelimsky refactor: rename method f1e2024
David Chelimsky dchelimsky update Changelog baf4c31
David Chelimsky dchelimsky bump to 2.11.0 f9ed7ab