mongoid-paranoia 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- # Upcoming
1
+ # 0.3.0 (May 28, 2013)
2
+ * Updated to mongoid 3.1.4.
3
+
4
+ # 0.2.1 (May 28, 2013)
5
+ * Freeze on mongoid 3.1.3 for now.
2
6
  * Fixes paths for Travis.
3
7
 
4
8
  # 0.2.0 (May 11, 2013)
@@ -64,7 +64,7 @@ module Mongoid
64
64
  update({ "$set" => { paranoid_field => time }})
65
65
  @destroyed = true
66
66
  IdentityMap.remove(self)
67
- Threaded.clear_options!
67
+ clear_timeless_option
68
68
  true
69
69
  end
70
70
  alias :delete :remove
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Paranoia
3
- VERSION = '0.2.1'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -14,5 +14,5 @@ Gem::Specification.new do |gem|
14
14
  gem.require_path = 'lib'
15
15
 
16
16
  gem.add_dependency 'activesupport', '>= 3.0'
17
- gem.add_dependency 'mongoid', '>= 3.0', '< 3.1.4'
17
+ gem.add_dependency 'mongoid', '>= 3.1.4'
18
18
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mongoid-paranoia
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mario Uher
@@ -32,9 +32,6 @@ dependencies:
32
32
  version_requirements: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - ! '>='
35
- - !ruby/object:Gem::Version
36
- version: '3.0'
37
- - - <
38
35
  - !ruby/object:Gem::Version
39
36
  version: 3.1.4
40
37
  none: false
@@ -43,9 +40,6 @@ dependencies:
43
40
  requirement: !ruby/object:Gem::Requirement
44
41
  requirements:
45
42
  - - ! '>='
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- - - <
49
43
  - !ruby/object:Gem::Version
50
44
  version: 3.1.4
51
45
  none: false