mongoid 3.0.12 → 3.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,13 @@
3
3
  For instructions on upgrading to newer versions, visit
4
4
  [mongoid.org](http://mongoid.org/docs/upgrading.html).
5
5
 
6
+ ## 3.0.13
7
+
8
+ ### Resolved Issues
9
+
10
+ * \#2548 Fix error when generating config file with a fresh app with Unicorn in
11
+ the gemset.
12
+
6
13
  ## 3.0.12
7
14
 
8
15
  ### Resolved Issues
@@ -139,7 +139,7 @@ module Rails
139
139
  # not provide application-level hooks for executing code after the
140
140
  # process has forked, so we reconnect lazily.
141
141
  if defined?(Unicorn) && !Unicorn::HttpServer::START_CTX.empty?
142
- ::Mongoid.default_session.disconnect
142
+ ::Mongoid.default_session.disconnect if ::Mongoid.configured?
143
143
  end
144
144
 
145
145
  # Passenger provides the :starting_worker_process event for executing
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Mongoid
3
- VERSION = "3.0.12"
3
+ VERSION = "3.0.13"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.12
4
+ version: 3.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-10 00:00:00.000000000 Z
12
+ date: 2012-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -352,7 +352,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
352
352
  version: '0'
353
353
  segments:
354
354
  - 0
355
- hash: -1846973672677676988
355
+ hash: 4207639439439343607
356
356
  required_rubygems_version: !ruby/object:Gem::Requirement
357
357
  none: false
358
358
  requirements: