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 +4 -4
- data/lib/switchman/active_record/query_methods.rb +1 -1
- data/lib/switchman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6c8d63c04c23a59c2cda990cbed599098887d5e
|
4
|
+
data.tar.gz: 421b3c6dad49777eb5b032d82a579bc0a2802d89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/switchman/version.rb
CHANGED