mongoid 2.7.0 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed974b2b6e8dd96f4a3040b7149fb8317d0ef9f2
4
- data.tar.gz: a72b2cecd24d408ed5ae40b2d00cc46ec4b2dc3b
3
+ metadata.gz: 8679493646f67e5500e1191dc36ff26c335871a1
4
+ data.tar.gz: 98ffa5c0c9122e778fc13d8ebf82227cb5ee8220
5
5
  SHA512:
6
- metadata.gz: a6a1a636f87b234bdd70caaab03ac98abca37d40382d7105c15d068ecc3ef5c159b8a79ad0861bd9209a0a24e023467436a360dd937f23b4c7c58f39fe855a29
7
- data.tar.gz: 243f7683b07ab9bf6464e6a2b4827bf3ed23c286c3305227fd6fdd098714b9f0c3dad11e577cbb768601434dd0dc287f6f22d96817e4f31e855130e5fc11a954
6
+ metadata.gz: 22797eb5b8f1ba007a0bad3c47d9749b04f3822cdfa12f6890647eb855a81b441fc71a546925b599194637eb38016eba5e66750086f2cc9b5eab7f7b7f21f287
7
+ data.tar.gz: 8b8a6db7008f4a82b5ad6d1ba78dd6a332e53427f3ec34cc4bfe80d0067b30aed81d3b6e4f8e96538fad29240a70ff5d5d9a937a537f423bb68eed1b2f700d1a
@@ -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
+ ## 2.7.1
7
+
8
+ ### Resolved Issues
9
+
10
+ * \#2934 Fixed thread local persistence options not getting cleared out
11
+ on create.
12
+
6
13
  ## 2.7.0
7
14
 
8
15
  ### New Features
@@ -173,6 +173,7 @@ module Mongoid #:nodoc:
173
173
  yield
174
174
  ensure
175
175
  Threaded.exit(:create)
176
+ Threaded.clear_safety_options!
176
177
  end
177
178
 
178
179
  # Is the current thread in loading revision mode?
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Mongoid #:nodoc
3
- VERSION = "2.7.0"
3
+ VERSION = "2.7.1"
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: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durran Jordan