odata-model 0.5.18 → 0.5.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/odata/model/query_proxy.rb +6 -0
- data/lib/odata/model/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b1fc0e7232a9bde95d4e1c592c57e4b05b4b43b
|
4
|
+
data.tar.gz: 36660af2ef6abd05cab7d7db9e091d43fa15f01a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644e307c8f9d1eb859b842d7e5b7caddd8f7ffb2c6cfc031f2e3cd6d06e58b49f5aa0a4374b5dbd059e586a4a154cbf88d29e29b1c81c5f9cec473f5f1bae18c
|
7
|
+
data.tar.gz: 34e0b3fc78a6a57e08c753921cefcc03cbc4784f3c319d52b708628b176aaa363507928d66eb0c223ee0a041e59ad098ef0703da9a8276c2b5b478034a18fb62
|
@@ -82,6 +82,12 @@ module OData
|
|
82
82
|
self
|
83
83
|
end
|
84
84
|
|
85
|
+
# Provides a faster implementation of Enumerable#count
|
86
|
+
# @return [Integer]
|
87
|
+
def count
|
88
|
+
query.count
|
89
|
+
end
|
90
|
+
|
85
91
|
# Executes the query and returns each instance of the target model in
|
86
92
|
# turn.
|
87
93
|
def each(&block)
|
data/lib/odata/model/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: odata-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|