active_cmis 0.1.10 → 0.1.11

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/Rakefile CHANGED
@@ -14,8 +14,10 @@ end
14
14
 
15
15
  begin
16
16
  require 'jeweler'
17
+ require './lib/active_cmis/version'
17
18
  Jeweler::Tasks.new do |gemspec|
18
19
  gemspec.name = "active_cmis"
20
+ gemspec.version = ActiveCMIS::Version::STRING
19
21
  gemspec.summary = "A library to interact with CMIS repositories through the AtomPub/REST binding"
20
22
  gemspec.description = "A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS."
21
23
  gemspec.email = "joeri@xaop.com"
@@ -186,11 +186,11 @@ module ActiveCMIS
186
186
  @attributes[attr.id] = attr
187
187
  end
188
188
  end
189
- if %w(cmis:folder cmis:document).include? @baseId and not @fileable
190
- logger.warn "The server behaved strange: #{@id}, with basetype #{@baseId} MUST be fileable"
189
+ if %w(cmis:folder cmis:document).include? @base_id and not @fileable
190
+ repository.logger.warn "The server behaved strange: #{@id}, with basetype #{@base_id} MUST be fileable"
191
191
  @fileable = true
192
- elsif @baseId == "cmis:relationship" and @fileable
193
- logger.warn "The server behaved strange: #{@id}, with basetype #{@baseId} MUST NOT be fileable"
192
+ elsif @base_id == "cmis:relationship" and @fileable
193
+ repository.logger.warn "The server behaved strange: #{@id}, with basetype #{@base_id} MUST NOT be fileable"
194
194
  @fileable = false
195
195
  end
196
196
  @attributes.freeze
@@ -0,0 +1,8 @@
1
+ class ActiveCMIS
2
+ module Version
3
+ MAJOR = 0
4
+ MINOR = 1
5
+ PATCH = 11
6
+ STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
+ end
8
+ end
metadata CHANGED
@@ -1,95 +1,87 @@
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.1.11
4
5
  prerelease:
5
- version: 0.1.10
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-04-06 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
- description: A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS.
12
+ date: 2011-04-08 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: &69556660 !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: *69556660
25
+ description: A CMIS library implementing both reading and updating capabilities through
26
+ the AtomPub/REST binding to CMIS.
28
27
  email: joeri@xaop.com
29
28
  executables: []
30
-
31
29
  extensions: []
32
-
33
- extra_rdoc_files:
34
- - LICENSE
35
- - README.md
36
- - TODO
37
- files:
38
- - LICENSE
39
- - README.md
40
- - Rakefile
41
- - TODO
42
- - VERSION
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/rel.rb
61
- - lib/active_cmis/relationship.rb
62
- - lib/active_cmis/rendition.rb
63
- - lib/active_cmis/repository.rb
64
- - lib/active_cmis/server.rb
65
- - lib/active_cmis/type.rb
66
- has_rdoc: true
30
+ extra_rdoc_files:
31
+ - LICENSE
32
+ - README.md
33
+ - TODO
34
+ files:
35
+ - LICENSE
36
+ - README.md
37
+ - Rakefile
38
+ - TODO
39
+ - lib/active_cmis.rb
40
+ - lib/active_cmis/acl.rb
41
+ - lib/active_cmis/acl_entry.rb
42
+ - lib/active_cmis/active_cmis.rb
43
+ - lib/active_cmis/atomic_types.rb
44
+ - lib/active_cmis/attribute_prefix.rb
45
+ - lib/active_cmis/collection.rb
46
+ - lib/active_cmis/document.rb
47
+ - lib/active_cmis/exceptions.rb
48
+ - lib/active_cmis/folder.rb
49
+ - lib/active_cmis/internal/caching.rb
50
+ - lib/active_cmis/internal/connection.rb
51
+ - lib/active_cmis/internal/utils.rb
52
+ - lib/active_cmis/ns.rb
53
+ - lib/active_cmis/object.rb
54
+ - lib/active_cmis/policy.rb
55
+ - lib/active_cmis/property_definition.rb
56
+ - lib/active_cmis/rel.rb
57
+ - lib/active_cmis/relationship.rb
58
+ - lib/active_cmis/rendition.rb
59
+ - lib/active_cmis/repository.rb
60
+ - lib/active_cmis/server.rb
61
+ - lib/active_cmis/type.rb
62
+ - lib/active_cmis/version.rb
67
63
  homepage: http://xaop.com/labs/activecmis/
68
64
  licenses: []
69
-
70
65
  post_install_message:
71
66
  rdoc_options: []
72
-
73
- require_paths:
74
- - lib
75
- required_ruby_version: !ruby/object:Gem::Requirement
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
76
70
  none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: 1.8.6
81
- required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ version: 1.8.6
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
76
  none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- version: "0"
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
87
81
  requirements: []
88
-
89
82
  rubyforge_project:
90
- rubygems_version: 1.5.1
83
+ rubygems_version: 1.7.2
91
84
  signing_key:
92
85
  specification_version: 3
93
86
  summary: A library to interact with CMIS repositories through the AtomPub/REST binding
94
87
  test_files: []
95
-
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.10