viva-resource_controller 0.6.5.2 → 0.6.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/urligence.rb +0 -2
- metadata +4 -49
data/lib/urligence.rb
CHANGED
@@ -26,9 +26,7 @@ module Urligence
|
|
26
26
|
params = {}
|
27
27
|
params.merge!(objects.pop) if objects.last.is_a?(Hash)
|
28
28
|
|
29
|
-
logger.debug("##### BEFORE:#{objects.inspect}")
|
30
29
|
objects.reject! { |object| object.nil? }
|
31
|
-
logger.debug("##### AFTER:#{objects.inspect}")
|
32
30
|
|
33
31
|
url_fragments = objects.collect do |obj|
|
34
32
|
if obj.is_a? Symbol
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viva-resource_controller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.5.
|
4
|
+
version: 0.6.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Golick
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-01 00:00:00
|
12
|
+
date: 2009-10-01 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -25,9 +25,7 @@ extra_rdoc_files:
|
|
25
25
|
files:
|
26
26
|
- README.rdoc
|
27
27
|
- VERSION.yml
|
28
|
-
- generators/scaffold_resource
|
29
28
|
- generators/scaffold_resource/scaffold_resource_generator.rb
|
30
|
-
- generators/scaffold_resource/templates
|
31
29
|
- generators/scaffold_resource/templates/controller.rb
|
32
30
|
- generators/scaffold_resource/templates/fixtures.yml
|
33
31
|
- generators/scaffold_resource/templates/functional_test.rb
|
@@ -35,12 +33,10 @@ files:
|
|
35
33
|
- generators/scaffold_resource/templates/migration.rb
|
36
34
|
- generators/scaffold_resource/templates/model.rb
|
37
35
|
- generators/scaffold_resource/templates/old_migration.rb
|
38
|
-
- generators/scaffold_resource/templates/rspec
|
39
36
|
- generators/scaffold_resource/templates/rspec/functional_spec.rb
|
40
37
|
- generators/scaffold_resource/templates/rspec/helper_spec.rb
|
41
38
|
- generators/scaffold_resource/templates/rspec/routing_spec.rb
|
42
39
|
- generators/scaffold_resource/templates/rspec/unit_spec.rb
|
43
|
-
- generators/scaffold_resource/templates/rspec/views
|
44
40
|
- generators/scaffold_resource/templates/rspec/views/edit_spec.rb
|
45
41
|
- generators/scaffold_resource/templates/rspec/views/index_spec.rb
|
46
42
|
- generators/scaffold_resource/templates/rspec/views/new_spec.rb
|
@@ -58,7 +54,6 @@ files:
|
|
58
54
|
- generators/scaffold_resource/templates/view_show.erb
|
59
55
|
- generators/scaffold_resource/templates/view_show.haml
|
60
56
|
- generators/scaffold_resource/USAGE
|
61
|
-
- lib/resource_controller
|
62
57
|
- lib/resource_controller/accessors.rb
|
63
58
|
- lib/resource_controller/action_options.rb
|
64
59
|
- lib/resource_controller/actions.rb
|
@@ -66,7 +61,6 @@ files:
|
|
66
61
|
- lib/resource_controller/class_methods.rb
|
67
62
|
- lib/resource_controller/controller.rb
|
68
63
|
- lib/resource_controller/failable_action_options.rb
|
69
|
-
- lib/resource_controller/helpers
|
70
64
|
- lib/resource_controller/helpers/current_objects.rb
|
71
65
|
- lib/resource_controller/helpers/internal.rb
|
72
66
|
- lib/resource_controller/helpers/nested.rb
|
@@ -77,11 +71,8 @@ files:
|
|
77
71
|
- lib/resource_controller/singleton.rb
|
78
72
|
- lib/resource_controller.rb
|
79
73
|
- lib/urligence.rb
|
80
|
-
- test/app
|
81
|
-
- test/app/controllers
|
82
74
|
- test/app/controllers/accounts_controller.rb
|
83
75
|
- test/app/controllers/application_controller.rb
|
84
|
-
- test/app/controllers/cms
|
85
76
|
- test/app/controllers/cms/options_controller.rb
|
86
77
|
- test/app/controllers/cms/personnel_controller.rb
|
87
78
|
- test/app/controllers/cms/photos_controller.rb
|
@@ -96,10 +87,8 @@ files:
|
|
96
87
|
- test/app/controllers/somethings_controller.rb
|
97
88
|
- test/app/controllers/tags_controller.rb
|
98
89
|
- test/app/controllers/users_controller.rb
|
99
|
-
- test/app/helpers
|
100
90
|
- test/app/helpers/accounts_helper.rb
|
101
91
|
- test/app/helpers/application_helper.rb
|
102
|
-
- test/app/helpers/cms
|
103
92
|
- test/app/helpers/cms/products_helper.rb
|
104
93
|
- test/app/helpers/comments_helper.rb
|
105
94
|
- test/app/helpers/images_helper.rb
|
@@ -111,7 +100,6 @@ files:
|
|
111
100
|
- test/app/helpers/somethings_helper.rb
|
112
101
|
- test/app/helpers/tags_helper.rb
|
113
102
|
- test/app/helpers/users_helper.rb
|
114
|
-
- test/app/models
|
115
103
|
- test/app/models/account.rb
|
116
104
|
- test/app/models/comment.rb
|
117
105
|
- test/app/models/image.rb
|
@@ -124,38 +112,29 @@ files:
|
|
124
112
|
- test/app/models/something.rb
|
125
113
|
- test/app/models/tag.rb
|
126
114
|
- test/app/models/user.rb
|
127
|
-
- test/app/views
|
128
|
-
- test/app/views/accounts
|
129
115
|
- test/app/views/accounts/_form.html.erb
|
130
116
|
- test/app/views/accounts/edit.html.erb
|
131
117
|
- test/app/views/accounts/new.html.erb
|
132
118
|
- test/app/views/accounts/show.html.erb
|
133
|
-
- test/app/views/cms
|
134
|
-
- test/app/views/cms/options
|
135
119
|
- test/app/views/cms/options/edit.rhtml
|
136
120
|
- test/app/views/cms/options/index.rhtml
|
137
121
|
- test/app/views/cms/options/new.rhtml
|
138
122
|
- test/app/views/cms/options/show.rhtml
|
139
|
-
- test/app/views/cms/photos
|
140
123
|
- test/app/views/cms/photos/edit.rhtml
|
141
124
|
- test/app/views/cms/photos/index.rhtml
|
142
125
|
- test/app/views/cms/photos/new.rhtml
|
143
126
|
- test/app/views/cms/photos/show.rhtml
|
144
|
-
- test/app/views/cms/products
|
145
127
|
- test/app/views/cms/products/edit.rhtml
|
146
128
|
- test/app/views/cms/products/index.rhtml
|
147
129
|
- test/app/views/cms/products/new.rhtml
|
148
130
|
- test/app/views/cms/products/show.rhtml
|
149
|
-
- test/app/views/comments
|
150
131
|
- test/app/views/comments/edit.rhtml
|
151
132
|
- test/app/views/comments/index.rhtml
|
152
133
|
- test/app/views/comments/new.rhtml
|
153
134
|
- test/app/views/comments/show.rhtml
|
154
|
-
- test/app/views/images
|
155
135
|
- test/app/views/images/_form.html.erb
|
156
136
|
- test/app/views/images/edit.html.erb
|
157
137
|
- test/app/views/images/new.html.erb
|
158
|
-
- test/app/views/layouts
|
159
138
|
- test/app/views/layouts/application.rhtml
|
160
139
|
- test/app/views/layouts/comments.rhtml
|
161
140
|
- test/app/views/layouts/options.rhtml
|
@@ -164,60 +143,47 @@ files:
|
|
164
143
|
- test/app/views/layouts/projects.rhtml
|
165
144
|
- test/app/views/layouts/somethings.rhtml
|
166
145
|
- test/app/views/layouts/tags.rhtml
|
167
|
-
- test/app/views/options
|
168
146
|
- test/app/views/options/_form.html.erb
|
169
147
|
- test/app/views/options/edit.html.erb
|
170
148
|
- test/app/views/options/index.html.erb
|
171
149
|
- test/app/views/options/new.html.erb
|
172
150
|
- test/app/views/options/show.html.erb
|
173
|
-
- test/app/views/people
|
174
151
|
- test/app/views/people/edit.rhtml
|
175
152
|
- test/app/views/people/index.rhtml
|
176
153
|
- test/app/views/people/new.rhtml
|
177
154
|
- test/app/views/people/show.rhtml
|
178
|
-
- test/app/views/photos
|
179
155
|
- test/app/views/photos/edit.rhtml
|
180
156
|
- test/app/views/photos/index.rhtml
|
181
157
|
- test/app/views/photos/new.rhtml
|
182
158
|
- test/app/views/photos/show.rhtml
|
183
|
-
- test/app/views/posts
|
184
159
|
- test/app/views/posts/edit.rhtml
|
185
160
|
- test/app/views/posts/index.rhtml
|
186
161
|
- test/app/views/posts/new.rhtml
|
187
162
|
- test/app/views/posts/show.rhtml
|
188
|
-
- test/app/views/projects
|
189
163
|
- test/app/views/projects/edit.rhtml
|
190
164
|
- test/app/views/projects/index.rhtml
|
191
165
|
- test/app/views/projects/new.rhtml
|
192
166
|
- test/app/views/projects/show.rhtml
|
193
|
-
- test/app/views/somethings
|
194
167
|
- test/app/views/somethings/edit.rhtml
|
195
168
|
- test/app/views/somethings/index.rhtml
|
196
169
|
- test/app/views/somethings/new.rhtml
|
197
170
|
- test/app/views/somethings/show.rhtml
|
198
|
-
- test/app/views/tags
|
199
171
|
- test/app/views/tags/edit.rhtml
|
200
172
|
- test/app/views/tags/index.rhtml
|
201
173
|
- test/app/views/tags/index.rjs
|
202
174
|
- test/app/views/tags/new.rhtml
|
203
175
|
- test/app/views/tags/show.rhtml
|
204
|
-
- test/app/views/users
|
205
176
|
- test/app/views/users/edit.rhtml
|
206
177
|
- test/app/views/users/index.rhtml
|
207
178
|
- test/app/views/users/new.rhtml
|
208
179
|
- test/app/views/users/show.rhtml
|
209
|
-
- test/config
|
210
180
|
- test/config/boot.rb
|
211
181
|
- test/config/database.yml
|
212
182
|
- test/config/environment.rb
|
213
|
-
- test/config/environments
|
214
183
|
- test/config/environments/development.rb
|
215
184
|
- test/config/environments/test.rb
|
216
|
-
- test/config/initializers
|
217
185
|
- test/config/initializers/inflections.rb
|
218
186
|
- test/config/routes.rb
|
219
|
-
- test/db
|
220
|
-
- test/db/migrate
|
221
187
|
- test/db/migrate/001_create_posts.rb
|
222
188
|
- test/db/migrate/002_create_products.rb
|
223
189
|
- test/db/migrate/003_create_comments.rb
|
@@ -233,15 +199,11 @@ files:
|
|
233
199
|
- test/db/migrate/013_create_personnel.rb
|
234
200
|
- test/db/migrate/014_add_personnel_id_to_photos.rb
|
235
201
|
- test/db/schema.rb
|
236
|
-
- test/log
|
237
202
|
- test/Rakefile
|
238
|
-
- test/script
|
239
203
|
- test/script/console
|
240
204
|
- test/script/destroy
|
241
205
|
- test/script/generate
|
242
206
|
- test/script/server
|
243
|
-
- test/test
|
244
|
-
- test/test/fixtures
|
245
207
|
- test/test/fixtures/accounts.yml
|
246
208
|
- test/test/fixtures/comments.yml
|
247
209
|
- test/test/fixtures/images.yml
|
@@ -255,8 +217,6 @@ files:
|
|
255
217
|
- test/test/fixtures/somethings.yml
|
256
218
|
- test/test/fixtures/tags.yml
|
257
219
|
- test/test/fixtures/users.yml
|
258
|
-
- test/test/functional
|
259
|
-
- test/test/functional/cms
|
260
220
|
- test/test/functional/cms/options_controller_test.rb
|
261
221
|
- test/test/functional/cms/photos_controller_test.rb
|
262
222
|
- test/test/functional/cms/products_controller_test.rb
|
@@ -270,14 +230,12 @@ files:
|
|
270
230
|
- test/test/functional/tags_controller_test.rb
|
271
231
|
- test/test/functional/users_controller_test.rb
|
272
232
|
- test/test/test_helper.rb
|
273
|
-
- test/test/unit
|
274
233
|
- test/test/unit/accessors_test.rb
|
275
234
|
- test/test/unit/account_test.rb
|
276
235
|
- test/test/unit/action_options_test.rb
|
277
236
|
- test/test/unit/base_test.rb
|
278
237
|
- test/test/unit/comment_test.rb
|
279
238
|
- test/test/unit/failable_action_options_test.rb
|
280
|
-
- test/test/unit/helpers
|
281
239
|
- test/test/unit/helpers/current_objects_test.rb
|
282
240
|
- test/test/unit/helpers/internal_test.rb
|
283
241
|
- test/test/unit/helpers/nested_test.rb
|
@@ -295,15 +253,12 @@ files:
|
|
295
253
|
- test/test/unit/something_test.rb
|
296
254
|
- test/test/unit/tag_test.rb
|
297
255
|
- test/test/unit/urligence_test.rb
|
298
|
-
- test/tmp
|
299
|
-
- test/vendor
|
300
|
-
- test/vendor/gems
|
301
|
-
- test/vendor/gems/resource_controller-10.0.0
|
302
256
|
- rails/init.rb
|
303
257
|
- LICENSE
|
304
258
|
has_rdoc: true
|
305
259
|
homepage: http://jamesgolick.com/resource_controller
|
306
|
-
licenses:
|
260
|
+
licenses: []
|
261
|
+
|
307
262
|
post_install_message:
|
308
263
|
rdoc_options:
|
309
264
|
- --inline-source
|