mumsnet_jwt 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mumsnet_jwt.rb +1 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8f5b5f2570d01723a4f6d2d3173022109c94115
4
- data.tar.gz: 8039255b6a555542f47479f7572cee74c1279137
3
+ metadata.gz: 9fb58ee43b66fcde04db7f334c2cda8fc9269b13
4
+ data.tar.gz: f23760a174cf0e16eb1367c7ed39b6984a646de3
5
5
  SHA512:
6
- metadata.gz: 39aea2d824e8c3a516fd97d9eec2522eb6e481601b0b73a7a712548e7976175f9efe82aa4c6f14220685cbca328ec6d23754159d711dca210acbb031b2b39110
7
- data.tar.gz: e73227be36051a022ad059fe7c0b1060e67288f72c241a77c7fa39a99eddbc2534e405ee1afd3b14a08cfac76c062c505ae0a068d14528539e4c61aa625368b5
6
+ metadata.gz: 4713e226e069c95736128fad40b9d798a753d26b34195d7cf88c2ea80494b9c7a0c7661d206701e7db91015e78044fec46aab83356c07ed032c9e0494b927249
7
+ data.tar.gz: 71d04f2b36c75c818243aa58cea2984bd2b10bb13f496f9d251a8fe57646aa445ad77cbbe49d75d5a36c0529f2f24112f0fc89ab0ead5a926cbd8c737c2dcc1b
data/lib/mumsnet_jwt.rb CHANGED
@@ -3,8 +3,6 @@ module MumsnetJWT
3
3
  require 'jwt'
4
4
  require 'json'
5
5
  require 'base64'
6
- require 'logger'
7
- @logger = Logger.new(STDOUT)
8
6
  DEFAULT_EXP = Time.now.utc.to_i + 60 * 60 * 24
9
7
  def tokenify(extra_payload: {})
10
8
  return false if env_defined?
@@ -50,7 +48,7 @@ module MumsnetJWT
50
48
  else
51
49
  decoded_token
52
50
  end
53
- rescue StandardError· => e
51
+ rescue StandardError => e
54
52
  puts 'JWT ERROR: decode_token'
55
53
  puts "token: #{token}"
56
54
  puts "key: #{key}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumsnet_jwt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto