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 CHANGED
@@ -1,4 +1,4 @@
1
- # ActiveCMIS Release 0.2.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 = %q{active_cmis}
8
- s.version = "0.2.4"
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 = %q{2011-09-30}
13
- s.description = %q{A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS.}
14
- s.email = %q{joeri@xaop.com}
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 = %q{http://xaop.com/labs/activecmis/}
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 = %q{1.6.2}
56
- s.summary = %q{A library to interact with CMIS repositories through the AtomPub/REST binding}
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
- @root_folder ||= object_by_id(data.xpath("cra:repositoryInfo/c:rootFolderId", NS::COMBINED).text)
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
@@ -2,7 +2,7 @@ module ActiveCMIS
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 4
5
+ PATCH = 5
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
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
- - Joeri Samson
7
+ authors:
8
+ - Joeri Samson
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-09-30 00:00:00 +02:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: nokogiri
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: 1.4.1
25
- type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: ntlm-http
29
- prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ~>
34
- - !ruby/object:Gem::Version
35
- version: 0.1.1
36
- type: :runtime
37
- version_requirements: *id002
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
- extra_rdoc_files:
45
- - LICENSE
46
- - README.md
47
- - TODO
48
- files:
49
- - LICENSE
50
- - README.md
51
- - Rakefile
52
- - TODO
53
- - active_cmis.gemspec
54
- - lib/active_cmis.rb
55
- - lib/active_cmis/acl.rb
56
- - lib/active_cmis/acl_entry.rb
57
- - lib/active_cmis/active_cmis.rb
58
- - lib/active_cmis/atomic_types.rb
59
- - lib/active_cmis/attribute_prefix.rb
60
- - lib/active_cmis/collection.rb
61
- - lib/active_cmis/document.rb
62
- - lib/active_cmis/exceptions.rb
63
- - lib/active_cmis/folder.rb
64
- - lib/active_cmis/internal/caching.rb
65
- - lib/active_cmis/internal/connection.rb
66
- - lib/active_cmis/internal/utils.rb
67
- - lib/active_cmis/ns.rb
68
- - lib/active_cmis/object.rb
69
- - lib/active_cmis/policy.rb
70
- - lib/active_cmis/property_definition.rb
71
- - lib/active_cmis/query_result.rb
72
- - lib/active_cmis/rel.rb
73
- - lib/active_cmis/relationship.rb
74
- - lib/active_cmis/rendition.rb
75
- - lib/active_cmis/repository.rb
76
- - lib/active_cmis/server.rb
77
- - lib/active_cmis/type.rb
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
- require_paths:
87
- - lib
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
- - !ruby/object:Gem::Version
93
- version: 1.8.6
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
- - !ruby/object:Gem::Version
99
- version: "0"
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
100
94
  requirements: []
101
-
102
95
  rubyforge_project:
103
- rubygems_version: 1.6.2
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
-