yaccl 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yaccl/model/repository.rb +11 -0
- data/lib/yaccl/services/internal/browser_binding_service.rb +1 -0
- data/lib/yaccl/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: 72522a255444827002f96e13cf166acb902bf6c7
|
4
|
+
data.tar.gz: 1b5c8b95d1816d80b67a81e7b9d5c5398a667b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cf8d2349841adaaa067355e9dac7b31bf8e34377d64d4a48637a80a757959b942aaaa003e9da000ae4f7b054ffccae581a843b1798037da857c197946fd4c96
|
7
|
+
data.tar.gz: 247db1fca88af0847b19552765fe746d4705ce6305749f6d8a9391f3dfd1c838bdd6194210a1689be2d0652c8d0186e78528705b1e899891f71a1bae6cda8360
|
@@ -125,6 +125,17 @@ module YACCL
|
|
125
125
|
result[:results]
|
126
126
|
end
|
127
127
|
|
128
|
+
def query_for_each_chunk(statement, chunk_size, &block)
|
129
|
+
skip_count = 0
|
130
|
+
has_more_items = true
|
131
|
+
while has_more_items
|
132
|
+
result = Services.query(id, statement, nil, nil, nil, nil, chunk_size, skip_count)
|
133
|
+
yield(result[:results].map! { |o| ObjectFactory.create(id, o) })
|
134
|
+
has_more_items = result[:hasMoreItems]
|
135
|
+
skip_count += chunk_size
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
128
139
|
def content_changes(change_log_token)
|
129
140
|
Services.get_content_changes(id, change_log_token, nil, nil, nil, nil)
|
130
141
|
end
|
data/lib/yaccl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaccl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenneth Geerts
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: typhoeus
|