cmis-ruby 0.5.19 → 0.5.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cmis/query.rb +9 -2
- data/lib/cmis/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: 65bdade7fedc66f3a8528af503ccca32126bea4e
|
4
|
+
data.tar.gz: b9f763baddee5daf61aa0290c1eee82dd8544f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e247e1c8e8d14498a26a0a1082cc82dcdfae19f597e6ead53763d6b08da0580185716aceb1b2106a6866909a0b9ceb2033665b775bca700428766a371be636cd
|
7
|
+
data.tar.gz: 2bb0767be7a65dd7be7b015558e6f4d8439832aae1fa0f335b79cd1d6e8dcea6f7f475af84c0018e04072e85abcc8c0dc3439c97c9abd721c4a9f3185f349166
|
data/lib/cmis/query.rb
CHANGED
@@ -53,6 +53,7 @@ module CMIS
|
|
53
53
|
@skip_count += result.results.size
|
54
54
|
@has_next = result.has_more_items
|
55
55
|
@total = result.num_items
|
56
|
+
@debug_info = result.debug_info
|
56
57
|
|
57
58
|
result.results
|
58
59
|
end
|
@@ -62,8 +63,14 @@ module CMIS
|
|
62
63
|
end
|
63
64
|
|
64
65
|
def total
|
65
|
-
|
66
|
-
|
66
|
+
result = do_query
|
67
|
+
|
68
|
+
@debug_info = result.debug_info
|
69
|
+
@total = @total == -1 ? result.num_items : @total # CMIS AWS trickery
|
70
|
+
end
|
71
|
+
|
72
|
+
def debug_info
|
73
|
+
@debug_info
|
67
74
|
end
|
68
75
|
|
69
76
|
private
|
data/lib/cmis/version.rb
CHANGED