Permalink
Browse files

mongoid can not be a runtime dependency. It is optional.

  • Loading branch information...
1 parent 25352e8 commit e7e49b6d1fe7e0cf4debb89dd3f895448d404b20 @peleteiro committed Apr 28, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 lib/duration/version.rb
  2. +1 −2 ruby-duration.gemspec
View
@@ -1,3 +1,3 @@
class Duration
- VERSION = "2.1.3"
+ VERSION = "2.1.4"
end
View
@@ -23,8 +23,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake", ">= 0"
s.add_development_dependency "simplecov", ">= 0.3.5"
s.add_development_dependency "bluecloth", ">= 0.3.5"
-
- s.add_runtime_dependency "mongoid", "~> 2.4.0"
+ s.add_development_dependency "mongoid", "~> 2.4.0"
s.files = `git ls-files`.split("\n")
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact

0 comments on commit e7e49b6

Please sign in to comment.