Skip to content

Commit

Permalink
mongoid can not be a runtime dependency. It is optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
peleteiro committed Apr 28, 2012
1 parent 25352e8 commit e7e49b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/duration/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Duration
VERSION = "2.1.3"
VERSION = "2.1.4"
end
3 changes: 1 addition & 2 deletions ruby-duration.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7e49b6

Please sign in to comment.