devise-heroku-sso 1.0.4 → 1.0.5

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: 5df018ed83b7bea21c3cd50ddd13e9c629b8aa4b
4
- data.tar.gz: 292a189e8830cd8e26f325fb8ccf5faf141b94b6
3
+ metadata.gz: 7ee6476e03831360bef4189f1b944f61e3739f6c
4
+ data.tar.gz: 026db799f195d017aa713a1f0702b6dbd3cec119
5
5
  SHA512:
6
- metadata.gz: b07b8b3ce4b53939d8a37c8fc17e87140d676ce74d7d038cb86aa32098d322f208d9a1feacc3141672e68dad9643fbdf621a68ab4b1d6ed877e544592a75393a
7
- data.tar.gz: 57ef576d1fbc3d08f0cc633bb23166776a73e03130fdd3254b19283077aef3cb8733a2a81c07c0addd6bf5fab65446723e90fcf99ed6c3014d86f88338119872
6
+ metadata.gz: f8679c80a4afd49535b2f58517e4ddc74cb62db3bc6d0059eeb2426b2d58864d3737b0e1b792aeb58765e4c266f19157dd0b9ea4456e18acfad375ee4032adf5
7
+ data.tar.gz: 9da026c13a1b7b536a56981527fd422a65a0cc302e1306806eac5c0a327c64503766c6d0d7406d11e5160b19640ace1b945f8dc75b68ce55b966096af1e2f14a
@@ -3,8 +3,6 @@ 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?} "
7
- ::Rails.logger.warn "[HEROKU-SSO] valid: #{valid_token?} && #{!token_expired?} "
8
6
  valid_token? && !token_expired?
9
7
  end
10
8
 
@@ -39,8 +37,6 @@ module HerokuSso
39
37
  end
40
38
 
41
39
  def token
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}"
44
40
  Digest::SHA1.hexdigest(pre_token).to_s
45
41
  end
46
42
 
@@ -1,4 +1,4 @@
1
1
  module DeviseHerokuSso
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
4
4
 
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Samokhin