odata 0.6.17 → 0.6.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/odata/query/criteria.rb +2 -2
- data/lib/odata/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: ba9c79fb4e3da1831b0cb631847f95a11dd9f9f0
|
4
|
+
data.tar.gz: 337904675df01b67da124ae3cd3bb10dc3d862e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7fd00d60785aecd1eba81691c54e7192bbf171da59ab86076b637b36150afd853669473efc15847d3564bc8e910f57ea9b01eba5d157a5915f6e64552e50b3c
|
7
|
+
data.tar.gz: 85b4ac26b09505a9dd5a2d417d33d7d0de190b5b981de2c8ee05d5679f246d999458f0d94111182dfb15f00163463dcf9f1f444d8bc667250abbc6f150be88b1
|
data/CHANGELOG.md
CHANGED
data/lib/odata/query/criteria.rb
CHANGED
@@ -74,11 +74,11 @@ module OData
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def url_value
|
77
|
-
property.
|
77
|
+
property.respond_to?(:url_value) ? property.url_value : value
|
78
78
|
end
|
79
79
|
|
80
80
|
def set_operator_and_value(operator, value)
|
81
|
-
property.value = value
|
81
|
+
property.value = value if property.respond_to?(:value)
|
82
82
|
|
83
83
|
@operator = operator
|
84
84
|
@value = value
|
data/lib/odata/version.rb
CHANGED