grosser-userstamp 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +26 -0
- data/LICENSE +20 -0
- data/README +179 -0
- data/Rakefile +36 -0
- data/init.rb +1 -0
- data/lib/ddb/userstamp.rb +44 -0
- data/lib/ddb/userstamp/migration_helper.rb +19 -0
- data/lib/ddb/userstamp/stampable.rb +151 -0
- data/lib/ddb/userstamp/stamper.rb +43 -0
- data/lib/userstamp.rb +8 -0
- data/rdoc/classes/Ddb/Controller.html +111 -0
- data/rdoc/classes/Ddb/Controller/Userstamp.html +125 -0
- data/rdoc/classes/Ddb/Controller/Userstamp/InstanceMethods.html +105 -0
- data/rdoc/classes/Ddb/Userstamp.html +121 -0
- data/rdoc/classes/Ddb/Userstamp/MigrationHelper.html +111 -0
- data/rdoc/classes/Ddb/Userstamp/MigrationHelper/InstanceMethods.html +142 -0
- data/rdoc/classes/Ddb/Userstamp/Stampable.html +128 -0
- data/rdoc/classes/Ddb/Userstamp/Stampable/ClassMethods.html +222 -0
- data/rdoc/classes/Ddb/Userstamp/Stamper.html +112 -0
- data/rdoc/classes/Ddb/Userstamp/Stamper/ClassMethods.html +142 -0
- data/rdoc/classes/Ddb/Userstamp/Stamper/InstanceMethods.html +207 -0
- data/rdoc/files/CHANGELOG.html +137 -0
- data/rdoc/files/LICENSE.html +129 -0
- data/rdoc/files/README.html +341 -0
- data/rdoc/files/lib/ddb/userstamp/migration_helper_rb.html +101 -0
- data/rdoc/files/lib/ddb/userstamp/stampable_rb.html +101 -0
- data/rdoc/files/lib/ddb/userstamp/stamper_rb.html +101 -0
- data/rdoc/files/lib/ddb/userstamp_rb.html +101 -0
- data/rdoc/files/lib/userstamp_rb.html +114 -0
- data/test/compatibility_stamping_test.rb +63 -0
- data/test/controllers/posts_controller.rb +26 -0
- data/test/controllers/users_controller.rb +12 -0
- data/test/controllers/userstamp_controller.rb +9 -0
- data/test/database.yml +4 -0
- data/test/fixtures/comments.yml +16 -0
- data/test/fixtures/people.yml +11 -0
- data/test/fixtures/posts.yml +9 -0
- data/test/fixtures/users.yml +7 -0
- data/test/helpers/functional_test_helper.rb +37 -0
- data/test/helpers/unit_test_helper.rb +29 -0
- data/test/models/comment.rb +4 -0
- data/test/models/person.rb +3 -0
- data/test/models/ping.rb +7 -0
- data/test/models/post.rb +4 -0
- data/test/models/user.rb +3 -0
- data/test/schema.rb +56 -0
- data/test/stamping_test.rb +110 -0
- data/test/userstamp_controller_test.rb +118 -0
- data/userstamp.gemspec +53 -0
- metadata +180 -0
data/userstamp.gemspec
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{userstamp}
|
5
|
+
s.version = "2.0.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["DeLynn Berry"]
|
9
|
+
s.date = %q{2009-01-09}
|
10
|
+
s.description = %q{This Rails plugin extends ActiveRecord::Base to add automatic updating of created_by and updated_by attributes of your models in much the same way that the ActiveRecord::Timestamp module updates created_(at/on) and updated_(at/on) attributes.}
|
11
|
+
s.email = %q{delynn@gmail.com}
|
12
|
+
s.extra_rdoc_files = ["CHANGELOG", "lib/userstamp.rb", "lib/ddb/userstamp.rb", "lib/ddb/userstamp/stampable.rb", "lib/ddb/userstamp/migration_helper.rb", "lib/ddb/userstamp/stamper.rb", "LICENSE", "README"]
|
13
|
+
s.files = ["Manifest", "CHANGELOG", "nbproject/private/rake-d.txt", "lib/userstamp.rb", "lib/ddb/userstamp.rb", "lib/ddb/userstamp/stampable.rb", "lib/ddb/userstamp/migration_helper.rb", "lib/ddb/userstamp/stamper.rb", "LICENSE", "init.rb", "test/schema.rb", "test/helpers/unit_test_helper.rb", "test/helpers/functional_test_helper.rb", "test/models/post.rb", "test/models/user.rb", "test/models/comment.rb", "test/models/person.rb", "test/models/ping.rb", "test/stamping_test.rb", "test/fixtures/users.yml", "test/fixtures/posts.yml", "test/fixtures/comments.yml", "test/fixtures/people.yml", "test/controllers/users_controller.rb", "test/controllers/userstamp_controller.rb", "test/controllers/posts_controller.rb", "test/userstamp_controller_test.rb", "test/database.yml", "test/compatibility_stamping_test.rb", "README", "Rakefile", "userstamp_plugin_test.sqlite3", "rdoc/files/lib/ddb/userstamp/migration_helper_rb.html", "rdoc/files/lib/ddb/userstamp/stamper_rb.html", "rdoc/files/lib/ddb/userstamp/stampable_rb.html", "rdoc/files/lib/ddb/userstamp_rb.html", "rdoc/files/lib/userstamp_rb.html", "rdoc/files/README.html", "rdoc/files/LICENSE.html", "rdoc/files/CHANGELOG.html", "rdoc/classes/Ddb/Controller.html", "rdoc/classes/Ddb/Controller/Userstamp.html", "rdoc/classes/Ddb/Controller/Userstamp/InstanceMethods.html", "rdoc/classes/Ddb/Userstamp.html", "rdoc/classes/Ddb/Userstamp/MigrationHelper.html", "rdoc/classes/Ddb/Userstamp/Stamper/InstanceMethods.html", "rdoc/classes/Ddb/Userstamp/Stamper/ClassMethods.html", "rdoc/classes/Ddb/Userstamp/Stampable.html", "rdoc/classes/Ddb/Userstamp/MigrationHelper/InstanceMethods.html", "rdoc/classes/Ddb/Userstamp/Stamper.html", "rdoc/classes/Ddb/Userstamp/Stampable/ClassMethods.html", "userstamp.gemspec"]
|
14
|
+
s.has_rdoc = true
|
15
|
+
s.homepage = %q{http://github.com/delynn/userstamp}
|
16
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Userstamp", "--main", "README"]
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
s.rubyforge_project = %q{userstamp}
|
19
|
+
s.rubygems_version = %q{1.3.1}
|
20
|
+
s.summary = %q{This Rails plugin extends ActiveRecord::Base to add automatic updating of created_by and updated_by attributes of your models in much the same way that the ActiveRecord::Timestamp module updates created_(at/on) and updated_(at/on) attributes.}
|
21
|
+
s.test_files = ["test/stamping_test.rb", "test/userstamp_controller_test.rb", "test/compatibility_stamping_test.rb"]
|
22
|
+
|
23
|
+
if s.respond_to? :specification_version then
|
24
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
25
|
+
s.specification_version = 2
|
26
|
+
|
27
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
+
s.add_runtime_dependency(%q<actionpack>, [">= 0"])
|
29
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 0"])
|
30
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
31
|
+
s.add_development_dependency(%q<echoe>, [">= 0"])
|
32
|
+
s.add_development_dependency(%q<activerecord>, [">= 0"])
|
33
|
+
s.add_development_dependency(%q<activesupport>, [">= 0"])
|
34
|
+
s.add_development_dependency(%q<actionpack>, [">= 0"])
|
35
|
+
else
|
36
|
+
s.add_dependency(%q<actionpack>, [">= 0"])
|
37
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
38
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
39
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
40
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
41
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
42
|
+
s.add_dependency(%q<actionpack>, [">= 0"])
|
43
|
+
end
|
44
|
+
else
|
45
|
+
s.add_dependency(%q<actionpack>, [">= 0"])
|
46
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
47
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
48
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
49
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
50
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
51
|
+
s.add_dependency(%q<actionpack>, [">= 0"])
|
52
|
+
end
|
53
|
+
end
|
metadata
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: grosser-userstamp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- DeLynn Berry
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-01-09 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: actionpack
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "0"
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: activerecord
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: "0"
|
32
|
+
version:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: activesupport
|
35
|
+
version_requirement:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: "0"
|
41
|
+
version:
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: echoe
|
44
|
+
version_requirement:
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: "0"
|
50
|
+
version:
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: activerecord
|
53
|
+
version_requirement:
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: "0"
|
59
|
+
version:
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: activesupport
|
62
|
+
version_requirement:
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "0"
|
68
|
+
version:
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: actionpack
|
71
|
+
version_requirement:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: "0"
|
77
|
+
version:
|
78
|
+
description: This Rails plugin extends ActiveRecord::Base to add automatic updating of created_by and updated_by attributes of your models in much the same way that the ActiveRecord::Timestamp module updates created_(at/on) and updated_(at/on) attributes.
|
79
|
+
email: delynn@gmail.com
|
80
|
+
executables: []
|
81
|
+
|
82
|
+
extensions: []
|
83
|
+
|
84
|
+
extra_rdoc_files:
|
85
|
+
- CHANGELOG
|
86
|
+
- lib/userstamp.rb
|
87
|
+
- lib/ddb/userstamp.rb
|
88
|
+
- lib/ddb/userstamp/stampable.rb
|
89
|
+
- lib/ddb/userstamp/migration_helper.rb
|
90
|
+
- lib/ddb/userstamp/stamper.rb
|
91
|
+
- LICENSE
|
92
|
+
- README
|
93
|
+
files:
|
94
|
+
- Manifest
|
95
|
+
- CHANGELOG
|
96
|
+
- nbproject/private/rake-d.txt
|
97
|
+
- lib/userstamp.rb
|
98
|
+
- lib/ddb/userstamp.rb
|
99
|
+
- lib/ddb/userstamp/stampable.rb
|
100
|
+
- lib/ddb/userstamp/migration_helper.rb
|
101
|
+
- lib/ddb/userstamp/stamper.rb
|
102
|
+
- LICENSE
|
103
|
+
- init.rb
|
104
|
+
- test/schema.rb
|
105
|
+
- test/helpers/unit_test_helper.rb
|
106
|
+
- test/helpers/functional_test_helper.rb
|
107
|
+
- test/models/post.rb
|
108
|
+
- test/models/user.rb
|
109
|
+
- test/models/comment.rb
|
110
|
+
- test/models/person.rb
|
111
|
+
- test/models/ping.rb
|
112
|
+
- test/stamping_test.rb
|
113
|
+
- test/fixtures/users.yml
|
114
|
+
- test/fixtures/posts.yml
|
115
|
+
- test/fixtures/comments.yml
|
116
|
+
- test/fixtures/people.yml
|
117
|
+
- test/controllers/users_controller.rb
|
118
|
+
- test/controllers/userstamp_controller.rb
|
119
|
+
- test/controllers/posts_controller.rb
|
120
|
+
- test/userstamp_controller_test.rb
|
121
|
+
- test/database.yml
|
122
|
+
- test/compatibility_stamping_test.rb
|
123
|
+
- README
|
124
|
+
- Rakefile
|
125
|
+
- userstamp_plugin_test.sqlite3
|
126
|
+
- rdoc/files/lib/ddb/userstamp/migration_helper_rb.html
|
127
|
+
- rdoc/files/lib/ddb/userstamp/stamper_rb.html
|
128
|
+
- rdoc/files/lib/ddb/userstamp/stampable_rb.html
|
129
|
+
- rdoc/files/lib/ddb/userstamp_rb.html
|
130
|
+
- rdoc/files/lib/userstamp_rb.html
|
131
|
+
- rdoc/files/README.html
|
132
|
+
- rdoc/files/LICENSE.html
|
133
|
+
- rdoc/files/CHANGELOG.html
|
134
|
+
- rdoc/classes/Ddb/Controller.html
|
135
|
+
- rdoc/classes/Ddb/Controller/Userstamp.html
|
136
|
+
- rdoc/classes/Ddb/Controller/Userstamp/InstanceMethods.html
|
137
|
+
- rdoc/classes/Ddb/Userstamp.html
|
138
|
+
- rdoc/classes/Ddb/Userstamp/MigrationHelper.html
|
139
|
+
- rdoc/classes/Ddb/Userstamp/Stamper/InstanceMethods.html
|
140
|
+
- rdoc/classes/Ddb/Userstamp/Stamper/ClassMethods.html
|
141
|
+
- rdoc/classes/Ddb/Userstamp/Stampable.html
|
142
|
+
- rdoc/classes/Ddb/Userstamp/MigrationHelper/InstanceMethods.html
|
143
|
+
- rdoc/classes/Ddb/Userstamp/Stamper.html
|
144
|
+
- rdoc/classes/Ddb/Userstamp/Stampable/ClassMethods.html
|
145
|
+
- userstamp.gemspec
|
146
|
+
has_rdoc: true
|
147
|
+
homepage: http://github.com/delynn/userstamp
|
148
|
+
post_install_message:
|
149
|
+
rdoc_options:
|
150
|
+
- --line-numbers
|
151
|
+
- --inline-source
|
152
|
+
- --title
|
153
|
+
- Userstamp
|
154
|
+
- --main
|
155
|
+
- README
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: "0"
|
163
|
+
version:
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: "1.2"
|
169
|
+
version:
|
170
|
+
requirements: []
|
171
|
+
|
172
|
+
rubyforge_project: userstamp
|
173
|
+
rubygems_version: 1.2.0
|
174
|
+
signing_key:
|
175
|
+
specification_version: 2
|
176
|
+
summary: This Rails plugin extends ActiveRecord::Base to add automatic updating of created_by and updated_by attributes of your models in much the same way that the ActiveRecord::Timestamp module updates created_(at/on) and updated_(at/on) attributes.
|
177
|
+
test_files:
|
178
|
+
- test/stamping_test.rb
|
179
|
+
- test/userstamp_controller_test.rb
|
180
|
+
- test/compatibility_stamping_test.rb
|