paper_trail_manager 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/paper_trail_manager.rb
CHANGED
@@ -22,8 +22,8 @@ class PaperTrailManager < Rails::Engine
|
|
22
22
|
cattr_accessor :whodunnit_class, :whodunnit_name_method
|
23
23
|
|
24
24
|
(Pathname(__FILE__).dirname + '..').tap do |base|
|
25
|
-
paths
|
26
|
-
paths
|
25
|
+
paths["app/controller"] = base + 'app/controllers'
|
26
|
+
paths["app/view"] = base + 'app/views'
|
27
27
|
end
|
28
28
|
|
29
29
|
def self._allow_set(action, block)
|
data/paper_trail_manager.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{paper_trail_manager}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Igal Koshevoy"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-08-02}
|
13
13
|
s.description = %q{A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications.}
|
14
14
|
s.email = %q{igal@pragmaticraft.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -41,6 +41,7 @@ Gem::Specification.new do |s|
|
|
41
41
|
"spec/dummy/app/helpers/platforms_helper.rb",
|
42
42
|
"spec/dummy/app/models/entity.rb",
|
43
43
|
"spec/dummy/app/models/platform.rb",
|
44
|
+
"spec/dummy/app/views/application/index.html.erb",
|
44
45
|
"spec/dummy/app/views/entities/_form.html.erb",
|
45
46
|
"spec/dummy/app/views/entities/edit.html.erb",
|
46
47
|
"spec/dummy/app/views/entities/index.html.erb",
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<h1>Paper Trail Manager demo app</h1>
|
2
|
+
|
3
|
+
<ul>
|
4
|
+
<li><%= link_to "Changes", changes_path %>: list and manage the changes made within this application, which is the point of Paper Trail Manager.</li>
|
5
|
+
<li><%= link_to "Entities", entities_path %>: list of records you can manipulate to create changes.</li>
|
6
|
+
</ul>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paper_trail_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Igal Koshevoy
|
@@ -15,13 +15,13 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-02 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: rails
|
23
|
-
|
24
|
-
|
23
|
+
type: :runtime
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
@@ -31,12 +31,12 @@ dependencies:
|
|
31
31
|
- 3
|
32
32
|
- 0
|
33
33
|
version: "3.0"
|
34
|
-
|
35
|
-
|
34
|
+
prerelease: false
|
35
|
+
requirement: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: paper_trail
|
38
|
-
|
39
|
-
|
38
|
+
type: :runtime
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -46,12 +46,12 @@ dependencies:
|
|
46
46
|
- 2
|
47
47
|
- 0
|
48
48
|
version: "2.0"
|
49
|
-
|
50
|
-
|
49
|
+
prerelease: false
|
50
|
+
requirement: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: will_paginate
|
53
|
-
|
54
|
-
|
53
|
+
type: :runtime
|
54
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
55
|
none: false
|
56
56
|
requirements:
|
57
57
|
- - ~>
|
@@ -63,12 +63,12 @@ dependencies:
|
|
63
63
|
- pre
|
64
64
|
- 2
|
65
65
|
version: 3.0.pre2
|
66
|
-
|
67
|
-
|
66
|
+
prerelease: false
|
67
|
+
requirement: *id003
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: capybara
|
70
|
-
|
71
|
-
|
70
|
+
type: :development
|
71
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
@@ -79,12 +79,12 @@ dependencies:
|
|
79
79
|
- 4
|
80
80
|
- 0
|
81
81
|
version: 0.4.0
|
82
|
-
|
83
|
-
|
82
|
+
prerelease: false
|
83
|
+
requirement: *id004
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: factory_girl_rails
|
86
|
-
|
87
|
-
|
86
|
+
type: :development
|
87
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
88
88
|
none: false
|
89
89
|
requirements:
|
90
90
|
- - ~>
|
@@ -96,12 +96,12 @@ dependencies:
|
|
96
96
|
- beta
|
97
97
|
- 1
|
98
98
|
version: 1.1.beta1
|
99
|
-
|
100
|
-
|
99
|
+
prerelease: false
|
100
|
+
requirement: *id005
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: jeweler
|
103
|
-
|
104
|
-
|
103
|
+
type: :development
|
104
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -112,12 +112,12 @@ dependencies:
|
|
112
112
|
- 5
|
113
113
|
- 2
|
114
114
|
version: 1.5.2
|
115
|
-
|
116
|
-
|
115
|
+
prerelease: false
|
116
|
+
requirement: *id006
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: rdoc
|
119
|
-
|
120
|
-
|
119
|
+
type: :development
|
120
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
121
121
|
none: false
|
122
122
|
requirements:
|
123
123
|
- - ">="
|
@@ -126,12 +126,12 @@ dependencies:
|
|
126
126
|
segments:
|
127
127
|
- 0
|
128
128
|
version: "0"
|
129
|
-
|
130
|
-
|
129
|
+
prerelease: false
|
130
|
+
requirement: *id007
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: rspec-rails
|
133
|
-
|
134
|
-
|
133
|
+
type: :development
|
134
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
135
135
|
none: false
|
136
136
|
requirements:
|
137
137
|
- - ~>
|
@@ -142,12 +142,12 @@ dependencies:
|
|
142
142
|
- 5
|
143
143
|
- 0
|
144
144
|
version: 2.5.0
|
145
|
-
|
146
|
-
|
145
|
+
prerelease: false
|
146
|
+
requirement: *id008
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
148
|
name: ruby-debug
|
149
|
-
|
150
|
-
|
149
|
+
type: :development
|
150
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
151
151
|
none: false
|
152
152
|
requirements:
|
153
153
|
- - ">="
|
@@ -156,12 +156,12 @@ dependencies:
|
|
156
156
|
segments:
|
157
157
|
- 0
|
158
158
|
version: "0"
|
159
|
-
|
160
|
-
|
159
|
+
prerelease: false
|
160
|
+
requirement: *id009
|
161
161
|
- !ruby/object:Gem::Dependency
|
162
162
|
name: spork
|
163
|
-
|
164
|
-
|
163
|
+
type: :development
|
164
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
165
165
|
none: false
|
166
166
|
requirements:
|
167
167
|
- - ~>
|
@@ -173,12 +173,12 @@ dependencies:
|
|
173
173
|
- 0
|
174
174
|
- rc
|
175
175
|
version: 0.9.0.rc
|
176
|
-
|
177
|
-
|
176
|
+
prerelease: false
|
177
|
+
requirement: *id010
|
178
178
|
- !ruby/object:Gem::Dependency
|
179
179
|
name: sqlite3-ruby
|
180
|
-
|
181
|
-
|
180
|
+
type: :development
|
181
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
184
184
|
- - ">="
|
@@ -187,8 +187,8 @@ dependencies:
|
|
187
187
|
segments:
|
188
188
|
- 0
|
189
189
|
version: "0"
|
190
|
-
|
191
|
-
|
190
|
+
prerelease: false
|
191
|
+
requirement: *id011
|
192
192
|
description: A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications.
|
193
193
|
email: igal@pragmaticraft.com
|
194
194
|
executables: []
|
@@ -223,6 +223,7 @@ files:
|
|
223
223
|
- spec/dummy/app/helpers/platforms_helper.rb
|
224
224
|
- spec/dummy/app/models/entity.rb
|
225
225
|
- spec/dummy/app/models/platform.rb
|
226
|
+
- spec/dummy/app/views/application/index.html.erb
|
226
227
|
- spec/dummy/app/views/entities/_form.html.erb
|
227
228
|
- spec/dummy/app/views/entities/edit.html.erb
|
228
229
|
- spec/dummy/app/views/entities/index.html.erb
|