wagon_rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wagon_rails/version.rb +1 -1
- data/templates/application_controller.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c746a7c2e9ffb772fa99a9f6040585a25fb9ae3
|
4
|
+
data.tar.gz: 16bdf01000cae4bb247920a95e3d7221e64381c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a57668650e8a8a07e91be6817b085b387228957940c046e1f14e2bd460d67bbe44dc0c6f8fd5dd44ad92d0086319c4c7740c22b0e85c5899847ff8186b0a4dc4
|
7
|
+
data.tar.gz: de7f6b59dfa5dea40ced105816dfb49855b2db229ed873d7d49bf88a8444976fb558a6f2614bc63334c57f13541b8a6692f419c1bc9e6deb7b9cfd70d9556fbb
|
data/lib/wagon_rails/version.rb
CHANGED
@@ -5,10 +5,10 @@ class ApplicationController < ActionController::Base
|
|
5
5
|
|
6
6
|
before_action :authenticate_user!, unless: :pages_controller?
|
7
7
|
|
8
|
-
after_action :verify_authorized, except: :index, unless: :devise_or_pages_controller?
|
9
|
-
after_action :verify_policy_scoped, only: :index, unless: :devise_or_pages_controller?
|
8
|
+
# after_action :verify_authorized, except: :index, unless: :devise_or_pages_controller?
|
9
|
+
# after_action :verify_policy_scoped, only: :index, unless: :devise_or_pages_controller?
|
10
10
|
|
11
|
-
rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized
|
11
|
+
# rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized
|
12
12
|
|
13
13
|
private
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wagon_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ssaunier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|