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.
@@ -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
- @configuration ||= Mongoid::Userstamp::Config.new
50
+ @@configuration ||= Mongoid::Userstamp::Config.new
47
51
  end
48
52
  end
49
53
  end
@@ -4,7 +4,7 @@ module Mongoid
4
4
  module Version
5
5
  MAJOR = 0
6
6
  MINOR = 2
7
- PATCH = 0
7
+ PATCH = 1
8
8
  BUILD = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "mongoid_userstamp"
8
- s.version = "0.2.0"
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-03-24"
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.0
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-03-24 00:00:00.000000000 Z
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: 4199627598995250851
121
+ hash: 1819917974665948435
122
122
  required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  none: false
124
124
  requirements: