devise_cas_authenticatable 1.10.1 → 1.10.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd009101e87f0e13e5526e3a4d9ea206fa71eff
|
4
|
+
data.tar.gz: cbb5301d991e5582357798560a49b8a1ece7fa7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c7ca4043bbbb16a72291be684f77dba8937b49250deaa35e88c12c65105204ad10f3b6df9c9e2d84c73933e2b2000679eedb3f3f4a4332d7aa11fc605381040
|
7
|
+
data.tar.gz: 2cb57032d86c65adc6ddc5bd90c7e1deee8318802fbaa96d0b784359866858a08a5f7697a0f41c7ce7e1aaf1e6c42fda0bda673d788ce495b4138e6b4ce30cbe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog for devise\_cas\_authenticatable
|
2
2
|
|
3
|
+
## Version 1.10.2 - July 28, 2017
|
4
|
+
|
5
|
+
* Correct an issue where the single sign-out logs would incorrectly state the session was found (thanks @hugohernani!)
|
6
|
+
* Document how to change the SSO strategy (thanks again @hugohernani!)
|
7
|
+
|
3
8
|
## Version 1.10.1 - July 17, 2017
|
4
9
|
|
5
10
|
* Yet another Rails 5 compatibility fix with single sign-out (CacheStore's API for destroying sessions changed)
|
data/README.md
CHANGED
@@ -96,6 +96,14 @@ to tell your app how to talk to your CAS server:
|
|
96
96
|
# config.warden do |manager|
|
97
97
|
# manager.failure_app = DeviseCasAuthenticatable::SingleSignOut::WardenFailureApp
|
98
98
|
# end
|
99
|
+
|
100
|
+
# You can also set another single sign out strategy so that you won't be attached to rails_cache.
|
101
|
+
# Be aware that to do so you also need to set the session_store.
|
102
|
+
# Example for setting redis_cache.
|
103
|
+
# There are some gems the help with it. One of them is called redis-rails and it can easily be set like this:
|
104
|
+
# Rails.application.config.session_store :redis_store, servers: ["redis://localhost:6379/0/session"]
|
105
|
+
# This is specially useful when you need to share session id accross apps (i.e. in a distributed environment)
|
106
|
+
# config.cas_single_sign_out_mapping_strategy = :redis_cache
|
99
107
|
|
100
108
|
# If you need to specify some extra configs for rubycas-client, you can do this via:
|
101
109
|
# config.cas_client_config_options = {
|
@@ -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.10.
|
5
|
+
s.version = "1.10.2"
|
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"]
|
@@ -13,7 +13,7 @@ module DeviseCasAuthenticatable
|
|
13
13
|
end
|
14
14
|
def find_session_id_by_index(session_index)
|
15
15
|
sid = current_session_store.instance_variable_get(:@pool).get(cache_key(session_index))
|
16
|
-
logger.debug("Found session id #{sid} for index #{session_index}")
|
16
|
+
logger.debug("Found session id #{sid} for index #{session_index}") if sid
|
17
17
|
sid
|
18
18
|
end
|
19
19
|
def delete_session_index(session_index)
|
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.10.
|
4
|
+
version: 1.10.2
|
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: 2017-07-
|
12
|
+
date: 2017-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise
|