gamecenter-auth 1.0.0 → 1.0.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: fdf562542b694b74c953cb181097610dc52dc489
4
- data.tar.gz: a65aca8f3058c1cdbc36381b4c164575b9d56fae
3
+ metadata.gz: 888c7e5a931c6a0cd09e551c7acdc6b04681ec0e
4
+ data.tar.gz: 819308cb201905a5d7ec099097ca084e76dde576
5
5
  SHA512:
6
- metadata.gz: 9b479c43be9c3e9ad7a8998c50333fe16feaaf0c9f703154180bc3d6b1714f3b3737a208901d2426df4a0d5c56279f15e9a960f50f3c8ae92bf4eb858256c61f
7
- data.tar.gz: 93a436eeb3f928f5730aa61d93528ae78066ea2a799c77cfed4bda4b5c7037d8194ca56984d53c0d73120a0dfa73f1b36746d11bad71c2382ee879ad429259c3
6
+ metadata.gz: fbb6abca0db31e2894bd28ee25c165b85bf7a688d4c5f4199c8ac4f8f28e5d5ad55f4b33523439fb55947433a2196ffcf1a3fc2b965dae0f52c0194593f131ee
7
+ data.tar.gz: daeb7d88dc991b2803c987d161d5e4411356f01004dc2b5a5b66a27bb676c1e94e1830267e76d954cc0ab4b3c64c32f15a59aa87c2395b58e1c91976ad7f99b8
@@ -132,7 +132,8 @@ EOCACERT
132
132
  if @@cache_public_keys
133
133
  # caching is enabled
134
134
  cache = (@@_public_key_cache ||= {})
135
- unless cert = cache[public_key_url] && cert.not_after > Time.now
135
+ cert = cache[public_key_url]
136
+ unless cert && cert.not_after > Time.now
136
137
  # no cache hit or certificate expired
137
138
  cache.delete public_key_url
138
139
 
@@ -1,5 +1,5 @@
1
1
  module Gamecenter
2
2
  class Auth
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gamecenter-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niklas Bichinger