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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92aceb45ca42ac3cedcb449ea12ee0c04f437239ccc7375995f56939216ea473
4
- data.tar.gz: 37b66818e5ba35d6b0d159ef817cbaf3c8bf66b8194e21c85876f2fdebaa30a0
3
+ metadata.gz: 5b9dfa016822ff745b64793d0e25e00a9080ba783af50f126c49271cc9a0d021
4
+ data.tar.gz: eb7120d981dcf6402afac72c2e3d5785f3da59d20ce151952f43de6d8b829ef7
5
5
  SHA512:
6
- metadata.gz: 22b6826841d14ef7c9bbde34ba0d17484183a8f48247167b08b4332ced3b2b8e5bff7d2d4ea6e6e8246ea720efd79998b46768c973303094839104804c827e26
7
- data.tar.gz: da90ec118b97081ce4f54de372e288d0033f76d91e1401ef1bcf70d7a62d589a0e08df18a83030da4e2f0b14bffe51cc33b3b97c198ec7f70f58874b118c2fd2
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
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.17.0.beta7".freeze
2
+ VERSION = "0.17.0.beta8".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0.beta7
4
+ version: 0.17.0.beta8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings