lib/mongo_doc/connection.rb in mongo_doc-0.4.2 vs lib/mongo_doc/connection.rb in mongo_doc-0.5.5
- old
+ new
@@ -80,9 +80,9 @@
def rails?
Object.const_defined?("Rails")
end
def verify_server_version(connection)
- raise UnsupportedServerVersionError.new('MongoDoc requires at least mongoDB version 1.3.2') unless connection.server_version >= "1.3.4"
+ raise UnsupportedServerVersionError.new('MongoDoc requires at least mongoDB version 1.4.0') unless connection.server_version >= "1.4.0"
end
end
end