mongoid-undo 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +17 -0
- data/README.md +1 -1
- data/Rakefile +2 -3
- data/lib/mongoid/undo/version.rb +1 -1
- data/lib/mongoid/undo.rb +0 -13
- data/mongoid-undo.gemspec +1 -1
- metadata +15 -9
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
# 0.5.0 (February 14, 2013)
|
2
|
+
* Use Rake::FileList.
|
3
|
+
* \#1 Removed localization monkey patch. mongoid >= 3.0.10 is now required!
|
4
|
+
|
5
|
+
# 0.4.0 (December 31, 2012)
|
6
|
+
* Better specs structure.
|
7
|
+
* Use require_relative.
|
8
|
+
|
9
|
+
# 0.3.0 (December 22, 2012)
|
10
|
+
* Revert "Renamed action field to _action."
|
11
|
+
|
12
|
+
# 0.2.1 (December 22, 2012)
|
13
|
+
* Typo. Upps.
|
14
|
+
|
15
|
+
# 0.2.0 (December 22, 2012)
|
16
|
+
* Fixed weird looking README.md.
|
17
|
+
|
1
18
|
# 0.1.0 (December 22, 2012)
|
2
19
|
* Refactored specs.
|
3
20
|
* Renamed action field to _action.
|
data/README.md
CHANGED
@@ -84,7 +84,7 @@ gem 'mongoid-undo'
|
|
84
84
|
|
85
85
|
(The MIT license)
|
86
86
|
|
87
|
-
Copyright (c) 2012 Mario Uher
|
87
|
+
Copyright (c) 2012 - 2013 Mario Uher
|
88
88
|
|
89
89
|
Permission is hereby granted, free of charge, to any person obtaining
|
90
90
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
data/lib/mongoid/undo/version.rb
CHANGED
data/lib/mongoid/undo.rb
CHANGED
@@ -1,19 +1,6 @@
|
|
1
1
|
require 'active_support'
|
2
2
|
require 'mongoid'
|
3
3
|
|
4
|
-
module Mongoid::Fields
|
5
|
-
class Localized
|
6
|
-
def mongoize(object)
|
7
|
-
if object.is_a? ::Hash
|
8
|
-
object
|
9
|
-
else
|
10
|
-
{ ::I18n.locale.to_s => type.mongoize(object) }
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
|
17
4
|
module Mongoid
|
18
5
|
module Undo
|
19
6
|
extend ActiveSupport::Concern
|
data/mongoid-undo.gemspec
CHANGED
metadata
CHANGED
@@ -2,25 +2,25 @@
|
|
2
2
|
name: mongoid-undo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.5.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mario Uher
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
prerelease: false
|
15
16
|
version_requirements: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
18
|
- - ! '>='
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: '0'
|
20
21
|
none: false
|
21
|
-
name: activesupport
|
22
22
|
type: :runtime
|
23
|
-
|
23
|
+
name: activesupport
|
24
24
|
requirement: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ! '>='
|
@@ -28,20 +28,26 @@ dependencies:
|
|
28
28
|
version: '0'
|
29
29
|
none: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
+
prerelease: false
|
31
32
|
version_requirements: !ruby/object:Gem::Requirement
|
32
33
|
requirements:
|
33
34
|
- - ! '>='
|
34
35
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
36
|
+
version: 3.0.10
|
37
|
+
- - <
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '4.0'
|
36
40
|
none: false
|
37
|
-
name: mongoid
|
38
41
|
type: :runtime
|
39
|
-
|
42
|
+
name: mongoid
|
40
43
|
requirement: !ruby/object:Gem::Requirement
|
41
44
|
requirements:
|
42
45
|
- - ! '>='
|
43
46
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
47
|
+
version: 3.0.10
|
48
|
+
- - <
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '4.0'
|
45
51
|
none: false
|
46
52
|
description: mongoid-undo provides a super simple and easy to use undo system for
|
47
53
|
Mongoid apps.
|
@@ -84,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
90
|
none: false
|
85
91
|
requirements: []
|
86
92
|
rubyforge_project:
|
87
|
-
rubygems_version: 1.8.
|
93
|
+
rubygems_version: 1.8.25
|
88
94
|
signing_key:
|
89
95
|
specification_version: 3
|
90
96
|
summary: Super simple undo for your Mongoid app.
|