devise_restful_auth 0.1.2 → 0.1.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/VERSION +1 -1
- data/devise_restful_auth.gemspec +1 -1
- data/lib/devise_restful_auth/validate_auth.rb +2 -3
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/devise_restful_auth.gemspec
CHANGED
|
@@ -106,8 +106,7 @@ module DeviseRestfulAuth
|
|
|
106
106
|
|
|
107
107
|
end
|
|
108
108
|
if !@rps.empty?
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
return
|
|
111
110
|
end
|
|
112
111
|
end
|
|
113
112
|
|
|
@@ -117,7 +116,7 @@ module DeviseRestfulAuth
|
|
|
117
116
|
@ups=@subject_permissions_on_items.find_all { |u| [nil,@item_id].include? u[:item_id]}
|
|
118
117
|
end
|
|
119
118
|
if @ups
|
|
120
|
-
|
|
119
|
+
return
|
|
121
120
|
else
|
|
122
121
|
|
|
123
122
|
flash[:error]="accesso negato perché non esiste un permesso né per l'utente, né per il suo ruolo, su #{controller}/#{action} per #{@item_type}:#{@item_id}"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise_restful_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- saten
|