dm-datastore-adapter 0.2.1 → 0.2.2
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/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
|