dm-datastore-adapter 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/dm-datastore-adapter/datastore-adapter.rb +2 -2
- metadata +1 -1
data/Rakefile
CHANGED
@@ -197,8 +197,8 @@ module DataMapper
|
|
197
197
|
raise InvalidConditionError,
|
198
198
|
"OR condition is allowed only for :eql operator"
|
199
199
|
end
|
200
|
-
value
|
201
|
-
|
200
|
+
value, *posis = *value
|
201
|
+
yield(:eql, property, posis) unless posis.empty?
|
202
202
|
end
|
203
203
|
q = q.add_filter(property.field, ds_op, value)
|
204
204
|
end
|