lockdown 0.6.1 → 0.6.2
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/History.txt +3 -0
- data/lib/lockdown/frameworks/rails/controller.rb +5 -1
- data/lib/lockdown/version.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
|
@@ -4,7 +4,11 @@ module Lockdown
|
|
|
4
4
|
module Controller
|
|
5
5
|
|
|
6
6
|
def available_actions(klass)
|
|
7
|
-
|
|
7
|
+
if klass.respond_to?(:action_methods)
|
|
8
|
+
klass.action_methods
|
|
9
|
+
else
|
|
10
|
+
klass.public_instance_methods - klass.hidden_actions
|
|
11
|
+
end
|
|
8
12
|
end
|
|
9
13
|
|
|
10
14
|
def controller_name(klass)
|
data/lib/lockdown/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lockdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Stone
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-12-01 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
159
159
|
requirements: []
|
|
160
160
|
|
|
161
161
|
rubyforge_project: lockdown
|
|
162
|
-
rubygems_version: 1.
|
|
162
|
+
rubygems_version: 1.3.1
|
|
163
163
|
signing_key:
|
|
164
164
|
specification_version: 2
|
|
165
165
|
summary: Lockdown is a authentication/authorization system for RubyOnRails
|