devise_aaf_rc_authenticatable 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc9b78bbeea960ba71f2cdd4d237bc64a7283e6b
|
4
|
+
data.tar.gz: bb854395071caf43f2831158ef22aced2edd99bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 592901c5ce2f1aed235b692d22d885d268197bce767f03de3d2e60aa9cc8564138b2bb8dd80a35bbd77600aec571a46e7c3be3329ba54fe42b259851b7c6a150
|
7
|
+
data.tar.gz: 67c87866a544d397ff4ca183b57799390da1abcfae50e5e01451550a458a339c8e7147cc41f0bc2af410f87433c0b28e16420dc535b224f153cec244edfcb878
|
data/Rakefile
CHANGED
@@ -33,7 +33,7 @@ begin
|
|
33
33
|
gemspec.homepage = "http://github.com/IntersectAustralia/devise_aaf_rc_authenticatable"
|
34
34
|
gemspec.authors = ["Gabriel Gasser Noblia", "Shuqian Hon", "Daniel Theodosius", "Jake Farrell"]
|
35
35
|
gemspec.add_runtime_dependency "devise", ">= 2.2.4"
|
36
|
-
gemspec.version = "0.0.
|
36
|
+
gemspec.version = "0.0.9"
|
37
37
|
end
|
38
38
|
Jeweler::GemcutterTasks.new
|
39
39
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.9
|
@@ -16,6 +16,10 @@ class Devise::AafRcSessionsController < Devise::SessionsController
|
|
16
16
|
respond_with resource, :location => after_sign_in_path_for(resource)
|
17
17
|
end
|
18
18
|
|
19
|
+
def aaf_destroy
|
20
|
+
redirect_to action: :destroy
|
21
|
+
end
|
22
|
+
|
19
23
|
def destroy
|
20
24
|
session.delete(:attributes)
|
21
25
|
session.delete(:jwt)
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: devise_aaf_rc_authenticatable 0.0.
|
5
|
+
# stub: devise_aaf_rc_authenticatable 0.0.9 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "devise_aaf_rc_authenticatable"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.9"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -5,7 +5,7 @@ ActionDispatch::Routing::Mapper.class_eval do
|
|
5
5
|
resource :session, :only => [], :controller => controllers[:aaf_rc_sessions], :path => "" do
|
6
6
|
get :aaf_new, :path => mapping.path_names[:aaf_new]
|
7
7
|
post :aaf_create, :path => mapping.path_names[:aaf_sign_in]
|
8
|
-
get :
|
8
|
+
get :aaf_destroy, :path => mapping.path_names[:aaf_sign_out]
|
9
9
|
end
|
10
10
|
|
11
11
|
end
|