active_cmis 0.2.0 → 0.2.1

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.
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # ActiveCMIS Release 0.1.0 #
1
+ # ActiveCMIS Release 0.2.1 #
2
2
  **Homepage**: <http://xaop.com/labs/activecmis>
3
3
  **Git**: <http://github.com/xaop/activecmis>
4
- **Documentation**: <http://rdoc.info/projects/xaop/activecmis>
4
+ **Documentation**: <http://rdoc.info/github/xaop/activecmis/master/frames>
5
5
  **Author**: XAOP bvba
6
- **Copyright**: 2010
6
+ **Copyright**: 2011
7
7
  **License**: MIT License
8
8
  ## Synopsis ##
9
9
  ActiveCMIS is Ruby library aimed at easing the interaction with various CMIS providers. It creates Ruby objects for CMIS objects, and creates Ruby classes that correspond to CMIS types.
data/active_cmis.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{active_cmis}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
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-04-11}
12
+ s.date = %q{2011-05-17}
13
13
  s.description = %q{A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS.}
14
14
  s.email = %q{joeri@xaop.com}
15
15
  s.extra_rdoc_files = [
@@ -52,13 +52,14 @@ Gem::Specification.new do |s|
52
52
  s.homepage = %q{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.5.1}
55
+ s.rubygems_version = %q{1.3.6}
56
56
  s.summary = %q{A library to interact with CMIS repositories through the AtomPub/REST binding}
57
57
 
58
58
  if s.respond_to? :specification_version then
59
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
59
60
  s.specification_version = 3
60
61
 
61
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
62
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
62
63
  s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.1"])
63
64
  else
64
65
  s.add_dependency(%q<nokogiri>, [">= 1.4.1"])
@@ -178,6 +178,7 @@ module ActiveCMIS
178
178
  case status
179
179
  when 400; raise Error::InvalidArgument.new(response.body)
180
180
  # FIXME: can also be filterNotValid
181
+ when 401; raise HTTPError::AuthenticationError.new(response.body)
181
182
  when 404; raise Error::ObjectNotFound.new(response.body)
182
183
  when 403; raise Error::PermissionDenied.new(response.body)
183
184
  # FIXME: can also be streamNotSupported (?? shouldn't that be 405??)
@@ -2,7 +2,7 @@ module ActiveCMIS
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 0
5
+ PATCH = 1
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,29 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_cmis
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.2.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 1
9
+ version: 0.2.1
6
10
  platform: ruby
7
11
  authors:
8
- - Joeri Samson
12
+ - Joeri Samson
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
16
 
13
- date: 2011-04-11 00:00:00 +02:00
17
+ date: 2011-05-17 00:00:00 +02:00
14
18
  default_executable:
15
19
  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
20
+ - !ruby/object:Gem::Dependency
21
+ name: nokogiri
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 4
30
+ - 1
31
+ version: 1.4.1
32
+ type: :runtime
33
+ version_requirements: *id001
27
34
  description: A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS.
28
35
  email: joeri@xaop.com
29
36
  executables: []
@@ -31,40 +38,40 @@ executables: []
31
38
  extensions: []
32
39
 
33
40
  extra_rdoc_files:
34
- - LICENSE
35
- - README.md
36
- - TODO
41
+ - LICENSE
42
+ - README.md
43
+ - TODO
37
44
  files:
38
- - LICENSE
39
- - README.md
40
- - Rakefile
41
- - TODO
42
- - active_cmis.gemspec
43
- - lib/active_cmis.rb
44
- - lib/active_cmis/acl.rb
45
- - lib/active_cmis/acl_entry.rb
46
- - lib/active_cmis/active_cmis.rb
47
- - lib/active_cmis/atomic_types.rb
48
- - lib/active_cmis/attribute_prefix.rb
49
- - lib/active_cmis/collection.rb
50
- - lib/active_cmis/document.rb
51
- - lib/active_cmis/exceptions.rb
52
- - lib/active_cmis/folder.rb
53
- - lib/active_cmis/internal/caching.rb
54
- - lib/active_cmis/internal/connection.rb
55
- - lib/active_cmis/internal/utils.rb
56
- - lib/active_cmis/ns.rb
57
- - lib/active_cmis/object.rb
58
- - lib/active_cmis/policy.rb
59
- - lib/active_cmis/property_definition.rb
60
- - lib/active_cmis/query_result.rb
61
- - lib/active_cmis/rel.rb
62
- - lib/active_cmis/relationship.rb
63
- - lib/active_cmis/rendition.rb
64
- - lib/active_cmis/repository.rb
65
- - lib/active_cmis/server.rb
66
- - lib/active_cmis/type.rb
67
- - lib/active_cmis/version.rb
45
+ - LICENSE
46
+ - README.md
47
+ - Rakefile
48
+ - TODO
49
+ - active_cmis.gemspec
50
+ - lib/active_cmis.rb
51
+ - lib/active_cmis/acl.rb
52
+ - lib/active_cmis/acl_entry.rb
53
+ - lib/active_cmis/active_cmis.rb
54
+ - lib/active_cmis/atomic_types.rb
55
+ - lib/active_cmis/attribute_prefix.rb
56
+ - lib/active_cmis/collection.rb
57
+ - lib/active_cmis/document.rb
58
+ - lib/active_cmis/exceptions.rb
59
+ - lib/active_cmis/folder.rb
60
+ - lib/active_cmis/internal/caching.rb
61
+ - lib/active_cmis/internal/connection.rb
62
+ - lib/active_cmis/internal/utils.rb
63
+ - lib/active_cmis/ns.rb
64
+ - lib/active_cmis/object.rb
65
+ - lib/active_cmis/policy.rb
66
+ - lib/active_cmis/property_definition.rb
67
+ - lib/active_cmis/query_result.rb
68
+ - lib/active_cmis/rel.rb
69
+ - lib/active_cmis/relationship.rb
70
+ - lib/active_cmis/rendition.rb
71
+ - lib/active_cmis/repository.rb
72
+ - lib/active_cmis/server.rb
73
+ - lib/active_cmis/type.rb
74
+ - lib/active_cmis/version.rb
68
75
  has_rdoc: true
69
76
  homepage: http://xaop.com/labs/activecmis/
70
77
  licenses: []
@@ -73,23 +80,27 @@ post_install_message:
73
80
  rdoc_options: []
74
81
 
75
82
  require_paths:
76
- - lib
83
+ - lib
77
84
  required_ruby_version: !ruby/object:Gem::Requirement
78
- none: false
79
85
  requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 1.8.6
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ segments:
89
+ - 1
90
+ - 8
91
+ - 6
92
+ version: 1.8.6
83
93
  required_rubygems_version: !ruby/object:Gem::Requirement
84
- none: false
85
94
  requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: "0"
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ segments:
98
+ - 0
99
+ version: "0"
89
100
  requirements: []
90
101
 
91
102
  rubyforge_project:
92
- rubygems_version: 1.5.1
103
+ rubygems_version: 1.3.6
93
104
  signing_key:
94
105
  specification_version: 3
95
106
  summary: A library to interact with CMIS repositories through the AtomPub/REST binding