zuora_connect 2.0.5e → 2.0.5f

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
2
  SHA256:
3
- metadata.gz: ae4372faaf48126ee9398e310a8c29cbb79185612067942d6985be8ae5834686
4
- data.tar.gz: d15378e80bff3f1543ee4e07eb16cd4a7b1b41d2b482d603bd283e40e7a596b7
3
+ metadata.gz: 5ecdb5a9d063569ac82005b0356326e9c9b063e34865ad91afea19417115f7b2
4
+ data.tar.gz: 41cab7d528348714fb1d892d61f2bfbafa5af4acf1c47b2f9e1af9a0a433bb6b
5
5
  SHA512:
6
- metadata.gz: c18070f0aba329067550da7457ec52e373e735613bda236c36948d54a0911d8e5f0fba0fb5e8056385238727b78a13f22f6e8474e56b3f2d4d4d53d8dfbec8b5
7
- data.tar.gz: 04bd5a89d17f4c2f6bb47a564d6a6d98e807ff88eaaf20b59d064a280219b088d12b2f3b90e8b390898b8b6e36f42b268361df70dc70e649123ef3c871c8d61b
6
+ metadata.gz: 6fccb7ce6ecf1348cd134b0fce2c23c0074b39456dea474271e80dc842494eb88f3cdf2956198771065aaeb921a68d3adec33d22bd7bae97deff3b2c1be32c40
7
+ data.tar.gz: adf55d461e781b502abe944fab3e88ed5f2629aff2b102c643e5c316362529938172a640c09e396b7942a4eb9a8519fe8546e6a4e1691082af16f800944ba914
@@ -85,7 +85,9 @@ module ZuoraConnect
85
85
  start_time = Time.now
86
86
 
87
87
  if ZuoraConnect.configuration.mode == "Production"
88
- if request.headers['ZuoraCurrentEntity'].present?
88
+ zuora_entity_id = request.headers['ZuoraCurrentEntity'] || cookies['ZuoraCurrentEntity']
89
+
90
+ if zuora_entity_id.present?
89
91
 
90
92
  #Do we need to refresh session identity
91
93
  zuora_host = request.headers["HTTP_X_FORWARDED_HOST"] || "apisandbox.zuora.com"
@@ -100,7 +102,6 @@ module ZuoraConnect
100
102
  }
101
103
  return
102
104
  end
103
- zuora_entity_id = request.headers['ZuoraCurrentEntity']
104
105
  zuora_instance_id = params[:sidebar_launch].to_bool ? nil : (params[:app_instance_id] || session["appInstance"])
105
106
 
106
107
  #Identity blank or current entity different
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "2.0.5e"
2
+ VERSION = "2.0.5f"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5e
4
+ version: 2.0.5f
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-02 00:00:00.000000000 Z
11
+ date: 2019-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apartment