Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Lock to Rails 2.x compatible mongo_mapper and update Mongo::Connectio…

…n api breakage in mongo mapper test.
  • Loading branch information...
commit 98bb0481ca0022f634e48c4fcbb64232bd830c6a 1 parent e174049
Chris Gaffney authored February 10, 2011
2  delayed_job.gemspec
@@ -25,7 +25,7 @@ This gem is collectiveidea's fork (http://github.com/collectiveidea/delayed_job)
25 25
   s.add_development_dependency  'rails',          '~> 2.3'
26 26
   s.add_development_dependency  'sqlite3'
27 27
   s.add_development_dependency  'mysql'
28  
-  s.add_development_dependency  'mongo_mapper'
  28
+  s.add_development_dependency  'mongo_mapper',   '~> 0.8.0'
29 29
   s.add_development_dependency  'dm-core'
30 30
   s.add_development_dependency  'dm-observer'
31 31
   s.add_development_dependency  'dm-aggregates'
2  spec/backend/mongo_mapper_job_spec.rb
@@ -69,7 +69,7 @@ def tell
69 69
 
70 70
   describe "before_fork" do
71 71
     after do
72  
-      MongoMapper.connection.connect_to_master
  72
+      MongoMapper.connection.connect
73 73
     end
74 74
 
75 75
     it "should disconnect" do

0 notes on commit 98bb048

Please sign in to comment.
Something went wrong with that request. Please try again.