mongoid 3.0.12 → 3.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +7 -0
- data/lib/mongoid/railtie.rb +1 -1
- data/lib/mongoid/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
|
@@ -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
|
data/lib/mongoid/railtie.rb
CHANGED
|
@@ -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
|
data/lib/mongoid/version.rb
CHANGED
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.
|
|
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-
|
|
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:
|
|
355
|
+
hash: 4207639439439343607
|
|
356
356
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
357
357
|
none: false
|
|
358
358
|
requirements:
|