odata-model 0.6.5 → 0.6.6
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/model/query_proxy.rb +6 -0
- data/lib/odata/model/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: 42afeea8024b07520aa806548a55546735cda5fc
|
4
|
+
data.tar.gz: 8b79b9fc2185902dff6ebb1f79b49ae09438a621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc2d58b8c32689dce5e74fd491149af9d100424ff199ef792e08265a34ba96f9238a80e365acf5734b9df722024bcc44badb42661218d8fb52ff3d1cbb353429
|
7
|
+
data.tar.gz: 06107450d1d6ca79ea42ed4f820c0c374f595b949715d11e881424d8312c01a0954d84e5f4265036b74d69ef15b8c0473453ccf6bd4f3de76e1e597f2b21a539
|
data/CHANGELOG.md
CHANGED
@@ -92,6 +92,12 @@ module OData
|
|
92
92
|
query.count
|
93
93
|
end
|
94
94
|
|
95
|
+
# Indicates whether the query will return any results
|
96
|
+
# @return [Boolean]
|
97
|
+
def empty?
|
98
|
+
query.count > 0
|
99
|
+
end
|
100
|
+
|
95
101
|
# Executes the query and returns each instance of the target model in
|
96
102
|
# turn.
|
97
103
|
def each(&block)
|
data/lib/odata/model/version.rb
CHANGED