canvas_sync 0.17.0.beta7 → 0.17.0.beta8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_sync/job_batches/batch.rb +2 -2
- data/lib/canvas_sync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b9dfa016822ff745b64793d0e25e00a9080ba783af50f126c49271cc9a0d021
|
4
|
+
data.tar.gz: eb7120d981dcf6402afac72c2e3d5785f3da59d20ce151952f43de6d8b829ef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98e434b79e7d96fc64db88a879df7f2b3d6e754bafaa9a8b1adba9f3fb3fad6fd4ca44c5b7b0307155065354738ef4a4f0101907f5b6dbf1d2a96fa74a040802
|
7
|
+
data.tar.gz: 3f051aeb858f550588a67ae83d812e8a08d304b3dbe448221c0ffbeb7a6618a1bdd13f1b7bd619344d66b4dcd0d4a9d69162847fbbc36dfb770509bd84339468
|
@@ -128,7 +128,7 @@ module CanvasSync
|
|
128
128
|
yield
|
129
129
|
ensure
|
130
130
|
@ready_to_queue = nil
|
131
|
-
append_jobs(job_queue)
|
131
|
+
append_jobs(job_queue, parent_bid)
|
132
132
|
Thread.current[:batch] = parent
|
133
133
|
end
|
134
134
|
|
@@ -203,7 +203,7 @@ module CanvasSync
|
|
203
203
|
@pending_attrs = {}
|
204
204
|
end
|
205
205
|
|
206
|
-
def append_jobs(jids)
|
206
|
+
def append_jobs(jids, parent_bid = self.parent_bid)
|
207
207
|
redis do |r|
|
208
208
|
r.multi do
|
209
209
|
if parent_bid
|
data/lib/canvas_sync/version.rb
CHANGED