simple_resource 0.5.0 → 0.6.0
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/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module SimpleResource
|
|
2
|
-
class
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
end
|
|
6
|
-
|
|
2
|
+
class UserResourceController < SimpleResource::BaseController
|
|
3
|
+
defaults route_prefix: ""
|
|
4
|
+
|
|
7
5
|
protected
|
|
8
|
-
|
|
6
|
+
|
|
9
7
|
def begin_of_association_chain
|
|
10
8
|
if defined?(Devise)
|
|
11
9
|
current_user
|
|
10
|
+
else
|
|
11
|
+
nil
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
14
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_resource
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -237,7 +237,7 @@ files:
|
|
|
237
237
|
- README.md
|
|
238
238
|
- Rakefile
|
|
239
239
|
- app/controllers/simple_resource/base_controller.rb
|
|
240
|
-
- app/controllers/simple_resource/
|
|
240
|
+
- app/controllers/simple_resource/user_resource_controller.rb
|
|
241
241
|
- app/helpers/simple_resource/base_helper.rb
|
|
242
242
|
- app/views/simple_resource/base/_actions.html.erb
|
|
243
243
|
- app/views/simple_resource/base/_collection.html.erb
|
|
@@ -318,7 +318,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
318
318
|
version: '0'
|
|
319
319
|
segments:
|
|
320
320
|
- 0
|
|
321
|
-
hash: -
|
|
321
|
+
hash: -4426232147146396932
|
|
322
322
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
323
323
|
none: false
|
|
324
324
|
requirements:
|
|
@@ -327,7 +327,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
327
327
|
version: '0'
|
|
328
328
|
segments:
|
|
329
329
|
- 0
|
|
330
|
-
hash: -
|
|
330
|
+
hash: -4426232147146396932
|
|
331
331
|
requirements: []
|
|
332
332
|
rubyforge_project:
|
|
333
333
|
rubygems_version: 1.8.24
|