Browse files

Bumped Version to 3.0.0

Updated Documentation
Changed 'mongoid' gem version to 3
  • Loading branch information...
1 parent 7daef35 commit 8fa1b116c64dee65836bb5f8ad2944dd9d356c35 @wintersolutions wintersolutions committed Mar 1, 2013
Showing with 6 additions and 3 deletions.
  1. +4 −1 README.md
  2. +1 −1 lib/duration/version.rb
  3. +1 −1 ruby-duration.gemspec
View
5 README.md
@@ -37,7 +37,10 @@ Show me the code
Duration.new(:weeks => 1, :days => 20).iso8601 => "P3W6DT0H0M0S"
### Mongoid support
-The current version of this gem supports Mongoid >= [2.1.0](https://github.com/mongoid/mongoid). For lower Mongoid versions try the tag [v1.0.0](https://github.com/peleteiro/ruby-duration/tree/v1.0.0)
+The current version of this gem supports Mongoid >= [3.0.0](https://github.com/mongoid/mongoid).
+For lower Mongoid versions try:
+ * < 3.0.0 tag [v2.1.4](https://github.com/peleteiro/ruby-duration/tree/v2.1.4)
+ * < 2.1.0 tag [v1.0.0](https://github.com/peleteiro/ruby-duration/tree/v1.0.0)
require 'duration/mongoid'
View
2 lib/duration/version.rb
@@ -1,3 +1,3 @@
class Duration
- VERSION = "2.1.4"
+ VERSION = "3.0.0"
end
View
2 ruby-duration.gemspec
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "yard", ">= 0"
s.add_development_dependency "rake", ">= 0"
s.add_development_dependency "simplecov", ">= 0.3.5"
- s.add_development_dependency "mongoid", "~> 2.4.0"
+ s.add_development_dependency "mongoid", ">= 3.0.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 8fa1b11

Please sign in to comment.