mongoid_userstamp 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/.travis.yml +3 -1
- data/Gemfile +4 -2
- data/Gemfile.lock +16 -12
- data/LICENSE.md +1 -1
- data/README.md +2 -2
- data/Rakefile +3 -4
- data/init.rb +0 -1
- data/lib/mongoid/userstamp/config.rb +0 -1
- data/lib/mongoid/userstamp/railtie.rb +0 -1
- data/lib/mongoid/userstamp/user.rb +0 -1
- data/lib/mongoid/userstamp/version.rb +1 -2
- data/lib/mongoid/userstamp.rb +1 -2
- data/lib/mongoid_userstamp.rb +0 -1
- data/mongoid_userstamp.gemspec +18 -12
- metadata +42 -11
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm use ruby-1.9.3-
|
1
|
+
rvm use ruby-1.9.3-p194@mongoid_userstamp --create
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
-
gem 'mongoid', '~>
|
3
|
+
gem 'mongoid', '~> 3.0.4'
|
4
4
|
|
5
5
|
group :development do
|
6
6
|
gem 'redcarpet', '~> 2.1.0'
|
7
|
-
gem 'yard', '~> 0.
|
7
|
+
gem 'yard', '~> 0.8.2.1'
|
8
8
|
gem 'jeweler', '~> 1.8.3'
|
9
|
+
gem 'magic_encoding', '~> 0.0.2'
|
10
|
+
gem 'whitespace', '~> 2.0.4'
|
9
11
|
end
|
10
12
|
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activemodel (3.2.
|
5
|
-
activesupport (= 3.2.
|
4
|
+
activemodel (3.2.7)
|
5
|
+
activesupport (= 3.2.7)
|
6
6
|
builder (~> 3.0.0)
|
7
|
-
activesupport (3.2.
|
7
|
+
activesupport (3.2.7)
|
8
8
|
i18n (~> 0.6)
|
9
9
|
multi_json (~> 1.0)
|
10
|
-
bson (1.6.2)
|
11
10
|
builder (3.0.0)
|
12
11
|
git (1.2.5)
|
13
12
|
i18n (0.6.0)
|
@@ -17,25 +16,30 @@ GEM
|
|
17
16
|
rake
|
18
17
|
rdoc
|
19
18
|
json (1.6.6)
|
20
|
-
|
21
|
-
|
22
|
-
mongoid (2.4.8)
|
19
|
+
magic_encoding (0.0.2)
|
20
|
+
mongoid (3.0.4)
|
23
21
|
activemodel (~> 3.1)
|
24
|
-
|
22
|
+
moped (~> 1.1)
|
23
|
+
origin (~> 1.0)
|
25
24
|
tzinfo (~> 0.3.22)
|
26
|
-
|
25
|
+
moped (1.2.0)
|
26
|
+
multi_json (1.3.6)
|
27
|
+
origin (1.0.6)
|
27
28
|
rake (0.9.2.2)
|
28
29
|
rdoc (3.12)
|
29
30
|
json (~> 1.4)
|
30
31
|
redcarpet (2.1.1)
|
31
32
|
tzinfo (0.3.33)
|
32
|
-
|
33
|
+
whitespace (2.0.4)
|
34
|
+
yard (0.8.2.1)
|
33
35
|
|
34
36
|
PLATFORMS
|
35
37
|
ruby
|
36
38
|
|
37
39
|
DEPENDENCIES
|
38
40
|
jeweler (~> 1.8.3)
|
39
|
-
|
41
|
+
magic_encoding (~> 0.0.2)
|
42
|
+
mongoid (~> 3.0.4)
|
40
43
|
redcarpet (~> 2.1.0)
|
41
|
-
|
44
|
+
whitespace (~> 2.0.4)
|
45
|
+
yard (~> 0.8.2.1)
|
data/LICENSE.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2012
|
1
|
+
Copyright (c) 2012 Thomas Boerger Programmierung <http://www.tbpro.de>
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# MongoidUserstamp [![Build Status](https://secure.travis-ci.org/
|
1
|
+
# MongoidUserstamp [![Build Status](https://secure.travis-ci.org/tbpro/mongoid_userstamp.png)](https://secure.travis-ci.org/#!/tbpro/mongoid_userstamp)
|
2
2
|
|
3
3
|
MongoidUserstamp adds stamp columns for created by and updated by
|
4
4
|
informations within rails applications.
|
@@ -52,4 +52,4 @@ informations within rails applications.
|
|
52
52
|
|
53
53
|
## Credits
|
54
54
|
|
55
|
-
Copyright (c) 2012
|
55
|
+
Copyright (c) 2012 Thomas Boerger Programmierung <http://www.tbpro.de>
|
data/Rakefile
CHANGED
@@ -19,15 +19,14 @@ require 'mongoid/userstamp/version'
|
|
19
19
|
Jeweler::Tasks.new do |gem|
|
20
20
|
gem.name = 'mongoid_userstamp'
|
21
21
|
gem.version = Mongoid::Userstamp::Version::STRING
|
22
|
-
gem.homepage = 'https://github.com/
|
22
|
+
gem.homepage = 'https://github.com/tbpro/mongoid_userstamp'
|
23
23
|
gem.license = 'MIT'
|
24
24
|
gem.summary = %Q{Userstamp for created and updated columns within mongoid}
|
25
|
-
gem.email = '
|
26
|
-
gem.authors = ['Thomas Boerger'
|
25
|
+
gem.email = 'tboerger@tbpro.de'
|
26
|
+
gem.authors = ['Thomas Boerger']
|
27
27
|
end
|
28
28
|
|
29
29
|
Jeweler::RubygemsDotOrgTasks.new
|
30
30
|
YARD::Rake::YardocTask.new
|
31
31
|
|
32
32
|
task :default => :version
|
33
|
-
|
data/init.rb
CHANGED
data/lib/mongoid/userstamp.rb
CHANGED
data/lib/mongoid_userstamp.rb
CHANGED
data/mongoid_userstamp.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "mongoid_userstamp"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Thomas Boerger"
|
12
|
-
s.date = "2012-
|
13
|
-
s.email = "
|
11
|
+
s.authors = ["Thomas Boerger"]
|
12
|
+
s.date = "2012-09-19"
|
13
|
+
s.email = "tboerger@tbpro.de"
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE.md",
|
16
16
|
"README.md"
|
@@ -32,31 +32,37 @@ Gem::Specification.new do |s|
|
|
32
32
|
"lib/mongoid_userstamp.rb",
|
33
33
|
"mongoid_userstamp.gemspec"
|
34
34
|
]
|
35
|
-
s.homepage = "https://github.com/
|
35
|
+
s.homepage = "https://github.com/tbpro/mongoid_userstamp"
|
36
36
|
s.licenses = ["MIT"]
|
37
37
|
s.require_paths = ["lib"]
|
38
|
-
s.rubygems_version = "1.8.
|
38
|
+
s.rubygems_version = "1.8.24"
|
39
39
|
s.summary = "Userstamp for created and updated columns within mongoid"
|
40
40
|
|
41
41
|
if s.respond_to? :specification_version then
|
42
42
|
s.specification_version = 3
|
43
43
|
|
44
44
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
|
-
s.add_runtime_dependency(%q<mongoid>, ["~>
|
45
|
+
s.add_runtime_dependency(%q<mongoid>, ["~> 3.0.4"])
|
46
46
|
s.add_development_dependency(%q<redcarpet>, ["~> 2.1.0"])
|
47
|
-
s.add_development_dependency(%q<yard>, ["~> 0.
|
47
|
+
s.add_development_dependency(%q<yard>, ["~> 0.8.2.1"])
|
48
48
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
49
|
+
s.add_development_dependency(%q<magic_encoding>, ["~> 0.0.2"])
|
50
|
+
s.add_development_dependency(%q<whitespace>, ["~> 2.0.4"])
|
49
51
|
else
|
50
|
-
s.add_dependency(%q<mongoid>, ["~>
|
52
|
+
s.add_dependency(%q<mongoid>, ["~> 3.0.4"])
|
51
53
|
s.add_dependency(%q<redcarpet>, ["~> 2.1.0"])
|
52
|
-
s.add_dependency(%q<yard>, ["~> 0.
|
54
|
+
s.add_dependency(%q<yard>, ["~> 0.8.2.1"])
|
53
55
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
56
|
+
s.add_dependency(%q<magic_encoding>, ["~> 0.0.2"])
|
57
|
+
s.add_dependency(%q<whitespace>, ["~> 2.0.4"])
|
54
58
|
end
|
55
59
|
else
|
56
|
-
s.add_dependency(%q<mongoid>, ["~>
|
60
|
+
s.add_dependency(%q<mongoid>, ["~> 3.0.4"])
|
57
61
|
s.add_dependency(%q<redcarpet>, ["~> 2.1.0"])
|
58
|
-
s.add_dependency(%q<yard>, ["~> 0.
|
62
|
+
s.add_dependency(%q<yard>, ["~> 0.8.2.1"])
|
59
63
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
64
|
+
s.add_dependency(%q<magic_encoding>, ["~> 0.0.2"])
|
65
|
+
s.add_dependency(%q<whitespace>, ["~> 2.0.4"])
|
60
66
|
end
|
61
67
|
end
|
62
68
|
|
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_userstamp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Thomas Boerger
|
9
|
-
- Tim Rudat
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2012-
|
12
|
+
date: 2012-09-19 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: mongoid
|
@@ -19,7 +18,7 @@ dependencies:
|
|
19
18
|
requirements:
|
20
19
|
- - ~>
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
21
|
+
version: 3.0.4
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,7 +26,7 @@ dependencies:
|
|
27
26
|
requirements:
|
28
27
|
- - ~>
|
29
28
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
29
|
+
version: 3.0.4
|
31
30
|
- !ruby/object:Gem::Dependency
|
32
31
|
name: redcarpet
|
33
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -51,7 +50,7 @@ dependencies:
|
|
51
50
|
requirements:
|
52
51
|
- - ~>
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
53
|
+
version: 0.8.2.1
|
55
54
|
type: :development
|
56
55
|
prerelease: false
|
57
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -59,7 +58,7 @@ dependencies:
|
|
59
58
|
requirements:
|
60
59
|
- - ~>
|
61
60
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
61
|
+
version: 0.8.2.1
|
63
62
|
- !ruby/object:Gem::Dependency
|
64
63
|
name: jeweler
|
65
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,8 +75,40 @@ dependencies:
|
|
76
75
|
- - ~>
|
77
76
|
- !ruby/object:Gem::Version
|
78
77
|
version: 1.8.3
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: magic_encoding
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.0.2
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.0.2
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: whitespace
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 2.0.4
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 2.0.4
|
79
110
|
description:
|
80
|
-
email:
|
111
|
+
email: tboerger@tbpro.de
|
81
112
|
executables: []
|
82
113
|
extensions: []
|
83
114
|
extra_rdoc_files:
|
@@ -99,7 +130,7 @@ files:
|
|
99
130
|
- lib/mongoid/userstamp/version.rb
|
100
131
|
- lib/mongoid_userstamp.rb
|
101
132
|
- mongoid_userstamp.gemspec
|
102
|
-
homepage: https://github.com/
|
133
|
+
homepage: https://github.com/tbpro/mongoid_userstamp
|
103
134
|
licenses:
|
104
135
|
- MIT
|
105
136
|
post_install_message:
|
@@ -114,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
145
|
version: '0'
|
115
146
|
segments:
|
116
147
|
- 0
|
117
|
-
hash:
|
148
|
+
hash: 3314337246327258657
|
118
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
150
|
none: false
|
120
151
|
requirements:
|
@@ -123,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
154
|
version: '0'
|
124
155
|
requirements: []
|
125
156
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.8.
|
157
|
+
rubygems_version: 1.8.24
|
127
158
|
signing_key:
|
128
159
|
specification_version: 3
|
129
160
|
summary: Userstamp for created and updated columns within mongoid
|