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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cd2735837da417e0b1d16ef57f3682e9dd298df
4
- data.tar.gz: d205651a776733c1371cc6e4682c5112e183fdbb
3
+ metadata.gz: e8d8f7b558a7f1f95ecee7738999e5f626ea919e
4
+ data.tar.gz: 2eba394838de84343e31a8a53a118658f0aa0817
5
5
  SHA512:
6
- metadata.gz: 8fc398350349c460f237ec6de28a12120d9f22ade54e6f3694a93ecb6481e08433fb0b3e3ab643b77c06f79d3a6ee725cf3bb39233cbecfc3184ec0c68e45571
7
- data.tar.gz: 0eaa69f08ace7ede18debe89bc534322bcdf036bc92af7a1265cfd8859e2b5c849b52f27537112fb18c61c8225e23692124c7d357b5e40e7968433937883ec18
6
+ metadata.gz: 7fa83e0295997192e0e10b76969a476743698027a3543e7bbe9b03d4d0318bf5f6a360ee9ed11d043f79dc32c3782ad82e495728e6c111296cc785376b3d8d2e
7
+ data.tar.gz: e385c1bed5f4b4d428d5e701562fe962eda879d8c346ba04bc50a0652a974811b9999b3a9acffee09a917775f3340999daafe1eea024d8db9d21204871f4e70e
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 2.3.1
2
+
3
+ * Fix current_values not being written out (ntalbott)
4
+
1
5
  ### 2.3.0
2
6
 
3
7
  * Add conditional indexing. (ntalbott)
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Relix
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  REDIS_VERSION = "2.6"
4
4
 
5
5
  class Version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relix
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Talbott