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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a10ff2c5140fc52ae5c1828d2810d14873cf0e7
4
- data.tar.gz: f11670cac58202eab647db16e8a4fc83c0724861
3
+ metadata.gz: ba9c79fb4e3da1831b0cb631847f95a11dd9f9f0
4
+ data.tar.gz: 337904675df01b67da124ae3cd3bb10dc3d862e8
5
5
  SHA512:
6
- metadata.gz: af874893cb311806fca79298b69481b7cd19ee22a0bdedc3eb289bfaff7a80471ea8bea624551990223247d720db9ab3dbf402019ee7400a8db11e373e60dce7
7
- data.tar.gz: 0fa0fde34f4e3f1cb0c9c48a2366ea76324e571d507d4b43ae1ca1a1b88ba68659452a0c3ca5a430cca73786acafa3cedfdc9578d5fb39b7bf81d9664c997943
6
+ metadata.gz: e7fd00d60785aecd1eba81691c54e7192bbf171da59ab86076b637b36150afd853669473efc15847d3564bc8e910f57ea9b01eba5d157a5915f6e64552e50b3c
7
+ data.tar.gz: 85b4ac26b09505a9dd5a2d417d33d7d0de190b5b981de2c8ee05d5679f246d999458f0d94111182dfb15f00163463dcf9f1f444d8bc667250abbc6f150be88b1
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.6.18
4
+
5
+ * Minor internal fixes to OData::Query::Criteria.
6
+
3
7
  ## 0.6.17
4
8
 
5
9
  * Added more graceful handling of manually passed advanced queries to
@@ -74,11 +74,11 @@ module OData
74
74
  end
75
75
 
76
76
  def url_value
77
- property.nil? ? value : property.url_value
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 unless property.nil?
81
+ property.value = value if property.respond_to?(:value)
82
82
 
83
83
  @operator = operator
84
84
  @value = value
@@ -1,3 +1,3 @@
1
1
  module OData
2
- VERSION = '0.6.17'
2
+ VERSION = '0.6.18'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.17
4
+ version: 0.6.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Thompson