mongo_mapper 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,7 @@ module MongoMapper
75
75
  def handle_passenger_forking
76
76
  if defined?(PhusionPassenger)
77
77
  PhusionPassenger.on_event(:starting_worker_process) do |forked|
78
- connection.connect_to_master if forked
78
+ connection.connect if forked
79
79
  end
80
80
  end
81
81
  end
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module MongoMapper
3
- Version = '0.8.5'
3
+ Version = '0.8.6'
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_mapper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 5
10
- version: 0.8.5
9
+ - 6
10
+ version: 0.8.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Nunemaker