canvas_sync 0.17.8.beta1 → 0.17.8.beta2

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: 207d529d702b1f403baa35df191839fb67468ca893aea969210dfe14cfc0060d
4
- data.tar.gz: c613a717a96a4e4feffcd47ce19eb0dd3f0c8db109bfdb32f96c7f7bf72647a7
3
+ metadata.gz: 0127c30973e69577ddf609684419422e2d0eb2d0c96b630158c93c9f16acaecf
4
+ data.tar.gz: 1ba81dc4c98e33f6ce6377c9d90e14f734820c343cea65f0e30fa94416eb0d1a
5
5
  SHA512:
6
- metadata.gz: a65459a3ac20cd648d3184c052293a6d2c6c3d82a09b99156c3ad30e143ce57f414bd296c7ae8c3aa3f42b0cf31362d15da9e32a3dc8f1f1b05bd931b8d68166
7
- data.tar.gz: 8261a9926c3a28bc5feedf781009374d998c05d8b35b9809ef9d3fabafb7e31fe77829d1c19d127a84289942b5d49a06f953cd41d1d95486aca61c772d1bda8c
6
+ metadata.gz: '0094f034d52be11a05de829e07ea76c62db5661bd30bf12aeba4897f2ce5fc2d95a4134c768c35874414414478256cb894d38da82f64e015c863dddb990f716b'
7
+ data.tar.gz: a2809d8663066739193b0507126d78140c235ade034b30f548c254fb0a8df4311ba1250a3c05ecb9a153d2e9983e52b3ba128a6b37370af122471294dd9bd5f1
@@ -348,7 +348,9 @@ module CanvasSync
348
348
 
349
349
  opts = {"bid" => bid, "event" => event}
350
350
  should_schedule_batch = callback_args.present? && !callback_params.present?
351
- already_processed = SCHEDULE_CALLBACK.call(r, [batch_key], [event.to_s, should_schedule_batch, BID_EXPIRE_TTL])
351
+ redis do |r|
352
+ already_processed = SCHEDULE_CALLBACK.call(r, [batch_key], [event.to_s, should_schedule_batch, BID_EXPIRE_TTL])
353
+ end
352
354
 
353
355
  return if already_processed == 'true'
354
356
 
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.17.8.beta1".freeze
2
+ VERSION = "0.17.8.beta2".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.8.beta1
4
+ version: 0.17.8.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings