devise-heroku-sso 1.0.3 → 1.0.4

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: cd8b3ca728de8685a0f04451e1e468db15029048
4
- data.tar.gz: d16db051b0826a39d813d07dc8d586d8515fc6fd
3
+ metadata.gz: 5df018ed83b7bea21c3cd50ddd13e9c629b8aa4b
4
+ data.tar.gz: 292a189e8830cd8e26f325fb8ccf5faf141b94b6
5
5
  SHA512:
6
- metadata.gz: 50968bee7cd8c313ad4762249d51d9bfba4eedf1ed41cd366426bd573bcf79841cf22eb5c054f3a127b4e8bf0d4c7b80caa3a040d50a16ea88035542fdb73b5f
7
- data.tar.gz: 06deba56006ae0e2a617f204639b976691b5f3729d612a7683bc381cb61aebbf04199c53c358358d63d61e5c64cf42047d994ebcf7fc2ed771954b99d18c9479
6
+ metadata.gz: b07b8b3ce4b53939d8a37c8fc17e87140d676ce74d7d038cb86aa32098d322f208d9a1feacc3141672e68dad9643fbdf621a68ab4b1d6ed877e544592a75393a
7
+ data.tar.gz: 57ef576d1fbc3d08f0cc633bb23166776a73e03130fdd3254b19283077aef3cb8733a2a81c07c0addd6bf5fab65446723e90fcf99ed6c3014d86f88338119872
@@ -1,4 +1,4 @@
1
1
  module DeviseHerokuSso
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
4
4
 
@@ -3,6 +3,7 @@ require 'devise/strategies/authenticatable'
3
3
  module HerokuSso
4
4
  class CustomStrategy < Devise::Strategies::Authenticatable
5
5
  def valid?
6
+ puts "[HEROKU-SSO] valid: #{valid_token?} && #{!token_expired?} "
6
7
  ::Rails.logger.warn "[HEROKU-SSO] valid: #{valid_token?} && #{!token_expired?} "
7
8
  valid_token? && !token_expired?
8
9
  end
@@ -38,7 +39,8 @@ module HerokuSso
38
39
  end
39
40
 
40
41
  def token
41
- ::Rails.logger.warn "[HEROKU-SSO] #{pre-token} -> #{Digest::SHA1.hexdigest(pre_token).to_s}"
42
+ puts "[HEROKU-SSO] #{pre_token} -> #{Digest::SHA1.hexdigest(pre_token).to_s}"
43
+ ::Rails.logger.warn "[HEROKU-SSO] #{pre_token} -> #{Digest::SHA1.hexdigest(pre_token).to_s}"
42
44
  Digest::SHA1.hexdigest(pre_token).to_s
43
45
  end
44
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-heroku-sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Samokhin