relix 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/relix/index_set.rb +1 -1
- data/lib/relix/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: e8d8f7b558a7f1f95ecee7738999e5f626ea919e
|
4
|
+
data.tar.gz: 2eba394838de84343e31a8a53a118658f0aa0817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fa83e0295997192e0e10b76969a476743698027a3543e7bbe9b03d4d0318bf5f6a360ee9ed11d043f79dc32c3782ad82e495728e6c111296cc785376b3d8d2e
|
7
|
+
data.tar.gz: e385c1bed5f4b4d428d5e701562fe962eda879d8c346ba04bc50a0652a974811b9999b3a9acffee09a917775f3340999daafe1eea024d8db9d21204871f4e70e
|
data/HISTORY.md
CHANGED
data/lib/relix/index_set.rb
CHANGED
@@ -138,10 +138,10 @@ module Relix
|
|
138
138
|
((watch = index.watch(value, old_value)) && redis.watch(*watch))
|
139
139
|
|
140
140
|
if index.index?(redis, object, value)
|
141
|
+
new_current_values[name] = value unless index.attribute_immutable?
|
141
142
|
next if value == old_value
|
142
143
|
next unless index.filter(redis, object, value)
|
143
144
|
|
144
|
-
new_current_values[name] = value unless index.attribute_immutable?
|
145
145
|
query_value = index.query(redis, value)
|
146
146
|
proc do
|
147
147
|
index.index(redis, pk, object, value, old_value, *query_value)
|
data/lib/relix/version.rb
CHANGED