checkin 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -2
  2. data/VERSION +1 -1
  3. data/checkin.gemspec +1 -1
  4. 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, :notice => "Accedi per completare l'operazione"
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.3
1
+ 0.4.4
data/checkin.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "checkin"
8
- s.version = "0.4.3"
8
+ s.version = "0.4.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
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.3
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: 1307085424481181596
71
+ hash: -3829181454465002286
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements: