active_cmis 0.3.4 → 0.3.5
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.
- checksums.yaml +7 -0
- data/README.md +4 -4
- data/Rakefile +2 -4
- data/VERSION.yml +5 -0
- data/active_cmis.gemspec +13 -11
- data/lib/active_cmis/document.rb +4 -1
- data/lib/active_cmis/version.rb +5 -3
- metadata +41 -21
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 73be5e191af1ff5ddbcd9ec749b9febcd1c1ef8f
|
4
|
+
data.tar.gz: b35b321fffe55f7acb2315ffba9ba41b02e90422
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0032a3f6605b66b5ae22e3c74280ca8efd4476259409454142ea61c4bcf8e97ff9582c3c9e57f3af3cf40c371ecf15ca658c7d1e2b930d66c6b392dd1cba72e1
|
7
|
+
data.tar.gz: 126ac9fd45c3557dd73b3d16f8d035aac2df8285f8cb99f482d003f2ead883a28ec8a16b588ef52e00dd8110a8e03305a34889fc3cdda870167b8bb31ad6722f
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# ActiveCMIS Release 0.3.4 #
|
2
2
|
**Git**: <http://github.com/xaop/activecmis>
|
3
|
-
**Documentation**: <http://rdoc.info/github/xaop/activecmis/master/frames>
|
4
|
-
**Author**: XAOP bvba
|
5
|
-
**Copyright**: 2011
|
6
|
-
**License**: MIT License
|
3
|
+
**Documentation**: <http://rdoc.info/github/xaop/activecmis/master/frames>
|
4
|
+
**Author**: XAOP bvba
|
5
|
+
**Copyright**: 2011
|
6
|
+
**License**: MIT License
|
7
7
|
## Synopsis ##
|
8
8
|
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.
|
9
9
|
## Features ##
|
data/Rakefile
CHANGED
@@ -13,10 +13,8 @@ end
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
require 'jeweler'
|
16
|
-
require './lib/active_cmis/version'
|
17
16
|
Jeweler::Tasks.new do |gemspec|
|
18
17
|
gemspec.name = "active_cmis"
|
19
|
-
gemspec.version = ActiveCMIS::Version::STRING
|
20
18
|
gemspec.summary = "A library to interact with CMIS repositories through the AtomPub/REST binding"
|
21
19
|
gemspec.description = "A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS."
|
22
20
|
gemspec.email = "joeri@xaop.com"
|
@@ -24,8 +22,8 @@ begin
|
|
24
22
|
gemspec.authors = ["Joeri Samson"]
|
25
23
|
|
26
24
|
gemspec.add_runtime_dependency 'nokogiri', '>= 1.4.1'
|
27
|
-
gemspec.add_runtime_dependency 'ntlm-http', '~> 0.1.1'
|
28
|
-
gemspec.add_runtime_dependency 'require_relative', '~> 1.0.2'
|
25
|
+
gemspec.add_runtime_dependency 'ntlm-http', '~> 0.1', '>= 0.1.1'
|
26
|
+
gemspec.add_runtime_dependency 'require_relative', '~> 1.0', '>= 1.0.2'
|
29
27
|
|
30
28
|
gemspec.required_ruby_version = '>= 1.8.6'
|
31
29
|
gemspec.files.exclude '.gitignore'
|
data/VERSION.yml
ADDED
data/active_cmis.gemspec
CHANGED
@@ -2,14 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: active_cmis 0.3.5 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "active_cmis"
|
8
|
-
s.version = "0.3.
|
9
|
+
s.version = "0.3.5"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
11
13
|
s.authors = ["Joeri Samson"]
|
12
|
-
s.date = "
|
14
|
+
s.date = "2014-01-16"
|
13
15
|
s.description = "A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS."
|
14
16
|
s.email = "joeri@xaop.com"
|
15
17
|
s.extra_rdoc_files = [
|
@@ -23,6 +25,7 @@ Gem::Specification.new do |s|
|
|
23
25
|
"README.md",
|
24
26
|
"Rakefile",
|
25
27
|
"TODO",
|
28
|
+
"VERSION.yml",
|
26
29
|
"active_cmis.gemspec",
|
27
30
|
"lib/active_cmis.rb",
|
28
31
|
"lib/active_cmis/acl.rb",
|
@@ -51,27 +54,26 @@ Gem::Specification.new do |s|
|
|
51
54
|
"lib/active_cmis/version.rb"
|
52
55
|
]
|
53
56
|
s.homepage = "http://xaop.com/labs/activecmis/"
|
54
|
-
s.require_paths = ["lib"]
|
55
57
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.6")
|
56
|
-
s.rubygems_version = "
|
58
|
+
s.rubygems_version = "2.2.0"
|
57
59
|
s.summary = "A library to interact with CMIS repositories through the AtomPub/REST binding"
|
58
60
|
|
59
61
|
if s.respond_to? :specification_version then
|
60
|
-
s.specification_version =
|
62
|
+
s.specification_version = 4
|
61
63
|
|
62
64
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
63
65
|
s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.1"])
|
64
|
-
s.add_runtime_dependency(%q<ntlm-http>, ["
|
65
|
-
s.add_runtime_dependency(%q<require_relative>, ["
|
66
|
+
s.add_runtime_dependency(%q<ntlm-http>, [">= 0.1.1", "~> 0.1"])
|
67
|
+
s.add_runtime_dependency(%q<require_relative>, [">= 1.0.2", "~> 1.0"])
|
66
68
|
else
|
67
69
|
s.add_dependency(%q<nokogiri>, [">= 1.4.1"])
|
68
|
-
s.add_dependency(%q<ntlm-http>, ["
|
69
|
-
s.add_dependency(%q<require_relative>, ["
|
70
|
+
s.add_dependency(%q<ntlm-http>, [">= 0.1.1", "~> 0.1"])
|
71
|
+
s.add_dependency(%q<require_relative>, [">= 1.0.2", "~> 1.0"])
|
70
72
|
end
|
71
73
|
else
|
72
74
|
s.add_dependency(%q<nokogiri>, [">= 1.4.1"])
|
73
|
-
s.add_dependency(%q<ntlm-http>, ["
|
74
|
-
s.add_dependency(%q<require_relative>, ["
|
75
|
+
s.add_dependency(%q<ntlm-http>, [">= 0.1.1", "~> 0.1"])
|
76
|
+
s.add_dependency(%q<require_relative>, [">= 1.0.2", "~> 1.0"])
|
75
77
|
end
|
76
78
|
end
|
77
79
|
|
data/lib/active_cmis/document.rb
CHANGED
@@ -229,13 +229,16 @@ module ActiveCMIS
|
|
229
229
|
raise ArgumentError, "Too many arguments for checkin"
|
230
230
|
else
|
231
231
|
major, comment, updated_attributes = *options
|
232
|
-
if
|
232
|
+
if TrueClass === major or FalseClass === major
|
233
233
|
# Nothing changes: only defaults need to be filled in (if necessary)
|
234
234
|
elsif String === major
|
235
235
|
updated_attributes = comment
|
236
236
|
comment = major
|
237
237
|
# major will be true if: @versioning_state == "major", or if it's not set
|
238
238
|
major = @versioning_state != "minor"
|
239
|
+
elsif Hash === major
|
240
|
+
updated_attributes = major
|
241
|
+
major = @versioning_state != "minor"
|
239
242
|
end
|
240
243
|
comment ||= ""
|
241
244
|
updated_attributes ||= {}
|
data/lib/active_cmis/version.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
require 'yaml'
|
1
2
|
module ActiveCMIS
|
2
3
|
module Version
|
3
|
-
|
4
|
-
|
5
|
-
|
4
|
+
yaml = YAML.load_file(File.join(File.dirname(__FILE__), '/../../VERSION.yml'))
|
5
|
+
MAJOR = yaml[:major]
|
6
|
+
MINOR = yaml[:minor]
|
7
|
+
PATCH = yaml[:patch]
|
6
8
|
STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
|
7
9
|
end
|
8
10
|
end
|
metadata
CHANGED
@@ -1,49 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_cmis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Joeri Samson
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: nokogiri
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.4.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.4.1
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: ntlm-http
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 0.1.1
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0.1'
|
33
37
|
type: :runtime
|
34
38
|
prerelease: false
|
35
|
-
version_requirements:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.1.1
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.1'
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: require_relative
|
38
|
-
requirement:
|
39
|
-
none: false
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
40
50
|
requirements:
|
41
|
-
- -
|
51
|
+
- - ">="
|
42
52
|
- !ruby/object:Gem::Version
|
43
53
|
version: 1.0.2
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.0'
|
44
57
|
type: :runtime
|
45
58
|
prerelease: false
|
46
|
-
version_requirements:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.0.2
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '1.0'
|
47
67
|
description: A CMIS library implementing both reading and updating capabilities through
|
48
68
|
the AtomPub/REST binding to CMIS.
|
49
69
|
email: joeri@xaop.com
|
@@ -59,6 +79,7 @@ files:
|
|
59
79
|
- README.md
|
60
80
|
- Rakefile
|
61
81
|
- TODO
|
82
|
+
- VERSION.yml
|
62
83
|
- active_cmis.gemspec
|
63
84
|
- lib/active_cmis.rb
|
64
85
|
- lib/active_cmis/acl.rb
|
@@ -87,26 +108,25 @@ files:
|
|
87
108
|
- lib/active_cmis/version.rb
|
88
109
|
homepage: http://xaop.com/labs/activecmis/
|
89
110
|
licenses: []
|
111
|
+
metadata: {}
|
90
112
|
post_install_message:
|
91
113
|
rdoc_options: []
|
92
114
|
require_paths:
|
93
115
|
- lib
|
94
116
|
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
-
none: false
|
96
117
|
requirements:
|
97
|
-
- -
|
118
|
+
- - ">="
|
98
119
|
- !ruby/object:Gem::Version
|
99
120
|
version: 1.8.6
|
100
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
122
|
requirements:
|
103
|
-
- -
|
123
|
+
- - ">="
|
104
124
|
- !ruby/object:Gem::Version
|
105
125
|
version: '0'
|
106
126
|
requirements: []
|
107
127
|
rubyforge_project:
|
108
|
-
rubygems_version:
|
128
|
+
rubygems_version: 2.2.0
|
109
129
|
signing_key:
|
110
|
-
specification_version:
|
130
|
+
specification_version: 4
|
111
131
|
summary: A library to interact with CMIS repositories through the AtomPub/REST binding
|
112
132
|
test_files: []
|