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 +4 -4
- data/lib/yaccl/model/document.rb +2 -1
- data/lib/yaccl/model/folder.rb +2 -2
- data/lib/yaccl/model/object.rb +2 -1
- data/lib/yaccl/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56f4fac51c80131d8619c5cfce687475e823179d
|
4
|
+
data.tar.gz: 8eb0fc9b0aa0c4d6bb8304333b62efc621451bb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3234743599f67a8eb93e01757d865c4461a17bc2cfdd1552e2fb7ed4b8ea955f4ec0cf8777d0e6d96c2a8e47e5100b451dc8a54a785a0c2671401985100ad644
|
7
|
+
data.tar.gz: e9ed4243879cafc394b32f0f7b0940bc7637a063a5e2db5c10c62c595249f7c520f87c22aba63dc5c43a2cf872e1c25933307ac0e9a8c54690375427d4561165
|
data/lib/yaccl/model/document.rb
CHANGED
@@ -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
|
|
data/lib/yaccl/model/folder.rb
CHANGED
@@ -23,8 +23,8 @@ module YACCL
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
def children(
|
27
|
-
children = Services.get_children(repository_id, object_id,
|
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
|
data/lib/yaccl/model/object.rb
CHANGED
@@ -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
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.
|
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-
|
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.
|
126
|
+
rubygems_version: 2.1.10
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: CMIS browser binding client lib.
|