paper_trail_manager 0.1.3 → 0.1.4
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.4
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<tr class='change_row <%= "#{version.event}, #{version.item_type.downcase}" %>'>
|
1
|
+
<tr class='change_row <%= "change_event_#{version.event} #{version.event} #{version.event}, #{version.item_type.downcase}" %>'>
|
2
2
|
<td class='change_time'>
|
3
3
|
<span class='change_id'>Change #<%= version.id %></span>
|
4
4
|
<div class='date'> <%= version.created_at.strftime('%Y-%m-%d') %> </div>
|
data/paper_trail_manager.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.1.
|
7
|
+
s.name = "paper_trail_manager"
|
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
11
|
s.authors = ["Igal Koshevoy"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2011-10-14"
|
13
|
+
s.description = "A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications."
|
14
|
+
s.email = "igal@pragmaticraft.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.md"
|
@@ -82,6 +82,7 @@ Gem::Specification.new do |s|
|
|
82
82
|
"spec/dummy/public/javascripts/effects.js",
|
83
83
|
"spec/dummy/public/javascripts/prototype.js",
|
84
84
|
"spec/dummy/public/javascripts/rails.js",
|
85
|
+
"spec/dummy/public/stylesheets/changes.css",
|
85
86
|
"spec/dummy/script/rails",
|
86
87
|
"spec/dummy/spec/controllers/entities_controller_spec.rb",
|
87
88
|
"spec/dummy/spec/controllers/platforms_controller_spec.rb",
|
@@ -107,10 +108,10 @@ Gem::Specification.new do |s|
|
|
107
108
|
"spec/spec_helper.rb",
|
108
109
|
"spec/support/factories.rb"
|
109
110
|
]
|
110
|
-
s.homepage =
|
111
|
+
s.homepage = "http://github.com/igal/paper_trail_manager"
|
111
112
|
s.require_paths = ["lib"]
|
112
|
-
s.rubygems_version =
|
113
|
-
s.summary =
|
113
|
+
s.rubygems_version = "1.8.11"
|
114
|
+
s.summary = "A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications."
|
114
115
|
s.test_files = [
|
115
116
|
"spec/controllers/paper_trail_manager/changes_controller_spec.rb",
|
116
117
|
"spec/dummy/app/controllers/application_controller.rb",
|
@@ -0,0 +1,47 @@
|
|
1
|
+
.changes_feed a {
|
2
|
+
margin-bottom: 2em;
|
3
|
+
}
|
4
|
+
|
5
|
+
.changes_table {}
|
6
|
+
.changes_table, .changes_table table {
|
7
|
+
border-collapse: collapse; }
|
8
|
+
.changes_table .changes_header {
|
9
|
+
background-color: #BECDD3; }
|
10
|
+
.changes_table .change_row {}
|
11
|
+
.changes_table .change_row td {
|
12
|
+
margin-bottom: 2em;
|
13
|
+
border-bottom: 2px solid #CCC;
|
14
|
+
text-align: left;
|
15
|
+
vertical-align: text-top; }
|
16
|
+
.changes_table .change_row .change_time {
|
17
|
+
width: 10%; }
|
18
|
+
.changes_table .change_row .change_detail_key {
|
19
|
+
width: 15%;
|
20
|
+
padding: .25em; }
|
21
|
+
.changes_table .change_row .change_detail_value {
|
22
|
+
width: 40%;
|
23
|
+
padding: .25em; }
|
24
|
+
.changes_table .change_row .change_detail_separator {
|
25
|
+
width: 5%; }
|
26
|
+
.changes_table .change_row .odd {
|
27
|
+
background-color: #ddd; }
|
28
|
+
.changes_table .change_row .even {
|
29
|
+
background-color: #eee; }
|
30
|
+
.changes_table .change_row .change_details .event,
|
31
|
+
.changes_table .change_row .change_details .rollback {
|
32
|
+
display: inline-block;
|
33
|
+
padding: 0 4px;
|
34
|
+
color: #fff;
|
35
|
+
font-weight: bold; }
|
36
|
+
.changes_table .change_row .change_details .event {
|
37
|
+
text-transform: uppercase; }
|
38
|
+
.changes_table .change_row .change_details .rollback {
|
39
|
+
float: right;
|
40
|
+
background: #999;
|
41
|
+
}
|
42
|
+
.changes_table .change_row.create .event {
|
43
|
+
background: #5AA351; }
|
44
|
+
.changes_table .change_row.destroy .event {
|
45
|
+
background: #A35164; }
|
46
|
+
.changes_table .change_row.update .event {
|
47
|
+
background: #5174A3; }
|
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: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Igal Koshevoy
|
@@ -15,12 +15,9 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-10-14 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
name: rails
|
23
|
-
type: :runtime
|
24
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
22
|
none: false
|
26
23
|
requirements:
|
@@ -31,11 +28,11 @@ dependencies:
|
|
31
28
|
- 3
|
32
29
|
- 0
|
33
30
|
version: "3.0"
|
31
|
+
name: rails
|
34
32
|
prerelease: false
|
33
|
+
type: :runtime
|
35
34
|
requirement: *id001
|
36
35
|
- !ruby/object:Gem::Dependency
|
37
|
-
name: paper_trail
|
38
|
-
type: :runtime
|
39
36
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
37
|
none: false
|
41
38
|
requirements:
|
@@ -46,11 +43,11 @@ dependencies:
|
|
46
43
|
- 2
|
47
44
|
- 0
|
48
45
|
version: "2.0"
|
46
|
+
name: paper_trail
|
49
47
|
prerelease: false
|
48
|
+
type: :runtime
|
50
49
|
requirement: *id002
|
51
50
|
- !ruby/object:Gem::Dependency
|
52
|
-
name: will_paginate
|
53
|
-
type: :runtime
|
54
51
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
52
|
none: false
|
56
53
|
requirements:
|
@@ -63,11 +60,11 @@ dependencies:
|
|
63
60
|
- pre
|
64
61
|
- 2
|
65
62
|
version: 3.0.pre2
|
63
|
+
name: will_paginate
|
66
64
|
prerelease: false
|
65
|
+
type: :runtime
|
67
66
|
requirement: *id003
|
68
67
|
- !ruby/object:Gem::Dependency
|
69
|
-
name: capybara
|
70
|
-
type: :development
|
71
68
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
69
|
none: false
|
73
70
|
requirements:
|
@@ -79,11 +76,11 @@ dependencies:
|
|
79
76
|
- 4
|
80
77
|
- 0
|
81
78
|
version: 0.4.0
|
79
|
+
name: capybara
|
82
80
|
prerelease: false
|
81
|
+
type: :development
|
83
82
|
requirement: *id004
|
84
83
|
- !ruby/object:Gem::Dependency
|
85
|
-
name: factory_girl_rails
|
86
|
-
type: :development
|
87
84
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
88
85
|
none: false
|
89
86
|
requirements:
|
@@ -96,11 +93,11 @@ dependencies:
|
|
96
93
|
- beta
|
97
94
|
- 1
|
98
95
|
version: 1.1.beta1
|
96
|
+
name: factory_girl_rails
|
99
97
|
prerelease: false
|
98
|
+
type: :development
|
100
99
|
requirement: *id005
|
101
100
|
- !ruby/object:Gem::Dependency
|
102
|
-
name: jeweler
|
103
|
-
type: :development
|
104
101
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
105
102
|
none: false
|
106
103
|
requirements:
|
@@ -112,11 +109,11 @@ dependencies:
|
|
112
109
|
- 5
|
113
110
|
- 2
|
114
111
|
version: 1.5.2
|
112
|
+
name: jeweler
|
115
113
|
prerelease: false
|
114
|
+
type: :development
|
116
115
|
requirement: *id006
|
117
116
|
- !ruby/object:Gem::Dependency
|
118
|
-
name: rdoc
|
119
|
-
type: :development
|
120
117
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
121
118
|
none: false
|
122
119
|
requirements:
|
@@ -126,11 +123,11 @@ dependencies:
|
|
126
123
|
segments:
|
127
124
|
- 0
|
128
125
|
version: "0"
|
126
|
+
name: rdoc
|
129
127
|
prerelease: false
|
128
|
+
type: :development
|
130
129
|
requirement: *id007
|
131
130
|
- !ruby/object:Gem::Dependency
|
132
|
-
name: rspec-rails
|
133
|
-
type: :development
|
134
131
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
135
132
|
none: false
|
136
133
|
requirements:
|
@@ -142,11 +139,11 @@ dependencies:
|
|
142
139
|
- 5
|
143
140
|
- 0
|
144
141
|
version: 2.5.0
|
142
|
+
name: rspec-rails
|
145
143
|
prerelease: false
|
144
|
+
type: :development
|
146
145
|
requirement: *id008
|
147
146
|
- !ruby/object:Gem::Dependency
|
148
|
-
name: ruby-debug
|
149
|
-
type: :development
|
150
147
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
151
148
|
none: false
|
152
149
|
requirements:
|
@@ -156,11 +153,11 @@ dependencies:
|
|
156
153
|
segments:
|
157
154
|
- 0
|
158
155
|
version: "0"
|
156
|
+
name: ruby-debug
|
159
157
|
prerelease: false
|
158
|
+
type: :development
|
160
159
|
requirement: *id009
|
161
160
|
- !ruby/object:Gem::Dependency
|
162
|
-
name: spork
|
163
|
-
type: :development
|
164
161
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
165
162
|
none: false
|
166
163
|
requirements:
|
@@ -173,11 +170,11 @@ dependencies:
|
|
173
170
|
- 0
|
174
171
|
- rc
|
175
172
|
version: 0.9.0.rc
|
173
|
+
name: spork
|
176
174
|
prerelease: false
|
175
|
+
type: :development
|
177
176
|
requirement: *id010
|
178
177
|
- !ruby/object:Gem::Dependency
|
179
|
-
name: sqlite3-ruby
|
180
|
-
type: :development
|
181
178
|
version_requirements: &id011 !ruby/object:Gem::Requirement
|
182
179
|
none: false
|
183
180
|
requirements:
|
@@ -187,7 +184,9 @@ dependencies:
|
|
187
184
|
segments:
|
188
185
|
- 0
|
189
186
|
version: "0"
|
187
|
+
name: sqlite3-ruby
|
190
188
|
prerelease: false
|
189
|
+
type: :development
|
191
190
|
requirement: *id011
|
192
191
|
description: A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications.
|
193
192
|
email: igal@pragmaticraft.com
|
@@ -264,6 +263,7 @@ files:
|
|
264
263
|
- spec/dummy/public/javascripts/effects.js
|
265
264
|
- spec/dummy/public/javascripts/prototype.js
|
266
265
|
- spec/dummy/public/javascripts/rails.js
|
266
|
+
- spec/dummy/public/stylesheets/changes.css
|
267
267
|
- spec/dummy/script/rails
|
268
268
|
- spec/dummy/spec/controllers/entities_controller_spec.rb
|
269
269
|
- spec/dummy/spec/controllers/platforms_controller_spec.rb
|
@@ -288,7 +288,6 @@ files:
|
|
288
288
|
- spec/paper_trail_manager_spec.rb
|
289
289
|
- spec/spec_helper.rb
|
290
290
|
- spec/support/factories.rb
|
291
|
-
has_rdoc: true
|
292
291
|
homepage: http://github.com/igal/paper_trail_manager
|
293
292
|
licenses: []
|
294
293
|
|
@@ -318,7 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
317
|
requirements: []
|
319
318
|
|
320
319
|
rubyforge_project:
|
321
|
-
rubygems_version: 1.
|
320
|
+
rubygems_version: 1.8.11
|
322
321
|
signing_key:
|
323
322
|
specification_version: 3
|
324
323
|
summary: A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications.
|