active_cmis 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -1
- data/active_cmis.gemspec +8 -8
- data/lib/active_cmis/repository.rb +6 -2
- data/lib/active_cmis/version.rb +1 -1
- metadata +79 -87
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ActiveCMIS Release 0.2.
|
1
|
+
# ActiveCMIS Release 0.2.5 #
|
2
2
|
**Homepage**: <http://xaop.com/labs/activecmis>
|
3
3
|
**Git**: <http://github.com/xaop/activecmis>
|
4
4
|
**Documentation**: <http://rdoc.info/github/xaop/activecmis/master/frames>
|
@@ -16,6 +16,8 @@ ActiveCMIS is Ruby library aimed at easing the interaction with various CMIS pro
|
|
16
16
|
If you haven't installed Nokogiri yet it will be installed automatically, you will need a C compiler and the development files for libxml2.
|
17
17
|
|
18
18
|
> gem install active_cmis
|
19
|
+
|
20
|
+
ActiveCMIS also depends on ntlm-http for ntlm authentication, unfortunately ntlm-http is broken on ruby 1.9.2
|
19
21
|
## Usage ##
|
20
22
|
require 'active_cmis'
|
21
23
|
repository = ActiveCMIS.load_config('configuration', 'optional_filename_for_config')
|
data/active_cmis.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.2.
|
7
|
+
s.name = "active_cmis"
|
8
|
+
s.version = "0.2.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Joeri Samson"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2011-10-04"
|
13
|
+
s.description = "A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS."
|
14
|
+
s.email = "joeri@xaop.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.md",
|
@@ -49,11 +49,11 @@ Gem::Specification.new do |s|
|
|
49
49
|
"lib/active_cmis/type.rb",
|
50
50
|
"lib/active_cmis/version.rb"
|
51
51
|
]
|
52
|
-
s.homepage =
|
52
|
+
s.homepage = "http://xaop.com/labs/activecmis/"
|
53
53
|
s.require_paths = ["lib"]
|
54
54
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.6")
|
55
|
-
s.rubygems_version =
|
56
|
-
s.summary =
|
55
|
+
s.rubygems_version = "1.8.10"
|
56
|
+
s.summary = "A library to interact with CMIS repositories through the AtomPub/REST binding"
|
57
57
|
|
58
58
|
if s.respond_to? :specification_version then
|
59
59
|
s.specification_version = 3
|
@@ -216,8 +216,12 @@ module ActiveCMIS
|
|
216
216
|
|
217
217
|
# The root folder of the repository (as defined in the CMIS standard)
|
218
218
|
# @return [Folder]
|
219
|
-
def root_folder
|
220
|
-
|
219
|
+
def root_folder(reload = false)
|
220
|
+
if reload
|
221
|
+
@root_folder = object_by_id(data.xpath("cra:repositoryInfo/c:rootFolderId", NS::COMBINED).text)
|
222
|
+
else
|
223
|
+
@root_folder ||= object_by_id(data.xpath("cra:repositoryInfo/c:rootFolderId", NS::COMBINED).text)
|
224
|
+
end
|
221
225
|
end
|
222
226
|
|
223
227
|
# Returns an Internal::Connection object, normally you should not use this directly
|
data/lib/active_cmis/version.rb
CHANGED
metadata
CHANGED
@@ -1,108 +1,100 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_cmis
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.5
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.4
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
7
|
+
authors:
|
8
|
+
- Joeri Samson
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
description: A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS.
|
12
|
+
date: 2011-10-04 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: nokogiri
|
16
|
+
requirement: &70097038283340 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.4.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70097038283340
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: ntlm-http
|
27
|
+
requirement: &70097038330660 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.1.1
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70097038330660
|
36
|
+
description: A CMIS library implementing both reading and updating capabilities through
|
37
|
+
the AtomPub/REST binding to CMIS.
|
39
38
|
email: joeri@xaop.com
|
40
39
|
executables: []
|
41
|
-
|
42
40
|
extensions: []
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
- lib/active_cmis/version.rb
|
79
|
-
has_rdoc: true
|
41
|
+
extra_rdoc_files:
|
42
|
+
- LICENSE
|
43
|
+
- README.md
|
44
|
+
- TODO
|
45
|
+
files:
|
46
|
+
- LICENSE
|
47
|
+
- README.md
|
48
|
+
- Rakefile
|
49
|
+
- TODO
|
50
|
+
- active_cmis.gemspec
|
51
|
+
- lib/active_cmis.rb
|
52
|
+
- lib/active_cmis/acl.rb
|
53
|
+
- lib/active_cmis/acl_entry.rb
|
54
|
+
- lib/active_cmis/active_cmis.rb
|
55
|
+
- lib/active_cmis/atomic_types.rb
|
56
|
+
- lib/active_cmis/attribute_prefix.rb
|
57
|
+
- lib/active_cmis/collection.rb
|
58
|
+
- lib/active_cmis/document.rb
|
59
|
+
- lib/active_cmis/exceptions.rb
|
60
|
+
- lib/active_cmis/folder.rb
|
61
|
+
- lib/active_cmis/internal/caching.rb
|
62
|
+
- lib/active_cmis/internal/connection.rb
|
63
|
+
- lib/active_cmis/internal/utils.rb
|
64
|
+
- lib/active_cmis/ns.rb
|
65
|
+
- lib/active_cmis/object.rb
|
66
|
+
- lib/active_cmis/policy.rb
|
67
|
+
- lib/active_cmis/property_definition.rb
|
68
|
+
- lib/active_cmis/query_result.rb
|
69
|
+
- lib/active_cmis/rel.rb
|
70
|
+
- lib/active_cmis/relationship.rb
|
71
|
+
- lib/active_cmis/rendition.rb
|
72
|
+
- lib/active_cmis/repository.rb
|
73
|
+
- lib/active_cmis/server.rb
|
74
|
+
- lib/active_cmis/type.rb
|
75
|
+
- lib/active_cmis/version.rb
|
80
76
|
homepage: http://xaop.com/labs/activecmis/
|
81
77
|
licenses: []
|
82
|
-
|
83
78
|
post_install_message:
|
84
79
|
rdoc_options: []
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
83
|
none: false
|
90
|
-
requirements:
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 1.8.6
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
89
|
none: false
|
96
|
-
requirements:
|
97
|
-
|
98
|
-
|
99
|
-
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
100
94
|
requirements: []
|
101
|
-
|
102
95
|
rubyforge_project:
|
103
|
-
rubygems_version: 1.
|
96
|
+
rubygems_version: 1.8.10
|
104
97
|
signing_key:
|
105
98
|
specification_version: 3
|
106
99
|
summary: A library to interact with CMIS repositories through the AtomPub/REST binding
|
107
100
|
test_files: []
|
108
|
-
|