nm-gigya 0.1.11 → 0.1.12

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/gigya/user.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9185847a836f0409d34a8654ca743d8b62ad62b4d1a59f6b2c8a844f16f35c82
4
- data.tar.gz: 20422b9064e3e4d11f40d9ad3d8e3bc5397cd74028440dae58b8a54c7152a2ef
3
+ metadata.gz: dc9284b633d3b5e07b80c55cff2cae42059b64f8c40d9e04290f6ec3860e435d
4
+ data.tar.gz: eb1200322429c1616776ebd85287c1d24ed3544c60a444b37933e00e6551e765
5
5
  SHA512:
6
- metadata.gz: 0c008b52f5890b91278d1c725b392387dd7429ee4235b4d9308493a50c1abb5b3ddbbff33e5acfb5463b5b67bce1081ddde4a140604b7917b4629f24522eb0b1
7
- data.tar.gz: 8264b284b3918bc4106c09bec09228b27b0544fe3f98fdfab597e4911ba6c19896e9076f7bd2a2d4a3020cba2772a48f1ee1e1b0998bdbae8b90b4484643c5d2
6
+ metadata.gz: 847fadd0aa9197fd21c27ae490bd04546e60e417bfe0164fb70a24949f6f62b458ae60784c40a84ba4cc77b973ddf0ac37ea0143272f739102172b3270cc42f5
7
+ data.tar.gz: 74265c0dd978251e9cf5f462720ecee156706b7ba4dbf96093ff6c4001e6f3ba8814be4d004c75b457d72c47d0ead328e6e5107c198909dd3c46c2a4442c17a6
data/lib/gigya/user.rb CHANGED
@@ -99,7 +99,7 @@ module Gigya
99
99
  opts = {} if opts.nil?
100
100
 
101
101
  cache_info = load_from_cache(uid)
102
- if cache_info.present?
102
+ if cache_info.present? || opts["cache"] != false
103
103
  return self.new(cache_info, false)
104
104
  else
105
105
  connection = opts[:connection] || Gigya::Connection.shared_connection
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nm-gigya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bartlett