cmis-ruby 0.5.13 → 0.5.14

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: 1183eeac5fc3fdb9b24dd3105f22c6799597a532
4
- data.tar.gz: 2e056b6e5b0dc938bf5b5f9b19b660fb127653fd
3
+ metadata.gz: 58cfeb649a85e31ecb37293ae91548ff6471af14
4
+ data.tar.gz: 7a896340bdfb5d41cbbd1aaf95086b2e9d53f104
5
5
  SHA512:
6
- metadata.gz: 163f633504dcdcbae0b3280c234dced6973470b06415559bfcb7a3baf581b5deb04d1cebdaca40080a603f8f4df0d0b574344e7d158229cc19772c0b57ce4f64
7
- data.tar.gz: 44fda5086733956e81acfe9e3e3f415cc24d1a888efa948241cea8fb55a921efecda2b1dd9799b356a93dda85f6bcd4172b81f4aa3d71c6efd3f384c60533a1e
6
+ metadata.gz: b7531ad71ba116b96ae7204bbebec1e82c07195fb552480199f3664aa408196cf7641a5b3ac5e57dcfc3562530f2d2b80a1b585d600da2e850475f0b2e191be5
7
+ data.tar.gz: 767cec2589cf6d65147ca4765a25b8961e704a742d8ec258db90743cd1ddfcb79574fd4cb8b0a92f8e874943e9a2351880569a32eec507f84b77a987c3634f2d
@@ -9,6 +9,8 @@ module CMIS
9
9
  @statement = statement
10
10
  @options = options.symbolize_keys
11
11
 
12
+ @total = -1
13
+
12
14
  init_options
13
15
  end
14
16
 
@@ -60,7 +62,8 @@ module CMIS
60
62
  end
61
63
 
62
64
  def total
63
- @total ||= do_query.num_items
65
+ # CMIS AWS trickery
66
+ @total = @total == -1 ? do_query.num_items : @total
64
67
  end
65
68
 
66
69
  private
@@ -1,3 +1,3 @@
1
1
  module CMIS
2
- VERSION = '0.5.13'
2
+ VERSION = '0.5.14'
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.13
4
+ version: 0.5.14
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-09-03 00:00:00.000000000 Z
12
+ date: 2014-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday