dm-redis-adapter 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.textile CHANGED
@@ -14,6 +14,7 @@ Please note that as of version 0.5.3 of the gem, the key names that are used for
14
14
 
15
15
  h1. Changelog
16
16
 
17
+ * v0.8.4 Fixes for composite keys (thanks @krider2010)
17
18
  * v0.8.2 Updates to RedisAdapter#initialize to support URI. (thanks @thentenaar)
18
19
  * v0.8.1 Dependency updates by @jof to support newer versions of the redis gem.
19
20
  * v0.8.0 Updates by @sfeu to support composite natural keys.
@@ -116,4 +117,4 @@ h1. Badass contributors
116
117
  * <a href="http://github.com/sheuer">Stephen Heuer (@sheuer)</a> Fixes to deleted assosciations
117
118
  * <a href="http://github.com/snovotny">Steve Novotny (@snovotny)</a> Fixing a bug with 'destroyed' objects
118
119
  * <a href="http://github.com/thecurator">Andrew Janssen (@thecurator)</a> Fixing a bug with non-index, non-key queries
119
- * <a href="http://github.com/krider2010">Claire (@krider2010)</a> Update version of redis gem dependency
120
+ * <a href="http://github.com/krider2010">Claire (@krider2010)</a> Update version of redis gem dependency, fixes for composite keys.
@@ -150,7 +150,7 @@ module DataMapper
150
150
  value =""
151
151
  storage_name = query.model.storage_name
152
152
  query.conditions.operands.each do |operand|
153
- value += operand.value if operand.subject.key?
153
+ value += operand.value.to_s if operand.subject.key?
154
154
  end
155
155
 
156
156
  if @redis.sismember(key_set_for(query.model), value)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-redis-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: