active_cmis 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/TODO CHANGED
@@ -1,6 +1,5 @@
1
1
  - For {ActiveCMIS::Rendition#get_file Rendition#get_file}:
2
2
  * filename should be optional, a temporary file should be created (e.g. in /tmp) if no filename is given
3
- * Downloading content should use streaming where possible
4
3
  - For {ActiveCMIS::Type::ClassMethods#attributes Type::ClassMethods#attributes}: inherited parameter is misleading (+ default is wrong, some other code depends on it being true by default if it would work)
5
4
  - improve use of correct Exceptions:
6
5
  * don't throw RuntimeError anymore (except perhaps where the library code is the only code that could cause the exception)
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 = "active_cmis"
8
- s.version = "0.2.5"
7
+ s.name = %q{active_cmis}
8
+ s.version = "0.2.6"
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 = "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"
12
+ s.date = %q{2011-10-11}
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}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
17
  "README.md",
@@ -49,13 +49,14 @@ Gem::Specification.new do |s|
49
49
  "lib/active_cmis/type.rb",
50
50
  "lib/active_cmis/version.rb"
51
51
  ]
52
- s.homepage = "http://xaop.com/labs/activecmis/"
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 = "1.8.10"
56
- s.summary = "A library to interact with CMIS repositories through the AtomPub/REST binding"
55
+ s.rubygems_version = %q{1.3.7}
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
62
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -215,7 +215,7 @@ module ActiveCMIS
215
215
  else
216
216
  raise HTTPError::ClientError.new("A HTTP #{status} error occured, for more precision update the code:\n" + body)
217
217
  end
218
- elsif 400 <= status && status < 500
218
+ elsif 500 <= status
219
219
  raise HTTPError::ServerError.new("The server encountered an internal error #{status} (this could be a client error though):\n" + body)
220
220
  end
221
221
  end
@@ -2,7 +2,7 @@ module ActiveCMIS
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 5
5
+ PATCH = 6
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,48 +1,66 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: active_cmis
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.5
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 6
10
+ version: 0.2.6
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Joeri Samson
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-10-04 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-10-11 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: nokogiri
16
- requirement: &70097038283340 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 5
30
+ segments:
31
+ - 1
32
+ - 4
33
+ - 1
21
34
  version: 1.4.1
22
35
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70097038283340
25
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
26
38
  name: ntlm-http
27
- requirement: &70097038330660 !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
28
41
  none: false
29
- requirements:
42
+ requirements:
30
43
  - - ~>
31
- - !ruby/object:Gem::Version
44
+ - !ruby/object:Gem::Version
45
+ hash: 25
46
+ segments:
47
+ - 0
48
+ - 1
49
+ - 1
32
50
  version: 0.1.1
33
51
  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.
52
+ version_requirements: *id002
53
+ description: A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS.
38
54
  email: joeri@xaop.com
39
55
  executables: []
56
+
40
57
  extensions: []
41
- extra_rdoc_files:
58
+
59
+ extra_rdoc_files:
42
60
  - LICENSE
43
61
  - README.md
44
62
  - TODO
45
- files:
63
+ files:
46
64
  - LICENSE
47
65
  - README.md
48
66
  - Rakefile
@@ -73,28 +91,41 @@ files:
73
91
  - lib/active_cmis/server.rb
74
92
  - lib/active_cmis/type.rb
75
93
  - lib/active_cmis/version.rb
94
+ has_rdoc: true
76
95
  homepage: http://xaop.com/labs/activecmis/
77
96
  licenses: []
97
+
78
98
  post_install_message:
79
99
  rdoc_options: []
80
- require_paths:
100
+
101
+ require_paths:
81
102
  - lib
82
- required_ruby_version: !ruby/object:Gem::Requirement
103
+ required_ruby_version: !ruby/object:Gem::Requirement
83
104
  none: false
84
- requirements:
85
- - - ! '>='
86
- - !ruby/object:Gem::Version
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ hash: 59
109
+ segments:
110
+ - 1
111
+ - 8
112
+ - 6
87
113
  version: 1.8.6
88
- required_rubygems_version: !ruby/object:Gem::Requirement
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
115
  none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
122
+ version: "0"
94
123
  requirements: []
124
+
95
125
  rubyforge_project:
96
- rubygems_version: 1.8.10
126
+ rubygems_version: 1.3.7
97
127
  signing_key:
98
128
  specification_version: 3
99
129
  summary: A library to interact with CMIS repositories through the AtomPub/REST binding
100
130
  test_files: []
131
+