authorization-rails 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/authorization-rails.gemspec +0 -0
- data/lib/authorization.rb +1 -1
- metadata +5 -7
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
N2NiMWQ3ZTA2ZjYzM2U2Yjc3N2MyMTc4OTY3OWZiNmQ1NTBmMTZjZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ODQ5NGM1YmQxMTBmZDQ4ZWVmMTgzZTBhYzg2ZmZlNTg5ZDY1OTUwZQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
N2E1MTIzOTY5NTlkOTI2ODllNDE0YTEyNDBiMTlmNmJjOTI4ZDhjNWFkYTUw
|
10
|
+
ODE4ZWIzMTU1ZTY2M2Q3MGVmMDg1NWZhMjIwNTEzOTg3ODQ0ZjQzN2I4MzNk
|
11
|
+
ZDVjMmY5ZTQzMDQ5OWIxZTdiNTRiMTYxMWQ0NmY2ODZhMGM1OTk=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NWNjNTkxY2E2MjEwYTk5MWU2ZjhjOWE2YmJmYmMzZWQzMTA0MTY0MzhmYjI2
|
14
|
+
ZDk5N2NlNTgyNGM3ZmYwOTdjOTQ1YzdmZTVjZGExMjY1MTk3Nzg4ZWIxMzgz
|
15
|
+
NmM2ZWQ0YzJhNDIxNWY3NmYwYWQ4MDNiYmIwNTU4MmY1ZmQ0YTI=
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.13
|
data/authorization-rails.gemspec
CHANGED
Binary file
|
data/lib/authorization.rb
CHANGED
@@ -110,7 +110,7 @@ module Authorization
|
|
110
110
|
@options[:user]
|
111
111
|
elsif @options[:get_user_method]
|
112
112
|
send( @options[:get_user_method] )
|
113
|
-
elsif self.respond_to? :current_user
|
113
|
+
elsif self.respond_to? :current_user, true
|
114
114
|
current_user
|
115
115
|
elsif not @options[:allow_guests]
|
116
116
|
raise( CannotObtainUserObject, "Couldn't find #current_user or @user, and nothing appropriate found in hash" )
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authorization-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.13
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bill Katz; Arturo Pie
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-04-10 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Rails 3 compatible rails-authorization-plugin gem
|
15
14
|
email:
|
@@ -52,27 +51,26 @@ files:
|
|
52
51
|
- tasks/authorization_tasks.rake
|
53
52
|
homepage: https://github.com/arturopie/rails-authorization-plugin
|
54
53
|
licenses: []
|
54
|
+
metadata: {}
|
55
55
|
post_install_message:
|
56
56
|
rdoc_options: []
|
57
57
|
require_paths:
|
58
58
|
- .
|
59
59
|
- lib
|
60
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
61
|
requirements:
|
63
62
|
- - ! '>='
|
64
63
|
- !ruby/object:Gem::Version
|
65
64
|
version: '0'
|
66
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
66
|
requirements:
|
69
67
|
- - ! '>='
|
70
68
|
- !ruby/object:Gem::Version
|
71
69
|
version: '0'
|
72
70
|
requirements: []
|
73
71
|
rubyforge_project:
|
74
|
-
rubygems_version:
|
72
|
+
rubygems_version: 2.4.3
|
75
73
|
signing_key:
|
76
|
-
specification_version:
|
74
|
+
specification_version: 4
|
77
75
|
summary: Authoization plugin for authorizing.
|
78
76
|
test_files: []
|