Skip to content

Commit

Permalink
Move dev dependencies to Gemfile.
Browse files Browse the repository at this point in the history
- This way we have a bit more control over the environment. For example
  ffi is currently not building on travis, but we actually dont need it
  there since guard wont be run.
  • Loading branch information
durran committed Jul 10, 2012
1 parent f88a787 commit 5ca798f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 10 additions & 0 deletions Gemfile
Expand Up @@ -8,3 +8,13 @@ platforms :mri_19 do
gem "debugger"
end
end

group :test do
gem "mocha", "0.11"
gem "rspec", "~> 2.11"

unless ENV["CI"]
gem "guard", "1.2.1"
gem "guard-rspec", "~> 0.7"
end
end
5 changes: 0 additions & 5 deletions mongoid.gemspec
Expand Up @@ -22,11 +22,6 @@ Gem::Specification.new do |s|
s.add_dependency("moped", ["~> 1.1.1"])
s.add_dependency("origin", ["~> 1.0.3"])

s.add_development_dependency("mocha", ["= 0.11"])
s.add_development_dependency("rspec", ["~> 2.10"])
s.add_development_dependency("guard", ["= 1.2.1"])
s.add_development_dependency("guard-rspec", ["~> 0.7"])

s.files = Dir.glob("lib/**/*") + %w(CHANGELOG.md LICENSE README.md Rakefile)
s.require_path = 'lib'
end

0 comments on commit 5ca798f

Please sign in to comment.