zuora_connect 1.5.09 → 1.5.10
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 +4 -4
- data/app/models/zuora_connect/app_instance_base.rb +8 -5
- data/lib/zuora_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77284fce3429441b28a772f0191eb3e13d746023
|
|
4
|
+
data.tar.gz: 54dbcbaa04f8f8f2c2279ca8c0f9ff71a867184f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01eb2862ff31402d85fd0726aa06c683daa8ee92427cde1d5baaa464c668d61496175ca8792cf520e15a0046a10a5fd40719e4e2f171b5dde278a6a743beaf1f
|
|
7
|
+
data.tar.gz: 588492ee88b9b2aec3549d30b3894aa5ceb5a368ff95263d7c01988f25bd388e5e1af2dae2ed52e263e4e944f622096d09158c0caa66b6805686d64d95e6c54b
|
|
@@ -344,13 +344,16 @@ module ZuoraConnect
|
|
|
344
344
|
|
|
345
345
|
## DEV MODE TASK DATA MOCKUP
|
|
346
346
|
if ZuoraConnect.configuration.mode != "Production"
|
|
347
|
-
|
|
347
|
+
mock_task_data = {
|
|
348
|
+
"options": ZuoraConnect.configuration.dev_mode_options,
|
|
349
|
+
"mode": ZuoraConnect.configuration.dev_mode_mode
|
|
350
|
+
}
|
|
348
351
|
ZuoraConnect.configuration.dev_mode_logins.each do |k,v|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
self.attr_builder(k, tmp)
|
|
352
|
+
v = v.merge({"entities": [] }) if !v.keys.include?("entities")
|
|
353
|
+
mock_task_data[k] = v
|
|
352
354
|
end
|
|
353
|
-
|
|
355
|
+
|
|
356
|
+
build_task(mock_task_data, session)
|
|
354
357
|
else
|
|
355
358
|
if session.nil? || (!session.nil? && self.id != session["appInstance"].to_i) || session["#{self.id}::task_data"].blank? || ( session["#{self.id}::last_refresh"].blank? || session["#{self.id}::last_refresh"].to_i < ZuoraConnect.configuration.timeout.ago.to_i )
|
|
356
359
|
Rails.logger.info("[#{self.id}] REFRESHING - Session Nil") if session.nil?
|
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: 1.5.
|
|
4
|
+
version: 1.5.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Connect Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01-
|
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: apartment
|