Skip to content

Commit

Permalink
Moved dependencies from the Gemfile to the gemspec
Browse files Browse the repository at this point in the history
* The Gemfile now contains just the source and a single `gemspec` declaration
* See http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
  • Loading branch information
rmm5t committed Jan 31, 2011
1 parent 304ad5b commit c7b3537
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
8 changes: 1 addition & 7 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
source 'http://rubygems.org'

gem 'rails', '3.0.3'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'rspec-rails', "~> 2.3.1"
gem 'ruby-debug'
gem 'cucumber'
gem "aruba"

gemspec
11 changes: 9 additions & 2 deletions shoulda.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,15 @@ Gem::Specification.new do |s|
s.summary = %q{Making tests easy on the fingers and eyes}
s.description = %q{Making tests easy on the fingers and eyes}

s.add_runtime_dependency(%q<shoulda-context>, "~> 1.0.0.beta1")
s.add_runtime_dependency(%q<shoulda-matchers>, "~> 1.0.0.beta1")
s.add_development_dependency("rails", "3.0.3")
s.add_development_dependency("sqlite3-ruby", "~> 1.3.2")
s.add_development_dependency("rspec-rails", "~> 2.3.1")
s.add_development_dependency("ruby-debug", "~> 0.10.4")
s.add_development_dependency("cucumber", "~> 0.10.0")
s.add_development_dependency("aruba", "~> 0.2.7")

s.add_runtime_dependency("shoulda-context", "~> 1.0.0.beta1")
s.add_runtime_dependency("shoulda-matchers", "~> 1.0.0.beta1")

if s.respond_to? :specification_version then
s.specification_version = 3
Expand Down

0 comments on commit c7b3537

Please sign in to comment.