devise_cas_authenticatable 1.7.0 → 1.7.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: e0cff277d9f063fd582a2ee6c58024844cf53f27
4
- data.tar.gz: f34636125dc94ed2ff3f1a489611b85aad1c4657
3
+ metadata.gz: 982f05c3b4f817eeeb431e6a342014e70beca12b
4
+ data.tar.gz: 880dcb8f9fd445e2e3d19de68abd6d202484434e
5
5
  SHA512:
6
- metadata.gz: 63586a13b87fd4016aabc1c0894d98b92ebcb2399a580d3050a1f3d464952db1e9e9170cf24b54ce0768daf3cd7eac423df8c2cedb05e133d35f533a842c7528
7
- data.tar.gz: da00e80923c927bc2afb444a708a0aee9bdaea90a2cbf2294b0250824cbdbfb3ca7953f8533afe43b8c32e9f3ab5b758614a8fe145cb383a750c09e544bfe2e5
6
+ metadata.gz: db03ed7056af129f37a7dfcdf8cb9486484f69e5a739060eca124087a2146affbc108cc37c42dfe1f2411041846c0b4e5414fb2bb5e0c36c7ef10c332e9b42cd
7
+ data.tar.gz: 8bd1b15e5740dda654de992bbe12e68ad85138e2a130440c944ac5253cdc7291a6fd3a70403b8f22fbb16cb2841f778f051ca4c2f54b4b626acb37b1edea3945
@@ -1,5 +1,9 @@
1
1
  # Changelog for devise\_cas\_authenticatable
2
2
 
3
+ ## Version 1.7.1 - February 2, 2016
4
+
5
+ * Work around weird `#try` behavior on older Rails versions
6
+
3
7
  ## Version 1.7.0 - December 18, 2015
4
8
 
5
9
  * Support RedisSessionStore (thanks @dandyn!)
@@ -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.7.0"
5
+ s.version = "1.7.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"]
@@ -5,7 +5,10 @@ module Devise
5
5
  def self.prepare_class
6
6
  Class.new(self) do
7
7
  include Rails.application.routes.url_helpers
8
- include Rails.application.routes.mounted_helpers if Rails.application.routes.try(:mounted_helpers)
8
+
9
+ if Rails.application.routes.respond_to?(:mounted_helpers) && Rails.application.routes.mounted_helpers
10
+ include Rails.application.routes.mounted_helpers
11
+ end
9
12
  end
10
13
  end
11
14
 
@@ -21,7 +21,7 @@ if defined? ActionDispatch::Routing
21
21
 
22
22
  def raise_no_secret_key #:nodoc:
23
23
  # Devise_cas_authenticatable does not store passwords, so does not need a secret!
24
- logger.warn <<-WARNING
24
+ Rails.logger.warn <<-WARNING
25
25
  Devise_cas_authenticatable has suppressed an exception from being raised for missing Devise.secret_key.
26
26
  If devise_cas_authenticatable is the only devise module you are using for authentication you can safely ignore this warning.
27
27
  However, if you use another module that requires the secret_key please follow these instructions from Devise:
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.7.0
4
+ version: 1.7.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-12-18 00:00:00.000000000 Z
12
+ date: 2016-02-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise