checkin 0.4.3 → 0.4.4
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/README.md +1 -2
- data/VERSION +1 -1
- data/checkin.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -144,14 +144,13 @@ _ex._
|
|
|
144
144
|
class ApplicationController < ActionController::Base
|
|
145
145
|
rescue_from Checkin::AccessDenied, :with => :rescue_access_denied
|
|
146
146
|
|
|
147
|
-
protect_from_forgery
|
|
148
147
|
checkin(:scope => :admin)
|
|
149
148
|
|
|
150
149
|
protected
|
|
151
150
|
|
|
152
151
|
def rescue_access_denied
|
|
153
152
|
if subject.guest?
|
|
154
|
-
redirect_to new_user_session_path
|
|
153
|
+
redirect_to new_user_session_path
|
|
155
154
|
else
|
|
156
155
|
render :text => "Not Authorized", :status => 403
|
|
157
156
|
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.4
|
data/checkin.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: checkin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -68,7 +68,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
68
68
|
version: '0'
|
|
69
69
|
segments:
|
|
70
70
|
- 0
|
|
71
|
-
hash:
|
|
71
|
+
hash: -3829181454465002286
|
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
none: false
|
|
74
74
|
requirements:
|