switchman 1.5.20 → 1.5.21

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
  SHA1:
3
- metadata.gz: f93ffdf39f2476bbca446bd460d92929f405fd20
4
- data.tar.gz: b9474a6f15ce63eca588224f8b079481628b5cea
3
+ metadata.gz: a6c8d63c04c23a59c2cda990cbed599098887d5e
4
+ data.tar.gz: 421b3c6dad49777eb5b032d82a579bc0a2802d89
5
5
  SHA512:
6
- metadata.gz: 69ab7d6917a101adbd9b7d2d52c86da2c1c24d3acbc44410aab2068ec9e24ad45bae9e4fcc89db8d4b9d6d67107e3ccfadbe4adfdfefe4a70409c66dcc6233c7
7
- data.tar.gz: 4144225d20c804a42d22e952afa493ebaafc537a7dc72a9836d6026940a375222ea534d6513538a03ae51eac2b1c8e4ace3cb7ae9bbcac8c7252fdc06673b083
6
+ metadata.gz: d428c6d5e5af925e71f8517c99ec3346a769360082114b8e3590c3459e9e104b7db6431ec41f5703d87fb9dc8b43ce64b51ac59629c0365a3afe6701a26b5aff
7
+ data.tar.gz: 24c0021a45980b354394c1c3f3138bf54bb7a236c18f903bb83143cb34c3b16527c55823e4fd24ca608c588d88562256d3840167ad82636b686b60b8744d0f3b
@@ -338,7 +338,7 @@ module Switchman
338
338
  end
339
339
  predicate.right
340
340
  else
341
- local_id = Shard.relative_id_for(predicate.right, current_source_shard, target_shard)
341
+ local_id = Shard.relative_id_for(predicate.right, current_source_shard, target_shard) || predicate.right
342
342
  local_id = [] if remove && local_id.is_a?(Fixnum) && local_id > Shard::IDS_PER_SHARD
343
343
  local_id
344
344
  end
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.5.20"
2
+ VERSION = "1.5.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.20
4
+ version: 1.5.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer