diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..3ea3942 --- /dev/null +++ b/Gemfile @@ -0,0 +1,5 @@ +source :rubygems + +gem 'rspec-rails' +gem 'activesupport' +gem 'mocha' \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..08869b2 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,26 @@ +GEM + remote: http://rubygems.org/ + specs: + activesupport (3.0.1) + diff-lcs (1.1.2) + mocha (0.9.9) + rake + rake (0.8.7) + rspec (2.1.0) + rspec-core (~> 2.1.0) + rspec-expectations (~> 2.1.0) + rspec-mocks (~> 2.1.0) + rspec-core (2.1.0) + rspec-expectations (2.1.0) + diff-lcs (~> 1.1.2) + rspec-mocks (2.1.0) + rspec-rails (2.1.0) + rspec (~> 2.1.0) + +PLATFORMS + ruby + +DEPENDENCIES + activesupport + mocha + rspec-rails diff --git a/Rakefile b/Rakefile index 27d8c69..f43eee6 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,5 @@ task :default => :spec task :spec do - exec 'ruby -Ilib -rubygems spec/mocha_spec.rb --color' + exec 'bundle exec ruby -Ilib spec/mocha_spec.rb --color' end diff --git a/rspec-rails-mocha.gemspec b/rspec-rails-mocha.gemspec index 89ddb30..cd36199 100644 --- a/rspec-rails-mocha.gemspec +++ b/rspec-rails-mocha.gemspec @@ -1,11 +1,10 @@ Gem::Specification.new do |gem| gem.name = 'rspec-rails-mocha' - gem.version = '0.2.0' + gem.version = '0.2.1' gem.date = Date.today.to_s gem.add_dependency 'mocha', '>= 0.9.8' gem.add_dependency 'rspec-rails', '>= 2.0.0' - gem.add_development_dependency 'rspec', '>= 2.0.0' gem.summary = "mock_model and stub_model with Mocha" gem.description = "Ports functionality of mock_model and stub_model from rspec-rails using Mocha."