Bc::Rspec::Matchers
This projects aims to be an open source effort to collect all the RSpec custom matchers & macros used across Byclosure projects.
Installation
Add this line to your application's Gemfile:
gem 'bc-rspec-matchers', "~> 0.0.3"
And then execute:
$ bundle install
Go to your RSpec configuration files and add:
RSpec.configure do |c|
  c.include Bc::RSpec::Matchers
end
Development & Improvment of bc-rspec-matchers
$ bundle
To run specs in autotest enable just run: bundle exec autotest.
To run specs, just run: bundle exec rake spec
Add new gem dependencies
Atention: Do not use Gemfile for that, Gemfile will automatically be created for you.
Steps:
- Go to bc-rspec-matchers.gem
 - See and use the 
gem.add_development_dependency(that works the same way as Gemfile depencies) - run 
bundle 
Contributing
- Fork it
 - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
 
Notes to Manage and improve this gem
See: http://railscasts.com/episodes/245-new-gem-with-bundler?view=asciicast
Update & Release
- Update gem version: 
lib/bc-rspec-matchers/version.rb - Run 
bundle exec rake release