nm-gigya 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0547a27ef1dca0470d42912f8e9292dd4a5d3e11
4
- data.tar.gz: 81e8d1d1216a17ef991ae24862c861dce56d53fc
2
+ SHA256:
3
+ metadata.gz: 750c93385f69b17c6e9b18f0b24dd2c8de78f73a56e9056938cbbd2af5cf9b95
4
+ data.tar.gz: 4ed2d9401b51060ce1ae37420e2905c2e4a4c8fb67dedc1982e5d18704434fe9
5
5
  SHA512:
6
- metadata.gz: 56a6181bffe5a21a7bcd713fabfb03d04ae15298182e99629bcb5f9a37dbba17d70d5a6919985b45d487db02784f101728de2ba0a5c2bcc33783b76acc3fb774
7
- data.tar.gz: 632d72a10c0e03eaec22e59fba00804ca498a29e55cc6e50abd434ad38b17278e57edafe80b7f0b020ad5ef26a852d9332a828b78160175668bb883c98124e04
6
+ metadata.gz: 22fb90438a1aab32b86f35ad22965e78c40bf6cafa33283d018a09704e76111da93a832896f59c4f3a19873f402b5feff56e05d959b26586fae26f8a30bab702
7
+ data.tar.gz: e88ccc6ce71ee3789969fc44d0e20d13879c69d793c09ed7e005a426c5fbb9d618027186af54587f5b714a754609f678799a6ebe126712caa9b8081c0c6806ab
@@ -48,11 +48,13 @@ module Gigya
48
48
  end
49
49
 
50
50
  begin
51
- tmp_token = params[GIGYA_QUERY_PARAM] unless params[GIGYA_QUERY_PARAM].blank?
52
- token_location = :param
53
51
  if tmp_token.blank?
54
- tmp_token = cookies[GIGYA_COOKIE_PARAM]
55
- token_location = :cookie
52
+ tmp_token = params[GIGYA_QUERY_PARAM] unless params[GIGYA_QUERY_PARAM].blank?
53
+ token_location = :param
54
+ if tmp_token.blank?
55
+ tmp_token = cookies[GIGYA_COOKIE_PARAM]
56
+ token_location = :cookie
57
+ end
56
58
  end
57
59
  rescue
58
60
  # Some lightweight controllers don't do cookies
metadata CHANGED
@@ -1,11 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nm-gigya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bartlett
8
8
  - Tyler Jackson
9
+ - Clark Ritchie
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
@@ -70,8 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
71
  - !ruby/object:Gem::Version
71
72
  version: '0'
72
73
  requirements: []
73
- rubyforge_project:
74
- rubygems_version: 2.5.2.1
74
+ rubygems_version: 3.0.2
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Gigya API Utility Package