yaccl 0.0.32 → 0.0.33

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6add7bd61f43ff50dcce84e8ccbb1efb3f3b765
4
- data.tar.gz: eb8d0a1f89079a8092c36ef48c0915a0090b6742
3
+ metadata.gz: 56f4fac51c80131d8619c5cfce687475e823179d
4
+ data.tar.gz: 8eb0fc9b0aa0c4d6bb8304333b62efc621451bb8
5
5
  SHA512:
6
- metadata.gz: a1e122e9611d150569775fa88905353a7117ffc7f3f12a5edd3043e348843ea601c32ad527de0f92a676e64314fe864a095d6b24e17af551c7833243c866cc1d
7
- data.tar.gz: afd2c1a53c0fb23e32ef916c0b2a7d821c6f7ef173533d1c9fd4da7c670c2c29e64e90ac321ebfb4c674d5467fbf3f94b35812c214643e78283458062c0b9047
6
+ metadata.gz: 3234743599f67a8eb93e01757d865c4461a17bc2cfdd1552e2fb7ed4b8ea955f4ec0cf8777d0e6d96c2a8e47e5100b451dc8a54a785a0c2671401985100ad644
7
+ data.tar.gz: e9ed4243879cafc394b32f0f7b0940bc7637a063a5e2db5c10c62c595249f7c520f87c22aba63dc5c43a2cf872e1c25933307ac0e9a8c54690375427d4561165
@@ -54,7 +54,8 @@ module YACCL
54
54
  if detached?
55
55
  @local_content = content
56
56
  else
57
- Services.set_content_stream(repository_id, object_id, nil, change_token, content)
57
+ r = Services.set_content_stream(repository_id, object_id, nil, change_token, content)
58
+ change_token = r[:properties][:'cmis:changeToken'][:value]
58
59
  end
59
60
  end
60
61
 
@@ -23,8 +23,8 @@ module YACCL
23
23
  end
24
24
  end
25
25
 
26
- def children(max_items=nil, skip_count=nil)
27
- children = Services.get_children(repository_id, object_id, nil, nil, nil, nil, nil, nil, max_items, skip_count)
26
+ def children(options={})
27
+ children = Services.get_children(repository_id, object_id, options[:filter], options[:order_by], options[:include_allowable_actions], options[:include_relations], options[:rendition_filter], options[:include_path_segment], options[:max_items], options[:skip_count])
28
28
  if children[:objects]
29
29
  children[:objects].map! { |o| ObjectFactory.create(repository_id, o[:object]) }
30
30
  else
@@ -45,7 +45,8 @@ module YACCL
45
45
  end
46
46
 
47
47
  def update_properties(properties)
48
- Services.update_properties(repository_id, object_id, change_token, properties)
48
+ r = Services.update_properties(repository_id, object_id, change_token, properties)
49
+ change_token = r[:properties][:'cmis:changeToken'][:value]
49
50
  end
50
51
 
51
52
  def parents
data/lib/yaccl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module YACCL
2
- VERSION = '0.0.32'
2
+ VERSION = '0.0.33'
3
3
  end
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.0.32
4
+ version: 0.0.33
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: 2013-10-17 00:00:00.000000000 Z
12
+ date: 2013-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.0.3
126
+ rubygems_version: 2.1.10
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: CMIS browser binding client lib.