Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
This comparison is big! We’re only showing the most recent 250 commits
Commits on Nov 13, 2010
@dchelimsky dchelimsky Obeying the masters - no more bang-bang d2c9d0c
@dchelimsky dchelimsky Undo part of last commit that made it in accidentally
(working on more than one thing at the same time is a no-no)
Commits on Nov 14, 2010
@dchelimsky dchelimsky add a couple of guards to reduce unnecessary iterations cfb3b54
@dchelimsky dchelimsky just yield if possible (saves creating Proc object) cd91857
@dchelimsky dchelimsky object per example 1012613
Commits on Nov 17, 2010
@dchelimsky dchelimsky Pass -Ilib,spec to rcov.
- Closes #229.
@dchelimsky dchelimsky Fix errant documentation
- Closes #227.
@dchelimsky dchelimsky Pass -Ilib:spec to rcov.
- Closes #229 (again).
Commits on Nov 18, 2010
@dchelimsky dchelimsky tweak (c) 35c722e
@dchelimsky dchelimsky Merge branch 'master' of f293f9a
Commits on Nov 19, 2010
@dchelimsky dchelimsky history 7f10628
@dchelimsky dchelimsky constrain dep on rb-fsevent c6e834d
@dchelimsky dchelimsky use platforms in Gemfile as intended 0b278b2
@dchelimsky dchelimsky Make debugger statements _just work_
- debugger statements work anywhere in the code, even parts that are
  outside RSpec's control (like before a describe declaration).
- deprecated --debug/-d command line option
  - it doesn't do anything any more
- warns if ruby-debug is not installed
- only downside is for people who like to leave debugger statements
  around in their code
@dchelimsky dchelimsky Expose example.metadata in around hooks
- Closes #221.
@dchelimsky dchelimsky History 846679a
@dchelimsky dchelimsky History 5a5208d
@dchelimsky dchelimsky Merge branch 'master' of 913ce19
@dchelimsky dchelimsky a little overzealous, perhaps? 91d6d83
@dchelimsky dchelimsky method_missing is private b176cfb
Commits on Nov 22, 2010
@dchelimsky dchelimsky Fix bug in which classes passed to inner groups override the
"described_class" of the outer group.
Commits on Nov 25, 2010
@dchelimsky dchelimsky more method_missing privacy 46f0d49
@dchelimsky dchelimsky small refactoring 190f8c8
@dchelimsky dchelimsky rename internal key cc9f8c9
@dchelimsky dchelimsky using guard these days ... 921bb6a
@dchelimsky dchelimsky Change internally used --autotest option to --tty
- Closes #224.
@dchelimsky dchelimsky explain README links to documentation 3d0ac2b
@dchelimsky dchelimsky and again d7c4b9d
@dchelimsky dchelimsky upgrade cucumber 76e0d64
Commits on Nov 27, 2010
@bosko bosko Use ANSICON instead of win32console
- Closes #234.
@dchelimsky dchelimsky history 602d744
Commits on Nov 28, 2010
@spicycode spicycode Allow use of local repositories or gems for Bundler deps 732be07
@spicycode spicycode Disable verbose by default in our local Rakefile 68d1167
@spicycode spicycode Updating History c2aceab
@spicycode spicycode Adding jruby-openssl to the jruby platform bundle to eliminate warnings fcf781a
@dchelimsky dchelimsky prep for 2.2 release 456f2cf
@dchelimsky dchelimsky bump version to 2.2 d567ba3
@dchelimsky dchelimsky Merge branch 'master' of 2a3abed
@dchelimsky dchelimsky words b92b697
Commits on Nov 29, 2010
@jwilger jwilger Fix Kernel#method_missing override so that it gets along with REE 1.8…

- Closes #237.
@yoshuki yoshuki Changed --autotest to --tty.
- Closes #235.
@dchelimsky dchelimsky history 6420733
@dchelimsky dchelimsky Revert "Make debugger statements _just work_"
- restore the --debugger/-d option
- this created a situation in which debugger did not work at all with
  rails, so need to figure out a different solution

This reverts commit 2466831.
@dchelimsky dchelimsky date in history 61437f4
@dchelimsky dchelimsky one more time ec1ceed
@dchelimsky dchelimsky links\! ff8a16b
@dchelimsky dchelimsky wow, this is getting boring acf82f3
Commits on Nov 30, 2010
@dchelimsky dchelimsky links 8ad59ee
Commits on Dec 01, 2010
@dchelimsky dchelimsky bump to 2.3.0.pre 1d67c8c
Commits on Dec 02, 2010
@bhuga bhuga Add autotest/fsevent and autotest/growl to Gemfile
- Closes #239.
@dchelimsky dchelimsky initial stab at new SharedContext feature
- replaces rspec-1's share_as
Commits on Dec 03, 2010
@dchelimsky dchelimsky doc updates 303fd5a
Commits on Dec 05, 2010
@ldenman ldenman Add autotest-fsevent to bundle when ruby platform is darwin.
- Closes #243.
@dchelimsky dchelimsky History 74c93de
@dchelimsky dchelimsky add wip cuke for requiring arbitrary mock framework 8686ecc
@dchelimsky dchelimsky refactor mock framework configuration in prep for adding support for …
@dchelimsky dchelimsky config.mock_with accepts a mock framework adapter module
- Closes #242.
@dchelimsky dchelimsky small refactoring eef0b5c
@dchelimsky dchelimsky refactor expectation framework configuration in prep for adding support
for expecting with the assertion framework provided by stdlib
@dchelimsky dchelimsky Support using rspec/expecations, test/unit/assertions, or both.
- also removed obsolete experimental cuke feature
@dchelimsky dchelimsky words 349b7ec
Commits on Dec 06, 2010
@lackac lackac Fix issue when RSpec invokes the subject block multiple times
- Closes #244.
@dchelimsky dchelimsky add rspec examples for previous commit 27e1b2c
@dchelimsky dchelimsky History 6530634
@dchelimsky dchelimsky Merge branch 'master' of 4fbd717
Commits on Dec 11, 2010
@dchelimsky dchelimsky lock ZenTest at ~> 4.4.2 c228993
@dchelimsky dchelimsky Add "rspec2" to list of Autotest discoveries if ./.rspec file is found. dc1b0d5
Commits on Dec 12, 2010
@dchelimsky dchelimsky Fix bug in which around hooks caused stack overflow in ruby-1.8.7. d8a3085
@dchelimsky dchelimsky align Gemfiles across rspec dev repos 6df9d2f
@dchelimsky dchelimsky prep for 2.3.0 release d0d9e89
Commits on Dec 13, 2010
@dchelimsky dchelimsky first cut at relish nav f51a3fa
@dchelimsky dchelimsky better feature names a3b7f88
@dchelimsky dchelimsky / 7a6cd93
@dchelimsky dchelimsky Add copies of Upgrade and History to features so they appear in relish.
Need to remove the root directory copies, but that will require changing
some links to their github locations.
@dchelimsky dchelimsky change filename so it looks nicer in relish 6926e03
Commits on Dec 14, 2010
@dchelimsky dchelimsky relish nav fcd4726
@dchelimsky dchelimsky bump version to 2.4.0.pre 408c044
@cjheath cjheath start the debugger on -d so the stack trace is visible when it stops …
…at a debugger call

- Closes #250.
@dchelimsky dchelimsky Split example from previous commit in two and reset Debugger
- there are two separate requirements, so each one gets its own example
- need to able to use the debugger when running rspec on itself
@dchelimsky dchelimsky History 3b80a31
@dchelimsky dchelimsky Send debugger warning message to $stdout if
RSpec.configuration.error_stream has not been defined yet.
Commits on Dec 15, 2010
@jarmo jarmo HtmlFormatter takes into account nested example groups for better vie…
…wing experience

- Closes #252.
@jarmo jarmo remove "warning: parenthesize argument(s) for future version"
- Closes #253.
@dchelimsky dchelimsky History 691dc90
Commits on Dec 18, 2010
@dchelimsky dchelimsky dev-support: update relish task 5332298
Commits on Dec 20, 2010
@dchelimsky dchelimsky the default default _is_ false 059c1e8
Commits on Dec 23, 2010
@dchelimsky dchelimsky docs: beef up before/after hook narrative 37a31cf
@sorah sorah Create a new collection and reject the hooks we don't want
- necessary due to changes in Ruby 1.9.3 (in dev)
- see
@dchelimsky dchelimsky Create a new hook collection w/ selected hooks. a139a28
@dchelimsky dchelimsky History 809ff6a
@dchelimsky dchelimsky better wording fe3fb5c
John Firebaugh Be explicit about passing block to super
Allows specs with around hooks to work on JRuby again by
working around
Also, explicit is better than implicit.

- Closes #256.
@dchelimsky dchelimsky history c1b58ca
Commits on Dec 28, 2010
@dchelimsky dchelimsky Fix hook filtering so global hooks can apply to individual examples.
- Closes #261.
@dchelimsky dchelimsky words 1e4f88c
@dchelimsky dchelimsky history fda0549
@janmejay janmejay rake_task now capable of loading specs with single and double quotes …
…in path

- Closes #247.
@dchelimsky dchelimsky Specify the escapes rather than shelling out. 6d7c861
Commits on Dec 29, 2010
@dchelimsky dchelimsky focus rather than focused d3456f3
@dchelimsky dchelimsky Restore --options CLI option from rspec-1
- sets path to custom options file
- ignores ~/.rspec and ./.rspec
- Closes #228.
Commits on Dec 30, 2010
@dchelimsky dchelimsky history a7ff363
Commits on Dec 31, 2010
@Burgestrand Burgestrand require 'ostruct' to fix bug with its([key])
- Closes #264
@dchelimsky dchelimsky history d794001
@dchelimsky dchelimsky merge two feature files db803b3
@dchelimsky dchelimsky --configure option generates .rspec file instead of autotest/discover.rb 801e7bc
@dchelimsky dchelimsky support multiple formatters
- Closes #213.
@dchelimsky dchelimsky whitespace and typos 07c97d1
@dchelimsky dchelimsky update history w/ 2.3.1 info a0edfa6
Commits on Jan 01, 2011
@dchelimsky dchelimsky remove obsolete method e6c5a21
@dchelimsky dchelimsky consistency 3e7ce82
@dchelimsky dchelimsky Show exception classes in failures unless they come from rspec matchers
or message expectations.

- Closes #92.
@dchelimsky dchelimsky history 06d52e7
@dchelimsky dchelimsky Support before(:all) { pending } 83262db
@dchelimsky dchelimsky Better support for add_formatter in configuration.
- create the formatter's output file in config instead of opt parser.
Commits on Jan 02, 2011
@dchelimsky dchelimsky prep for 2.4.0 release da33be3
Commits on Jan 03, 2011
@dchelimsky dchelimsky remove completely unnecessary line 5dc63b1
Commits on Jan 04, 2011
@scrummyin scrummyin corrected the count in the html formater
- Closes #265.
@dchelimsky dchelimsky history 877cc86
@dchelimsky dchelimsky docs 27deb82
Commits on Jan 07, 2011
@dchelimsky dchelimsky Don't clobber formatter options when generating drb_argv
- fixes bug in which --drb + formatters would raise an error when not
  running in drb
- Closes #267
Commits on Jan 08, 2011
@jeffkreeftmeijer jeffkreeftmeijer Use current_indentation instead of ' ' * @group_level in the document…
…ation formatter

- Closes #271.
Commits on Jan 13, 2011
@myronmarston myronmarston Add scripts that run specs/cukes against all supported rubies.
- script/spec runs specs
- script/cucumber runs cukes
- script/full_build runs both

Also update Gemfile so it can be used cleanly on lots of rubies.

It now works on:

- MRI 1.8.6
- MRI 1.8.7
- MRI 1.9.1
- MRI 1.9.2
- JRuby 1.5.6
- Rubinius 1.1.1
- REE 1.8.7

- Closes #260
@dchelimsky dchelimsky Add #focus as an alias for #focused.
- see d3456f3#comments
  for more info,
- Closes #268.
@myronmarston myronmarston Allow filtered :all hooks to be applied to nested example groups.
Previously, they could only be applied to top-level example groups.

- Closes #274.
Commits on Jan 15, 2011
@myronmarston myronmarston Add cukes documenting helper methods and let.
- Closes #275.
@dchelimsky dchelimsky cuke tweaks 37e7bdd
@dchelimsky dchelimsky more cuke tweaks 1f109e5
Commits on Jan 16, 2011
@dchelimsky dchelimsky loosen constraint on outcome in example that returns an array
- Closes #278.
@dchelimsky dchelimsky cukes/docs dfd0314
@dchelimsky dchelimsky Add -- --skip-bundler option for autotest
- Closes #191.
@dchelimsky dchelimsky sort rather than match on unsorted content be775bb
Commits on Jan 17, 2011
@dchelimsky dchelimsky eliminate dup docs 26271e1
@dchelimsky dchelimsky docs c4a852d
@monocle monocle Allow tag filtering when using drb
- Closes #277.
@dquimper dquimper Added checkboxs at the top of the page to filter examples.
- Closes #270.
@dchelimsky dchelimsky move the checkboxes into the header 3b608f3
@dchelimsky dchelimsky update html and textmate formatter 'golden masters' 26f3098
@dchelimsky dchelimsky update changelog 258bd20
@iromeo iromeo Prefer SPEC_OPTS to cli
- Closes #276.
@dchelimsky dchelimsky update changlog 881efbd
Commits on Jan 20, 2011
@dchelimsky dchelimsky update upgrade link
- Closes #284.
Commits on Jan 21, 2011
@dchelimsky dchelimsky Deprecate automatic assumption of bundler with autotest.
- use Autotest's bundler plugin instead.
- use 'autotest -- --skip-bundler' to skip 'bundle exec'.
Commits on Jan 22, 2011
@dchelimsky dchelimsky Refactor autotest / rspec / bundler codes
- --skip-bundler beats 'autotest/bundler'
@dchelimsky dchelimsky update changelog c1a9383
@dchelimsky dchelimsky minor tweaks to rspec command help output 714176c
Commits on Jan 23, 2011
@JonRowe JonRowe ignore rvmrc ada3a5d
Commits on Jan 25, 2011
@dchelimsky dchelimsky Use File::PATH_SEPARATOR
- thanks to Luis Lavena for the pointer
- Closes #289.
@JonRowe JonRowe Fix bug matching failures for autotest with colorized output.
- Closes #251.
- Closes #288.
Commits on Jan 26, 2011
John Firebaugh Be more explicit about passing a block
JRuby 1.6.0 is not likely to support the previous bit of
magic; see

- Closes #291.
@dchelimsky dchelimsky changelog 837ccdd
Commits on Jan 27, 2011
@briandunn briandunn added example of #its(:attribute) calling the attribute twice 56b6a65
@dchelimsky dchelimsky memoize subject with its\n\n- Closes #292 599c0c9
@dchelimsky dchelimsky move 'its' specs to subject_spec and reorg a bit 14d77bf
@dchelimsky dchelimsky changes 6a860d9
@dchelimsky dchelimsky Make Procsy a module and extend the generated Procs instead of
inheriting from Proc.

- This allows Procsy to behave correctly in all supported versions of
  MRI, as well as JRuby-1.5 and JRuby-1.6.
- See
- See
- Thanks to John Firebaugh for the suggestion!
- Closes #291 (hopefully forealz)
@dchelimsky dchelimsky dev: use regexps in Guardfile 4521850
@dchelimsky dchelimsky docs 1a66ce9
Commits on Feb 01, 2011
@dnurzynski dnurzynski Fix rspec hangs after String.alias :to_int :to_i
- Closes #195.
- Closes #295.
@dchelimsky dchelimsky update Changelog 0f9deff
Commits on Feb 05, 2011
@joliss joliss minor doc fixes
- Closes #298.
@grosser grosser allow specs to run without needing to checkout all rspec projects
- Closes #149.
@dchelimsky dchelimsky Rollback to earlier approach to including other libs. 957b368
@dchelimsky dchelimsky prep for 2.5 release 70acb98
Commits on Feb 06, 2011
@dchelimsky dchelimsky Remove --skip-bundler and post -- arg handling from rspec_autotest
Unfortunately, this breaks compatibility, but it is a much simpler and
more sane approach to including or excluding 'bundle exec' in the
autotest command.

- default: do not include it
- to include it, use the autotest bundler plugin
@dchelimsky dchelimsky prep 2.5.1 release af1454d
@dchelimsky dchelimsky date typo 79f9af6
Commits on Feb 07, 2011
@dchelimsky dchelimsky docs/nav 5a2b75b
Commits on Feb 10, 2011
@joliss joliss better error message if no block given for hook
- Closes #309.
@dchelimsky dchelimsky remove quotes (less noise) 8bfc602
Commits on Feb 14, 2011
@dchelimsky dchelimsky doc tweaks d832c61
@dnurzynski dnurzynski Fix exit_status after Exception raised in before :all hook
- Closes #301.
- Closes #302.
Commits on Feb 15, 2011
@dchelimsky dchelimsky clear ivars declared before(:all) after a group is run ff18091
@dchelimsky dchelimsky docs dd8b9e4
Commits on Feb 16, 2011
@dchelimsky dchelimsky docs 011b1ce
Commits on Feb 21, 2011
Hans Hasselberg don't stumble over an exception without a message.
- Closes #308.
@dchelimsky dchelimsky changelog 1a09d44
Geoffrey Byers Removed non-ascii characters from comments
- Closes #315.
@dchelimsky dchelimsky changelog 9557f98
@dnurzynski dnurzynski Add config.for_groups_matching
- extend groups matching specific metadata with:
  - method definitions
  - subject declarations
  - let/let! declarations
  - etc (anything you can do in a group)

- Closes #300.
@dchelimsky dchelimsky change log dc24065
@dchelimsky dchelimsky Modify config.for_groups_matching to add methods using def as instance
methods instead of class methods. This exposes them to the examples
rather than the example groups.

Also updated the specs and cukes to make them more generic (less
rails specific).
@dchelimsky dchelimsky Refactor peding declared in an example to raise and capture an exception
instead of throwing/catching a symbol. This fixes a bug in which
post-example processing in an around hook would be skipped if the
example was declared pending from within the example.

- Closes #322.
Commits on Feb 22, 2011
@Peeja Peeja `its([:key]) {}` works for any subject with #[].
- Closes #323.
- Closes #296.
@dchelimsky dchelimsky change log 696ef3e
@dchelimsky dchelimsky Require file from spec that is not autoloaded (so the spec file can be
run individually).

- Closes #318.
@myronmarston myronmarston Fixed backtrace so it doesn't include lines from before the autorun a…
…t_exit hook.

- Closes #101.
@myronmarston myronmarston Add cuke for user-defined metadata. ebc4bff
Commits on Feb 23, 2011
@myronmarston myronmarston Add new treat_symbols_as_metadata_keys_with_true_values option.
Closes #304.
Commits on Feb 25, 2011
@myronmarston myronmarston Removed unused matcher. d6e84c3
Commits on Feb 26, 2011
@myronmarston myronmarston Move custom matchers into spec/support/matchers.rb. da49bee
@myronmarston myronmarston Downgrade flexmock to last version that is compatible with 1.8.6 so o…
…ur cukes pass on 1.8.6.
@myronmarston myronmarston Fix specs on 1.9.1p378.
I have no idea why, but on 1.9.1p378, I was getting errors like "undefined method `to_int' for class `#<Class:0x00000101ae3a18>::String'".  This fixes it.  Apparently `class String` was creating a new class rather than re-opening the existing String class.  `String.class_eval do` ensures we run the alias/undef code in the context of the existing string class.

Yes, this does make no sense whatsoever.  Must be a weird 1.9.1 bug.
@myronmarston myronmarston Regenerated html fixtures for 1.9.1.
The specs that use them were failing.
@myronmarston myronmarston Remove coupling to rspec-expectations.
Generated example descriptions only work when using rspec-expectations and the code should not use RSpec::Matchers when configured to use :stdlib.
Commits on Feb 27, 2011
@dchelimsky dchelimsky gemspec tweaks dbe818b
Commits on Mar 02, 2011
@dchelimsky dchelimsky changelog b801160
Commits on Mar 06, 2011
@myronmarston myronmarston Remove unused local variable. 0394f4a
@dchelimsky dchelimsky no need to include matchers in spec helper 56616ec
@dchelimsky dchelimsky point Gemfile to git instead of published gems cfa9837
Commits on Mar 07, 2011
@myronmarston myronmarston Fix how RSpec::Matchers is included in RSpec::Core::Example group to …
…prevent SystemStackError on 1.9.
@myronmarston myronmarston Fix how we spec expect_with so its not so fragile. ab861a7
@myronmarston myronmarston Print a warning when users configure RSpec after defining an example …
@myronmarston myronmarston Update changelog. 62c9f03
@justinko justinko Use #double as #mock and #stub will be deprecated in the future e3eb542
Commits on Mar 08, 2011
@myronmarston myronmarston Rewrite hook filtering cukes so they are more clear.
Making assertions on the output of `puts` in the hooks interleaved with the documentation formatter output is a poor way to demonstrate this feature.
@dchelimsky dchelimsky Change class level instance var to class's class var so the block is
only executed once per suite.
@myronmarston myronmarston Add additional examples. 24ec6c8
@myronmarston myronmarston Add cuke documenting how to include/extend a module in your example g…
Commits on Mar 09, 2011
@dchelimsky dchelimsky move require to right file 734aa81
@dchelimsky dchelimsky Change --debug option to --debugger
- --debug was not working for reasons unknown.
- Closes #282.
@dchelimsky dchelimsky require 'stringio'
- Closes #328.
@myronmarston myronmarston Abstract out the metadata symbol deprecation warning.
The current message won't make sense for config options that use symbol metadata so this provides an easy way to define another module with a different warning message for use by configuration.
@myronmarston myronmarston Allow symbols to be treated as metadata filters for hooks. 5c5aa52
@myronmarston myronmarston Allow symbols to be treated as metadata for the inclusion filter. 3de3b32
@myronmarston myronmarston Allow symbols to be treated as metadata for the exclusion filter. 5e0ac37
@myronmarston myronmarston Allow symbols to be treated as metadata for config.include/config.ext…
@myronmarston myronmarston Add new feature to nav. 75dd47f
@myronmarston myronmarston Add cuke documenting `config.alias_example_to`. 750fe14
@myronmarston myronmarston Allow symbols to be treated as metadata for `config.alias_example_to`. 253b272
@myronmarston myronmarston Clarify warning. 6fe8316
@myronmarston myronmarston Reword cuke narative. 1dea593
@myronmarston myronmarston Allow symbols to be treated as metadata for `config.for_groups_matchi…
Commits on Mar 10, 2011
@myronmarston myronmarston Force users to explicitly specify hook scope when using symbols as me…
…tadata for hooks.
Commits on Mar 13, 2011
@dchelimsky dchelimsky docs 0dea1af
@ilkka ilkka Pass exit status of DRb run to invoking process
This change causes rspec to exit with a non-zero exit status when specs
fail, even when running with DRb. Failover to local run is done by not
catching DRb::DRbConnError exceptions in RSpec::Core::DRbCommandLine,
instead letting them come up to
@ilkka ilkka Fix specs to reflect new DRb behaviour expectations no longer outputs a connection error message, instead
it lets raised DRbConnError exceptions pass through. Also it returns
false for the dummy spec because of the raise() therein.
@justinko justinko More detailed spec for running your specs with DRb. e322223
Commits on Mar 14, 2011
@myronmarston myronmarston Fix indentation. d313384
Commits on Mar 15, 2011
@justinko justinko changelog 548dda4
@alindeman alindeman Since fda4a12, ostruct is no longer used. Remove the require. Closes #… 1758f81
Commits on Mar 22, 2011
@dchelimsky dchelimsky Don't call example_group_[started|finished] unless the group or any of
its children have at least one example to run.

- Closes #317.
@dchelimsky dchelimsky fix cuke i broke last commit :( d0e5fa2
Commits on Mar 23, 2011
@kaiwren kaiwren Fix `:ruby => "!jruby"` metadata logic. Fixes #338 Fixes #339 3260cb5
@dchelimsky dchelimsky remove comment in feature a1064cf
Commits on Mar 24, 2011
@kaiwren kaiwren Get build to pass on jruby.
- Closes #341.
@dchelimsky dchelimsky Don't run rr spec in jruby (failure coming from rr itself).
- Closes #3.
@dchelimsky dchelimsky same as last time, only this time it actually works 8fd03d2
Artur Małecki Fix bug where mixing nested groups and outer-level examples gave
unpredictable :line_number behavior

- Closes #337.
- Closes #340.
@dchelimsky dchelimsky changelog a9ed36a
@dchelimsky dchelimsky add cuke for accessing example from within the example b007362
@dchelimsky dchelimsky rename feature and tweak nav 4ee9369
Commits on Mar 25, 2011
@dchelimsky dchelimsky upgrade cucumber and aruba 8f74614
Commits on Mar 27, 2011
@dchelimsky dchelimsky Change config.for_groups_matching to shared_context
- not in the context of config
- aligns with shared_examples_for API
- also add `include_context` method to example group
  - so shared context can be included ...
    - using include_context
    - by matching metadata
Commits on Mar 28, 2011
@myronmarston myronmarston Add travis config file. 95458f1
@myronmarston myronmarston Use git protocol rather than https for bundled rspec gems.
The https url failed when travis-ci tried to build rspec-core.  This might fix it.

error:  while accessing

fatal: HTTP request failed
An error has occurred in git when running `git clone "" "/home/travis/.rvm/gems/ruby-1.8.7-p330/cache/bundler/git/rspec-expectations-1c518ec8c1880aa81941a7a8c7fa04b29ec74c91" --bare --no-hardlinks`. Cannot complete bundling.
@myronmarston myronmarston Use RUBY_PLATFORM rather than RUBY_ENGINE to detect jruby.
RUBY_ENGINE is not defined when using MRI.  RUBY_PLATFORM is.
@kaiwren kaiwren All tests now green on jruby. 6 failing cukes to go before we're all …

- Closes #343.
Commits on Mar 29, 2011
@dchelimsky dchelimsky Regexp.escape the argument to --example.
- Closes #299.
- Thanks to Elliot Winkler for the suggestion.
@dchelimsky dchelimsky Set each example's instance of the group to nil after processing.
This dereferences the example group instance which contains all of the
example's state, thereby releasing each example for garbage collection
after processing.

Note that this does not dereference state initialized in before(:all),
but those instance variables are cleared out in a separate process.
@dchelimsky dchelimsky nullify ivars after each example f6cb592