cmis-ruby 0.5.19 → 0.5.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1313a818e6739fa23f8bacac661ba1479b861b36
4
- data.tar.gz: 26b052dabf5cb00d06493c11bfd0f6ef5554361f
3
+ metadata.gz: 65bdade7fedc66f3a8528af503ccca32126bea4e
4
+ data.tar.gz: b9f763baddee5daf61aa0290c1eee82dd8544f6c
5
5
  SHA512:
6
- metadata.gz: bdc878e575f74629e406d34ac653a9d20c1cb06baf75c12abc682a7abadd555c30550d486825ce366fa0060b3dd94349200af35c55175832413346e0b20a042a
7
- data.tar.gz: c26133e38bfcc98697648b306cd14ed3925fc853c362125a17151c9dc410926cc957ab445d81f0b1f2d57c495e3b11a0a10a3213ffa9dfdb424c05b0a990ba91
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
- # CMIS AWS trickery
66
- @total = @total == -1 ? do_query.num_items : @total
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
@@ -1,3 +1,3 @@
1
1
  module CMIS
2
- VERSION = '0.5.19'
2
+ VERSION = '0.5.20'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmis-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.19
4
+ version: 0.5.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenneth Geerts