diff --git a/Rakefile b/Rakefile index abae8b9..7c260ef 100644 --- a/Rakefile +++ b/Rakefile @@ -30,6 +30,7 @@ begin gemspec.add_dependency("mime-types", ">= 1.15") gemspec.add_dependency("activesupport", ">= 2.3.5") gemspec.add_dependency("activemodel", ">= 3.0.0.beta4") + gemspec.add_dependency("tzinfo", ">= 0.3.22") gemspec.version = CouchRest::Model::VERSION gemspec.date = "2008-11-22" gemspec.require_path = "lib" diff --git a/lib/couchrest_model.rb b/lib/couchrest_model.rb index 7859c02..a2c2fd3 100644 --- a/lib/couchrest_model.rb +++ b/lib/couchrest_model.rb @@ -1,12 +1,13 @@ - -# require File.join(File.dirname(__FILE__), "couchrest", "extended_document") - -gem 'couchrest' - +gem 'couchrest', ">= 1.0.0.beta" require 'couchrest' +gem "tzinfo", ">= 0.3.22" + +gem "activesupport", ">= 2.3.5" require 'active_support/core_ext' require 'active_support/json' + +gem "activemodel", ">= 3.0.0.beta4" require 'active_model' require "active_model/callbacks" require "active_model/conversion" @@ -17,6 +18,8 @@ require "active_model/serialization" require "active_model/translation" require "active_model/validator" require "active_model/validations" + +gem "mime-types", ">= 1.15" require 'mime/types' require "enumerator" require "time"