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.2
1
+ 0.1.3
@@ -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.app.controllers = base + 'app/controllers'
26
- paths.app.views = base + 'app/views'
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)
@@ -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.2"
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-07-18}
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",
@@ -2,6 +2,5 @@ class ApplicationController < ActionController::Base
2
2
  protect_from_forgery
3
3
 
4
4
  def index
5
- render :text => "Hello."
6
5
  end
7
6
  end
@@ -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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
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-07-18 00:00:00 -07:00
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
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
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
- type: :runtime
35
- version_requirements: *id001
34
+ prerelease: false
35
+ requirement: *id001
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: paper_trail
38
- prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
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
- type: :runtime
50
- version_requirements: *id002
49
+ prerelease: false
50
+ requirement: *id002
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: will_paginate
53
- prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
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
- type: :runtime
67
- version_requirements: *id003
66
+ prerelease: false
67
+ requirement: *id003
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: capybara
70
- prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
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
- type: :development
83
- version_requirements: *id004
82
+ prerelease: false
83
+ requirement: *id004
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: factory_girl_rails
86
- prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
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
- type: :development
100
- version_requirements: *id005
99
+ prerelease: false
100
+ requirement: *id005
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: jeweler
103
- prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
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
- type: :development
116
- version_requirements: *id006
115
+ prerelease: false
116
+ requirement: *id006
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: rdoc
119
- prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
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
- type: :development
130
- version_requirements: *id007
129
+ prerelease: false
130
+ requirement: *id007
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: rspec-rails
133
- prerelease: false
134
- requirement: &id008 !ruby/object:Gem::Requirement
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
- type: :development
146
- version_requirements: *id008
145
+ prerelease: false
146
+ requirement: *id008
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: ruby-debug
149
- prerelease: false
150
- requirement: &id009 !ruby/object:Gem::Requirement
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
- type: :development
160
- version_requirements: *id009
159
+ prerelease: false
160
+ requirement: *id009
161
161
  - !ruby/object:Gem::Dependency
162
162
  name: spork
163
- prerelease: false
164
- requirement: &id010 !ruby/object:Gem::Requirement
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
- type: :development
177
- version_requirements: *id010
176
+ prerelease: false
177
+ requirement: *id010
178
178
  - !ruby/object:Gem::Dependency
179
179
  name: sqlite3-ruby
180
- prerelease: false
181
- requirement: &id011 !ruby/object:Gem::Requirement
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
- type: :development
191
- version_requirements: *id011
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