zuora_connect 1.4.64 → 1.4.65
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 +5 -2
- 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: c0fe0a8ca73e850b80f646f13ce1da4ef0d9e19d
|
|
4
|
+
data.tar.gz: bbe2bcebb6ef2be73c3a2ef83414820fbc8d6ddb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3158556e7541dd63ea9b758ca2790fd46e3b01a61eacdc2d581800c453b0ea6ecc2e9b77f8a2117b8f289dfa0f7a73894bfb482e3685382cf17da831722d2c7c
|
|
7
|
+
data.tar.gz: c7a75a3d467038f8c8d32da8c56aa09ca8bebc19d678f8ea92ae2f0952d5f808570c79a551260fb0e65675e77a21ca6392718e234e2c01e9af08e0c64317a92d
|
|
@@ -91,6 +91,10 @@ module ZuoraConnect
|
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
+
def api_limit?
|
|
95
|
+
return Redis.current.get("APILimits:#{@appinstance.id}").to_bool
|
|
96
|
+
end
|
|
97
|
+
|
|
94
98
|
def queue_pause(time: nil)
|
|
95
99
|
if time.present?
|
|
96
100
|
raise "Time must be fixnum of seconds." if time.class != Fixnum
|
|
@@ -403,8 +407,7 @@ module ZuoraConnect
|
|
|
403
407
|
raise ZuoraConnect::Exceptions::ConnectCommunicationError.new("Error Communicating with Connect", response.body, response.code)
|
|
404
408
|
end
|
|
405
409
|
rescue Net::ReadTimeout, Net::OpenTimeout, Errno::EPIPE, Errno::ECONNRESET, Errno::ECONNREFUSED, SocketError
|
|
406
|
-
if count < 2
|
|
407
|
-
count += 1
|
|
410
|
+
if (count += 1) < 2
|
|
408
411
|
retry
|
|
409
412
|
else
|
|
410
413
|
raise
|
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.4.
|
|
4
|
+
version: 1.4.65
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Connect Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-11-
|
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord-session_store
|