mongoid_userstamp 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mongoid/userstamp.rb +5 -1
- data/lib/mongoid/userstamp/version.rb +1 -1
- data/mongoid_userstamp.gemspec +2 -2
- metadata +3 -3
data/lib/mongoid/userstamp.rb
CHANGED
@@ -42,8 +42,12 @@ module Mongoid
|
|
42
42
|
end
|
43
43
|
|
44
44
|
class << self
|
45
|
+
def configure(&block)
|
46
|
+
@@configuration = Mongoid::Userstamp::Config.new(&block)
|
47
|
+
end
|
48
|
+
|
45
49
|
def configuration
|
46
|
-
|
50
|
+
@@configuration ||= Mongoid::Userstamp::Config.new
|
47
51
|
end
|
48
52
|
end
|
49
53
|
end
|
data/mongoid_userstamp.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "mongoid_userstamp"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Thomas Boerger"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-04-05"
|
13
13
|
s.email = "tboerger@tbpro.de"
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE.md",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_userstamp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
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: 2013-
|
12
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mongoid
|
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
segments:
|
120
120
|
- 0
|
121
|
-
hash:
|
121
|
+
hash: 1819917974665948435
|
122
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
123
|
none: false
|
124
124
|
requirements:
|