zuora_connect 1.7.56 → 1.7.57

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: d93ac703523805e82539fc75891cc060ed44f25d
4
- data.tar.gz: 957b0d4de13c8ab8bcc9091a95fb3cf8debeb1b3
3
+ metadata.gz: 61c0882d63a69029b67ea527a1fb8d94729f60af
4
+ data.tar.gz: b744fb178e109f31c8e4461726a7140a42396702
5
5
  SHA512:
6
- metadata.gz: 7c0b7614b36bfbc5bd95baaf01a670374ce083820ee82423599cbb67860a885c957bbfca5aee9686e9fe8c0253d2b3193ab731693f6e8777bac623f9f717c673
7
- data.tar.gz: c2c83eee466869212fde7735e50eebb796f6e48320e42a523080aa98ee63d2f02cf894839b9c2c1b338c4e1019ccdf03abd9b4e928322c9226f98899591b0b98
6
+ metadata.gz: aaaf7f733aaca0c953c06660a1410035d1ad1fbea981deb67a2e5010911cca6383b8ac241b660d5ca0687ee8cb045dbc0c64e9afd8dfca3146a20a7352472c9a
7
+ data.tar.gz: 4ce6a07d33f603b534f19dfa4b4b0ff208bcf7422b193065d32715909f78ad8c479e37e4f31d6224204d433e2b0674e818dec1523a76d5814e46e8d9bd3a22a6
@@ -1 +1,15 @@
1
- window.define = previousDefine;
1
+ window.define = previousDefine;
2
+
3
+ // This'll be our "error service" for hallway
4
+ if (isHallway()) {
5
+ $( document ).ajaxError(function( event, jqxhr, settings, thrownError ) {
6
+ if ( jqxhr.status === 401) {
7
+ window.location.href = '/apps/newlogin.do?retURL=' + window.location.pathname;
8
+ }
9
+ });
10
+ }
11
+
12
+ function isHallway() {
13
+ var regex = new RegExp("^/services/");
14
+ return window.location.pathname.match(regex);
15
+ }
@@ -106,6 +106,8 @@ module Resque
106
106
 
107
107
  grouped_queues = grouped_queues.values.rotate(@n).map{|queue_list| get_categorized_queues(queue_list).to_h.values.flatten}.flatten.delete_if{|queue| !should_work_on_queue?(queue)}.map{|queue| "queue:#{queue}"}
108
108
  queue, payload = Resque.redis.blpop(grouped_queues, :timeout => ZuoraConnect.configuration.blpop_timeout)
109
+ return nil if queue.blank?
110
+
109
111
  queue = queue.split("queue:")[1]
110
112
  @n = queue_index[queue] + 1
111
113
  return create_job(queue, Resque.decode(payload))
@@ -1,3 +1,4 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.7.56"
3
- end
2
+ VERSION = "1.7.57"
3
+ end
4
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.56
4
+ version: 1.7.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team