devise_cas_authenticatable 1.5.0 → 1.6.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/devise_cas_authenticatable.gemspec +1 -1
- data/lib/devise_cas_authenticatable/single_sign_out.rb +4 -1
- 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: 84d59efb2e94fcd4dffd475d48b1b53ffcf1e3c5
|
4
|
+
data.tar.gz: be3a70c0b2eed75ec0f6d157f54cdc496cd8bae3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 094281b94708abc4d4f61c64e2afbc9fc43d26b9e3ac1ab3d90df45c3f9228368342b0e077e4805e0a41d15e9226d281ce60384f4482308a9767f29726967276
|
7
|
+
data.tar.gz: 01977a397ca707661041dd5b12572dfe0f4f99e5d54d0104dc93b79319f07fb895e0ddf1cde542f561392ba952704e01668ad2124e7e29e33cfcbb41d2dcf9ec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog for devise\_cas\_authenticatable
|
2
2
|
|
3
|
+
## Version 1.6.0 - October 21, 2015
|
4
|
+
|
5
|
+
* Add support for the Dalli session store (thanks @bonyiii!)
|
6
|
+
|
3
7
|
## Version 1.5.0 - July 27, 2015
|
4
8
|
|
5
9
|
* Generation of cas_action_url is now done by a customizable class, so you can use Rails routes to provide this (thanks to @eturino again!)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{devise_cas_authenticatable}
|
5
|
-
s.version = "1.
|
5
|
+
s.version = "1.6.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Nat Budin", "Jeremy Haile"]
|
@@ -43,13 +43,16 @@ module DeviseCasAuthenticatable
|
|
43
43
|
session = current_session_store.session_class.find_by_session_id(sid)
|
44
44
|
session.destroy if session
|
45
45
|
true
|
46
|
+
elsif session_store_class.name =~ /ActionDispatch::Session::DalliStore/
|
47
|
+
current_session_store.send(:destroy_session, env, sid, drop: true)
|
48
|
+
true
|
46
49
|
elsif session_store_class.name =~ /Redis/
|
47
50
|
current_session_store.instance_variable_get(:@pool).del(sid)
|
48
51
|
true
|
49
52
|
elsif session_store_class.name =~ /CacheStore/
|
50
53
|
current_session_store.destroy_session({}, sid, {})
|
51
54
|
true
|
52
|
-
else
|
55
|
+
else
|
53
56
|
logger.error "Cannot process logout request because this Rails application's session store is "+
|
54
57
|
" #{session_store_class.name} and is not a support session store type for Single Sign-Out."
|
55
58
|
false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_cas_authenticatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Budin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise
|