rspec/rspec-tmbundle — pull request #48 by jperkins (2013-01-13 21:59:18+00:00)
Title: Walkabout

## Adding an `.rvmrc`

* Are there any objections to adding an .rvmrc to the repo?

## Development against `rspec-core` gem

* I modified the Gemfile so that rspec-tmbundle is using the rspec gem instead
of requiring that the rspec-core, rspec-expectations and rspec-mocks be
checked out.

Presumably, this is from when rspec-* was being developed by a single person
and it was convenient to keep the git repos for the rspec-* project checkout
out locally. With the separation of rspec-* to multiple maintainers, my
thinking was that it's easier to decouple rspec-tmbundle from the current
HEAD of rspec-core and instead works with the current gem.

This modification allowed the removal of the removed the sandboxed dev env
in the spec_helper.

This might be controversial and I'm looking for feedback. The gems listed in
the Gemfile are specified using pessimistic versioning.

## Added SimpleCov

* simplecov added to the gemfile and configured in the spec_helper
* added coverage/ to the .gitignore

## Refactoring

* I added updates to the README and did some formatting.

### lib/mate.rb

* extracted the following methods:

- use_bundler?
- find_rspec_lib
- gemfile?

- bundler_option?
- skip_bundler_option?

* bundler_option? and skip_bundler_option? can be moved to Options

### options.rb

* extracted load_options method

### switch_command.rb

* added merb_or_rails? method

### runner_spec.rb

* extracted fixtures_path
* extracted fixtures_path method
* made set_env private
* adjusted the description strings
* noted long paths with TODOs