zuora_connect 1.5.304 → 1.5.305
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cd44c8a882088f086007f472631c8ca7247b1d3
|
4
|
+
data.tar.gz: 3f8611a667f58906a2a89a313a45504d80677513
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c9320a3166b1b05a17e65398caa8f640736531431f9e79cf8842b7827631c2bd4c3fcad7cf4f42109ce19c2daca651dd2328cbafbd6821507270aeaa1437181
|
7
|
+
data.tar.gz: 9e763a35ed59d24a5542a6d31030ea79ee7aa55cd8bb955b0c5297ad9c5635c13250b78f71b1a27652c71d35fb087811a7c81a926bdef25837438df3d49a4841
|
@@ -286,7 +286,9 @@ module ZuoraConnect
|
|
286
286
|
|
287
287
|
def cache_app_instance
|
288
288
|
if defined?(Redis.current)
|
289
|
-
|
289
|
+
if self.save_data["#{self.id}::task_data"].present?
|
290
|
+
Redis.current.setex("AppInstance:#{self.id}", INSTANCE_REDIS_CACHE_PERIOD.to_i, encrypt_data(data: self.save_data))
|
291
|
+
end
|
290
292
|
Redis.current.del("Deleted:#{self.id}")
|
291
293
|
end
|
292
294
|
end
|
@@ -54,7 +54,7 @@ module ZuoraConnect
|
|
54
54
|
|
55
55
|
def persist_connect_app_session
|
56
56
|
if @appinstance.present?
|
57
|
-
if defined?(Redis.current)
|
57
|
+
if defined?(Redis.current)
|
58
58
|
@appinstance.cache_app_instance
|
59
59
|
else
|
60
60
|
session.merge!(@appinstance.save_data)
|