devise_cas_authenticatable 1.6.0 → 1.6.1

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: 84d59efb2e94fcd4dffd475d48b1b53ffcf1e3c5
4
- data.tar.gz: be3a70c0b2eed75ec0f6d157f54cdc496cd8bae3
3
+ metadata.gz: 151a1d520067882f59a415f525076d4ffd4ed6af
4
+ data.tar.gz: 48694c3082c209b0afff847abdcc917ee971d974
5
5
  SHA512:
6
- metadata.gz: 094281b94708abc4d4f61c64e2afbc9fc43d26b9e3ac1ab3d90df45c3f9228368342b0e077e4805e0a41d15e9226d281ce60384f4482308a9767f29726967276
7
- data.tar.gz: 01977a397ca707661041dd5b12572dfe0f4f99e5d54d0104dc93b79319f07fb895e0ddf1cde542f561392ba952704e01668ad2124e7e29e33cfcbb41d2dcf9ec
6
+ metadata.gz: be6cc0b075955abe043959be581e469678cacf634977fae043a04fd2a2ddf164a7c68302a2e335174b3f83e4a205a2d753f5491e1d540b3066e0d6fd49c1b97a
7
+ data.tar.gz: 6d4cf4ab4ed459933c1f422785c88a96c47b2d90d1b98048b71bcfd50895b94cd37e008c4ada90548d2a475d7d2cd8245beb7487a066663a6b8ea3f6b7b0b73c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog for devise\_cas\_authenticatable
2
2
 
3
+ ## Version 1.6.1 - December 18, 2015
4
+
5
+ * Allow single sign-out code to find the app's session store when NewRelic is in the middleware stack (thanks @brendancarney!)
6
+
3
7
  ## Version 1.6.0 - October 21, 2015
4
8
 
5
9
  * Add support for the Dalli session store (thanks @bonyiii!)
@@ -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.6.0"
5
+ s.version = "1.6.1"
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"]
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.extra_rdoc_files = [
16
16
  "README.md"
17
17
  ]
18
-
18
+
19
19
  s.homepage = %q{http://github.com/nbudin/devise_cas_authenticatable}
20
20
  s.require_paths = ["lib"]
21
21
  s.rubygems_version = %q{1.5.0}
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.add_runtime_dependency(%q<devise>, [">= 1.2.0"])
25
25
  s.add_runtime_dependency(%q<rubycas-client>, [">= 2.2.1"])
26
-
26
+
27
27
  s.add_development_dependency("rails", ">= 3.0.7")
28
28
  s.add_development_dependency("rspec-rails")
29
29
  s.add_development_dependency("mocha")
@@ -27,7 +27,7 @@ module DeviseCasAuthenticatable
27
27
  def current_session_store
28
28
  app = Rails.application.app
29
29
  begin
30
- app = (app.instance_variable_get(:@backend) || app.instance_variable_get(:@app))
30
+ app = (app.instance_variable_get(:@backend) || app.instance_variable_get(:@app) || app.instance_variable_get(:@target))
31
31
  end until app.nil? or app.class == session_store_class
32
32
  app
33
33
  end
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.6.0
4
+ version: 1.6.1
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-10-21 00:00:00.000000000 Z
12
+ date: 2015-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise
@@ -292,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
292
  version: 1.3.1
293
293
  requirements: []
294
294
  rubyforge_project:
295
- rubygems_version: 2.4.5
295
+ rubygems_version: 2.4.5.1
296
296
  signing_key:
297
297
  specification_version: 4
298
298
  summary: CAS authentication module for Devise