zuora_connect 2.0.55 → 2.0.56
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d5757fa9b968c3c2733f1cabbbfacefcc3bd916ed768ccc7acb2e840e737033
|
|
4
|
+
data.tar.gz: a198e4dc187c50829d692b54802573a7095924e60045b0f713a0ed7e4bf1a3fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a9b10960b926c602c453907607581e44bb79687bd73dc1801ded464032e2c3c7f8559eadb6b610438adb9721f47ed16f8340ec695b9a2e4f5fa062192a1656e
|
|
7
|
+
data.tar.gz: 953d81773108dfa97f66e1364fe91380ece8ae2f5b8945d20d414dad4db0412b6b62e95f509a1aabd14a3f9039058f861a6d8b6aa36cbfe2ac0f6fcb6bada588
|
|
@@ -10,6 +10,7 @@ module ZuoraConnect
|
|
|
10
10
|
def call(env)
|
|
11
11
|
self.request_id = env['action_dispatch.request_id']
|
|
12
12
|
self.zuora_request_id = env["HTTP_ZUORA_REQUEST_ID"]
|
|
13
|
+
env['CONTENT_TYPE'] = 'application/json' if env['HTTP_X_AMZ_SNS_MESSAGE_TYPE'].present?
|
|
13
14
|
@app.call(env)
|
|
14
15
|
end
|
|
15
16
|
end
|
|
@@ -263,14 +263,10 @@ module ZuoraConnect
|
|
|
263
263
|
if (missing_identity || missmatched_entity || different_zsession)
|
|
264
264
|
zuora_details.merge!({'identity' => {'different_zsession' => different_zsession, 'missing_identity' => missing_identity, 'missmatched_entity' => missmatched_entity}})
|
|
265
265
|
identity, response = zuora_client.rest_call(url: zuora_client.rest_endpoint("identity"))
|
|
266
|
-
session["ZuoraCurrentIdentity"] = identity
|
|
267
|
-
session["ZuoraCurrentEntity"] = identity['entityId']
|
|
268
|
-
session["ZSession"] = cookies['ZSession']
|
|
269
|
-
zuora_instance_id = nil
|
|
270
|
-
zuora_details["identity"]["entityId"] = identity['entityId']
|
|
271
266
|
|
|
272
267
|
if zuora_entity_id != identity['entityId']
|
|
273
268
|
if zuora_tenant_id.to_s == "10548"
|
|
269
|
+
session.clear
|
|
274
270
|
render "zuora_connect/static/error_handled", :locals => {
|
|
275
271
|
:title => "Security Testing",
|
|
276
272
|
:message => "Ya we know it you"
|
|
@@ -281,6 +277,12 @@ module ZuoraConnect
|
|
|
281
277
|
end
|
|
282
278
|
end
|
|
283
279
|
|
|
280
|
+
session["ZuoraCurrentIdentity"] = identity
|
|
281
|
+
session["ZuoraCurrentEntity"] = identity['entityId']
|
|
282
|
+
session["ZSession"] = cookies['ZSession']
|
|
283
|
+
zuora_instance_id = nil
|
|
284
|
+
zuora_details["identity"]["entityId"] = identity['entityId']
|
|
285
|
+
|
|
284
286
|
client_describe, response = zuora_client.rest_call(
|
|
285
287
|
url: zuora_client.rest_endpoint("genesis/user/info").gsub('v1/', ''),
|
|
286
288
|
session_type: zuora_client.class == ZuoraAPI::Oauth ? :bearer : :basic,
|
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.
|
|
4
|
+
version: 2.0.56
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Connect Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: apartment
|