canvas_sync 0.17.8.beta3 → 0.17.8.beta4

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: 47913d27a72537ba9c33f5b282efd811dc0fb23d0114dabfdec52efa3eb062d0
4
- data.tar.gz: ee5a090cfd2226868fc88324e767d7c61a6256d80ed0af35dd04e7967d76b602
3
+ metadata.gz: bf098a32ea7bd281cac2f9cd5a04940c9081bb01c77de5260dfe7fc76f762b7d
4
+ data.tar.gz: 45022a8e779828e05e448cae38661051684e1da480c6b1edd16c54304aceedbc
5
5
  SHA512:
6
- metadata.gz: 46fcee4d05468452502ffb1660962e520e34f458f4d374c4d9e974c67364db574a7b3577f65016ddd77727e3131a97232466eda98b8855db11c164517df42bbb
7
- data.tar.gz: 2fb317efd646549443680d8e9df41c2c2e228d4b8ea3a9d6e65f9be270b918d5423995571aaec72cb4616e083cc510cf5b0a63b0f3637d96e18c26ee7f7dd294
6
+ metadata.gz: 6cd38061c1f217eb63904b62fc1e2d93baede56d81252f58667a65c83e04e358a76b0907b5817342cf4b1d3c7312a011c8039bf6dcddb4f6d78b11eb42a5b000
7
+ data.tar.gz: a0679d49f95dfeec40bb15f9416bb1083b8820e716b0ab96dd65840a0323e7b6d4d1e36c6286cf8c87c69b580c260b9f68a13b1b3f30a7140a85df9c1fabd8a1
@@ -78,7 +78,7 @@ module CanvasSync
78
78
  Batch.cleanup_redis(origin_bid) if pending == 0 && success_ran == 'true'
79
79
  end
80
80
 
81
- if (Batch.redis{|r| r.scard("BID-#{bid}-pending_callbacks") }) == 0
81
+ if (Batch.redis {|r| r.scard("BID-#{bid}-pending_callbacks") }) == 0
82
82
  Batch.cleanup_redis(bid)
83
83
  end
84
84
  end
@@ -3,8 +3,8 @@ local previously_scheduled = redis.call('HGET', KEYS[1], ARGV[1])
3
3
  redis.call('HSET', KEYS[1], ARGV[1], 'true')
4
4
 
5
5
  if previously_scheduled ~= 'true' then
6
- local pcb_key = KEYS[1] + '-pending_callbacks'
7
- redis.call('SADD', pcb_key, ARGV[1] + 'finalize')
6
+ local pcb_key = KEYS[1] .. '-pending_callbacks'
7
+ redis.call('SADD', pcb_key, ARGV[1] .. '-finalize')
8
8
  if ARGV[2] == 'true' then
9
9
  redis.call('SADD', pcb_key, ARGV[1])
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.17.8.beta3".freeze
2
+ VERSION = "0.17.8.beta4".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.beta3
4
+ version: 0.17.8.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings