artifactory 2.8.2 → 3.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/artifactory.rb +3 -2
- data/lib/artifactory/client.rb +16 -7
- data/lib/artifactory/collections/artifact.rb +1 -1
- data/lib/artifactory/collections/base.rb +1 -1
- data/lib/artifactory/collections/build.rb +1 -1
- data/lib/artifactory/configurable.rb +15 -15
- data/lib/artifactory/defaults.rb +2 -2
- data/lib/artifactory/errors.rb +6 -6
- data/lib/artifactory/resources/artifact.rb +17 -19
- data/lib/artifactory/resources/backup.rb +3 -1
- data/lib/artifactory/resources/base.rb +17 -7
- data/lib/artifactory/resources/build.rb +6 -6
- data/lib/artifactory/resources/build_component.rb +1 -0
- data/lib/artifactory/resources/certificate.rb +90 -0
- data/lib/artifactory/resources/group.rb +2 -1
- data/lib/artifactory/resources/layout.rb +2 -1
- data/lib/artifactory/resources/ldap_setting.rb +3 -1
- data/lib/artifactory/resources/mail_server.rb +2 -1
- data/lib/artifactory/resources/permission_target.rb +18 -2
- data/lib/artifactory/resources/plugin.rb +1 -1
- data/lib/artifactory/resources/repository.rb +5 -1
- data/lib/artifactory/resources/system.rb +1 -1
- data/lib/artifactory/resources/url_base.rb +2 -1
- data/lib/artifactory/resources/user.rb +2 -1
- data/lib/artifactory/util.rb +4 -3
- data/lib/artifactory/version.rb +2 -2
- metadata +11 -131
- data/.gitignore +0 -27
- data/.travis.yml +0 -28
- data/CHANGELOG.md +0 -141
- data/Gemfile +0 -14
- data/README.md +0 -288
- data/Rakefile +0 -28
- data/appveyor.yml +0 -30
- data/artifactory.gemspec +0 -25
- data/spec/integration/resources/artifact_spec.rb +0 -99
- data/spec/integration/resources/backup.rb +0 -22
- data/spec/integration/resources/build_component_spec.rb +0 -64
- data/spec/integration/resources/build_spec.rb +0 -38
- data/spec/integration/resources/group_spec.rb +0 -45
- data/spec/integration/resources/layout_spec.rb +0 -22
- data/spec/integration/resources/ldap_setting_spec.rb +0 -22
- data/spec/integration/resources/mail_server_spec.rb +0 -22
- data/spec/integration/resources/permission_target_spec.rb +0 -75
- data/spec/integration/resources/repository_spec.rb +0 -40
- data/spec/integration/resources/system_spec.rb +0 -58
- data/spec/integration/resources/url_base_spec.rb +0 -22
- data/spec/integration/resources/user_spec.rb +0 -45
- data/spec/spec_helper.rb +0 -52
- data/spec/support/api_server.rb +0 -49
- data/spec/support/api_server/artifact_endpoints.rb +0 -186
- data/spec/support/api_server/build_component_endpoints.rb +0 -44
- data/spec/support/api_server/build_endpoints.rb +0 -240
- data/spec/support/api_server/group_endpoints.rb +0 -53
- data/spec/support/api_server/permission_target_endpoints.rb +0 -53
- data/spec/support/api_server/repository_endpoints.rb +0 -114
- data/spec/support/api_server/status_endpoints.rb +0 -11
- data/spec/support/api_server/system_endpoints.rb +0 -104
- data/spec/support/api_server/user_endpoints.rb +0 -59
- data/spec/unit/artifactory_spec.rb +0 -73
- data/spec/unit/client_spec.rb +0 -132
- data/spec/unit/resources/artifact_spec.rb +0 -608
- data/spec/unit/resources/backup_spec.rb +0 -61
- data/spec/unit/resources/base_spec.rb +0 -180
- data/spec/unit/resources/build_component_spec.rb +0 -118
- data/spec/unit/resources/build_spec.rb +0 -347
- data/spec/unit/resources/defaults_spec.rb +0 -27
- data/spec/unit/resources/group_spec.rb +0 -108
- data/spec/unit/resources/layout_spec.rb +0 -61
- data/spec/unit/resources/ldap_setting_spec.rb +0 -65
- data/spec/unit/resources/mail_server_spec.rb +0 -57
- data/spec/unit/resources/permission_target_spec.rb +0 -189
- data/spec/unit/resources/plugin_spec.rb +0 -25
- data/spec/unit/resources/repository_spec.rb +0 -217
- data/spec/unit/resources/system_spec.rb +0 -90
- data/spec/unit/resources/url_base_spec.rb +0 -53
- data/spec/unit/resources/user_spec.rb +0 -115
@@ -0,0 +1,90 @@
|
|
1
|
+
module Artifactory
|
2
|
+
class Resource::Certificate < Resource::Base
|
3
|
+
class << self
|
4
|
+
#
|
5
|
+
# Get a list of all certificates in the system.
|
6
|
+
#
|
7
|
+
# @param [Hash] options
|
8
|
+
# the list of options
|
9
|
+
#
|
10
|
+
# @option options [Artifactory::Client] :client
|
11
|
+
# the client object to make the request with
|
12
|
+
#
|
13
|
+
# @return [Array<Resource::Certificate>]
|
14
|
+
# the list of builds
|
15
|
+
#
|
16
|
+
def all(options = {})
|
17
|
+
client = extract_client!(options)
|
18
|
+
client.get("/api/system/security/certificates").map do |cert|
|
19
|
+
from_hash(cert, client: client)
|
20
|
+
end.compact
|
21
|
+
end
|
22
|
+
|
23
|
+
#
|
24
|
+
# @see Artifactory::Resource::Base.from_hash
|
25
|
+
#
|
26
|
+
def from_hash(hash, options = {})
|
27
|
+
super.tap do |instance|
|
28
|
+
instance.issued_on = Time.parse(instance.issued_on) rescue nil
|
29
|
+
instance.valid_until = Time.parse(instance.valid_until) rescue nil
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
attribute :certificate_alias, -> { raise "Certificate alias missing!" }
|
35
|
+
attribute :fingerprint
|
36
|
+
attribute :issued_by
|
37
|
+
attribute :issued_on
|
38
|
+
attribute :issued_to
|
39
|
+
attribute :local_path, -> { raise "Local destination missing!" }
|
40
|
+
attribute :valid_until
|
41
|
+
|
42
|
+
#
|
43
|
+
# Delete this certificate from artifactory, suppressing any +ResourceNotFound+
|
44
|
+
# exceptions might occur.
|
45
|
+
#
|
46
|
+
# @return [Boolean]
|
47
|
+
# true if the object was deleted successfully, false otherwise
|
48
|
+
#
|
49
|
+
def delete
|
50
|
+
client.delete(api_path)
|
51
|
+
true
|
52
|
+
rescue Error::HTTPError
|
53
|
+
false
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Upload a certificate. If the first parameter is a File object, that file
|
58
|
+
# descriptor is passed to the uploader. If the first parameter is a string,
|
59
|
+
# it is assumed to be a path to a local file on disk. This method will
|
60
|
+
# automatically construct the File object from the given path.
|
61
|
+
#
|
62
|
+
# @example Upload a certificate from a File instance
|
63
|
+
# certificate = Certificate.new(local_path: '/path/to/cert.pem', certificate_alias: 'test')
|
64
|
+
# certificate.upload
|
65
|
+
#
|
66
|
+
# @return [Resource::Certificate]
|
67
|
+
#
|
68
|
+
def upload
|
69
|
+
file = File.new(File.expand_path(local_path))
|
70
|
+
headers = { "Content-Type" => "application/text" }
|
71
|
+
|
72
|
+
response = client.post(api_path, file, headers)
|
73
|
+
|
74
|
+
return unless response.is_a?(Hash)
|
75
|
+
|
76
|
+
self.class.all.select { |x| x.certificate_alias.eql?(certificate_alias) }.first
|
77
|
+
end
|
78
|
+
|
79
|
+
private
|
80
|
+
|
81
|
+
#
|
82
|
+
# The path to this certificate on the server.
|
83
|
+
#
|
84
|
+
# @return [String]
|
85
|
+
#
|
86
|
+
def api_path
|
87
|
+
"/api/system/security/certificates/#{url_safe(certificate_alias)}"
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -61,6 +61,7 @@ module Artifactory
|
|
61
61
|
from_hash(response, client: client)
|
62
62
|
rescue Error::HTTPError => e
|
63
63
|
raise unless e.code == 404
|
64
|
+
|
64
65
|
nil
|
65
66
|
end
|
66
67
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -59,6 +59,7 @@ module Artifactory
|
|
59
59
|
find_from_config("config/repoLayouts/repoLayout/name[text()='#{name}']", config, options)
|
60
60
|
rescue Error::HTTPError => e
|
61
61
|
raise unless e.code == 404
|
62
|
+
|
62
63
|
nil
|
63
64
|
end
|
64
65
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -59,6 +59,7 @@ module Artifactory
|
|
59
59
|
find_from_config("config/security/ldapSettings/ldapSetting/key[text()='#{name}']", config, options)
|
60
60
|
rescue Error::HTTPError => e
|
61
61
|
raise unless e.code == 404
|
62
|
+
|
62
63
|
nil
|
63
64
|
end
|
64
65
|
|
@@ -100,6 +101,7 @@ module Artifactory
|
|
100
101
|
def find_from_config(xpath, config, options = {})
|
101
102
|
name_node = REXML::XPath.match(config, xpath)
|
102
103
|
return nil if name_node.empty?
|
104
|
+
|
103
105
|
properties = Util.xml_to_hash(name_node[0].parent, "search")
|
104
106
|
from_hash(properties, options)
|
105
107
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -59,6 +59,7 @@ module Artifactory
|
|
59
59
|
find_from_config("config/mailServer/host[text()='#{host}']", config, options)
|
60
60
|
rescue Error::HTTPError => e
|
61
61
|
raise unless e.code == 404
|
62
|
+
|
62
63
|
nil
|
63
64
|
end
|
64
65
|
end
|
@@ -1,3 +1,17 @@
|
|
1
|
+
#
|
2
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
3
|
+
# you may not use this file except in compliance with the License.
|
4
|
+
# You may obtain a copy of the License at
|
5
|
+
#
|
6
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
#
|
8
|
+
# Unless required by applicable law or agreed to in writing, software
|
9
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
10
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
11
|
+
# See the License for the specific language governing permissions and
|
12
|
+
# limitations under the License.
|
13
|
+
#
|
14
|
+
|
1
15
|
module Artifactory
|
2
16
|
class Resource::PermissionTarget < Resource::Base
|
3
17
|
VERBOSE_PERMS = {
|
@@ -6,7 +20,7 @@ module Artifactory
|
|
6
20
|
"n" => "annotate",
|
7
21
|
"r" => "read",
|
8
22
|
"w" => "deploy",
|
9
|
-
}
|
23
|
+
}.freeze
|
10
24
|
class << self
|
11
25
|
#
|
12
26
|
# Get a list of all PermissionTargets in the system.
|
@@ -52,6 +66,7 @@ module Artifactory
|
|
52
66
|
from_hash(response, client: client)
|
53
67
|
rescue Error::HTTPError => e
|
54
68
|
raise unless e.code == 404
|
69
|
+
|
55
70
|
nil
|
56
71
|
end
|
57
72
|
|
@@ -104,8 +119,9 @@ module Artifactory
|
|
104
119
|
def abbreviate_permissions(array)
|
105
120
|
inverse = VERBOSE_PERMS.invert
|
106
121
|
if (inverse.keys & array).sort != array.sort
|
107
|
-
raise "One of your principals contains an invalid permission. Valid permissions are #{inverse.keys.join(
|
122
|
+
raise "One of your principals contains an invalid permission. Valid permissions are #{inverse.keys.join(", ")}"
|
108
123
|
end
|
124
|
+
|
109
125
|
array.map { |elt| inverse[elt] }.sort
|
110
126
|
end
|
111
127
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -61,6 +61,7 @@ module Artifactory
|
|
61
61
|
from_hash(response, client: client)
|
62
62
|
rescue Error::HTTPError => e
|
63
63
|
raise unless e.code == 400
|
64
|
+
|
64
65
|
nil
|
65
66
|
end
|
66
67
|
end
|
@@ -84,6 +85,9 @@ module Artifactory
|
|
84
85
|
attribute :url, ""
|
85
86
|
attribute :yum_root_depth, 0
|
86
87
|
attribute :calculate_yum_metadata, false
|
88
|
+
attribute :repositories, []
|
89
|
+
attribute :external_dependencies_enabled, false
|
90
|
+
attribute :client_tls_certificate, ""
|
87
91
|
|
88
92
|
#
|
89
93
|
# Creates or updates a repository configuration depending on if the
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -59,6 +59,7 @@ module Artifactory
|
|
59
59
|
find_from_config("config/urlBase[text()='#{url}']", config, options)
|
60
60
|
rescue Error::HTTPError => e
|
61
61
|
raise unless e.code == 404
|
62
|
+
|
62
63
|
nil
|
63
64
|
end
|
64
65
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -61,6 +61,7 @@ module Artifactory
|
|
61
61
|
from_hash(response, client: client)
|
62
62
|
rescue Error::HTTPError => e
|
63
63
|
raise unless e.code == 404
|
64
|
+
|
64
65
|
nil
|
65
66
|
end
|
66
67
|
end
|
data/lib/artifactory/util.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -49,7 +49,7 @@ module Artifactory
|
|
49
49
|
result = string
|
50
50
|
.to_s
|
51
51
|
.split("_")
|
52
|
-
.map
|
52
|
+
.map(&:capitalize)
|
53
53
|
.join
|
54
54
|
|
55
55
|
if lowercase
|
@@ -144,7 +144,8 @@ module Artifactory
|
|
144
144
|
return true if string.eql?("true")
|
145
145
|
return false if string.eql?("false")
|
146
146
|
return string.to_i if numeric?(string)
|
147
|
-
|
147
|
+
|
148
|
+
string
|
148
149
|
end
|
149
150
|
|
150
151
|
private
|
data/lib/artifactory/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2014 Chef Software, Inc.
|
2
|
+
# Copyright 2014-2018 Chef Software, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -15,5 +15,5 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
module Artifactory
|
18
|
-
VERSION = "
|
18
|
+
VERSION = "3.0.15".freeze
|
19
19
|
end
|
metadata
CHANGED
@@ -1,58 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artifactory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Chef Release Engineering Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
11
|
+
date: 2020-05-29 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
41
13
|
description: A Ruby client for Artifactory
|
42
|
-
email:
|
14
|
+
email: releng@chef.io
|
43
15
|
executables: []
|
44
16
|
extensions: []
|
45
17
|
extra_rdoc_files: []
|
46
18
|
files:
|
47
|
-
- ".gitignore"
|
48
|
-
- ".travis.yml"
|
49
|
-
- CHANGELOG.md
|
50
|
-
- Gemfile
|
51
19
|
- LICENSE
|
52
|
-
- README.md
|
53
|
-
- Rakefile
|
54
|
-
- appveyor.yml
|
55
|
-
- artifactory.gemspec
|
56
20
|
- lib/artifactory.rb
|
57
21
|
- lib/artifactory/client.rb
|
58
22
|
- lib/artifactory/collections/artifact.rb
|
@@ -66,6 +30,7 @@ files:
|
|
66
30
|
- lib/artifactory/resources/base.rb
|
67
31
|
- lib/artifactory/resources/build.rb
|
68
32
|
- lib/artifactory/resources/build_component.rb
|
33
|
+
- lib/artifactory/resources/certificate.rb
|
69
34
|
- lib/artifactory/resources/group.rb
|
70
35
|
- lib/artifactory/resources/layout.rb
|
71
36
|
- lib/artifactory/resources/ldap_setting.rb
|
@@ -78,51 +43,9 @@ files:
|
|
78
43
|
- lib/artifactory/resources/user.rb
|
79
44
|
- lib/artifactory/util.rb
|
80
45
|
- lib/artifactory/version.rb
|
81
|
-
|
82
|
-
- spec/integration/resources/backup.rb
|
83
|
-
- spec/integration/resources/build_component_spec.rb
|
84
|
-
- spec/integration/resources/build_spec.rb
|
85
|
-
- spec/integration/resources/group_spec.rb
|
86
|
-
- spec/integration/resources/layout_spec.rb
|
87
|
-
- spec/integration/resources/ldap_setting_spec.rb
|
88
|
-
- spec/integration/resources/mail_server_spec.rb
|
89
|
-
- spec/integration/resources/permission_target_spec.rb
|
90
|
-
- spec/integration/resources/repository_spec.rb
|
91
|
-
- spec/integration/resources/system_spec.rb
|
92
|
-
- spec/integration/resources/url_base_spec.rb
|
93
|
-
- spec/integration/resources/user_spec.rb
|
94
|
-
- spec/spec_helper.rb
|
95
|
-
- spec/support/api_server.rb
|
96
|
-
- spec/support/api_server/artifact_endpoints.rb
|
97
|
-
- spec/support/api_server/build_component_endpoints.rb
|
98
|
-
- spec/support/api_server/build_endpoints.rb
|
99
|
-
- spec/support/api_server/group_endpoints.rb
|
100
|
-
- spec/support/api_server/permission_target_endpoints.rb
|
101
|
-
- spec/support/api_server/repository_endpoints.rb
|
102
|
-
- spec/support/api_server/status_endpoints.rb
|
103
|
-
- spec/support/api_server/system_endpoints.rb
|
104
|
-
- spec/support/api_server/user_endpoints.rb
|
105
|
-
- spec/unit/artifactory_spec.rb
|
106
|
-
- spec/unit/client_spec.rb
|
107
|
-
- spec/unit/resources/artifact_spec.rb
|
108
|
-
- spec/unit/resources/backup_spec.rb
|
109
|
-
- spec/unit/resources/base_spec.rb
|
110
|
-
- spec/unit/resources/build_component_spec.rb
|
111
|
-
- spec/unit/resources/build_spec.rb
|
112
|
-
- spec/unit/resources/defaults_spec.rb
|
113
|
-
- spec/unit/resources/group_spec.rb
|
114
|
-
- spec/unit/resources/layout_spec.rb
|
115
|
-
- spec/unit/resources/ldap_setting_spec.rb
|
116
|
-
- spec/unit/resources/mail_server_spec.rb
|
117
|
-
- spec/unit/resources/permission_target_spec.rb
|
118
|
-
- spec/unit/resources/plugin_spec.rb
|
119
|
-
- spec/unit/resources/repository_spec.rb
|
120
|
-
- spec/unit/resources/system_spec.rb
|
121
|
-
- spec/unit/resources/url_base_spec.rb
|
122
|
-
- spec/unit/resources/user_spec.rb
|
123
|
-
homepage: https://github.com/opscode/artifactory-client
|
46
|
+
homepage: https://github.com/chef/artifactory-client
|
124
47
|
licenses:
|
125
|
-
- Apache
|
48
|
+
- Apache-2.0
|
126
49
|
metadata: {}
|
127
50
|
post_install_message:
|
128
51
|
rdoc_options: []
|
@@ -132,59 +55,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
55
|
requirements:
|
133
56
|
- - ">="
|
134
57
|
- !ruby/object:Gem::Version
|
135
|
-
version: '
|
58
|
+
version: '2.3'
|
136
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
60
|
requirements:
|
138
61
|
- - ">="
|
139
62
|
- !ruby/object:Gem::Version
|
140
63
|
version: '0'
|
141
64
|
requirements: []
|
142
|
-
|
143
|
-
rubygems_version: 2.6.11
|
65
|
+
rubygems_version: 3.0.3
|
144
66
|
signing_key:
|
145
67
|
specification_version: 4
|
146
68
|
summary: Artifactory is a simple, lightweight Ruby client for interacting with the
|
147
69
|
Artifactory and Artifactory Pro APIs.
|
148
|
-
test_files:
|
149
|
-
- spec/integration/resources/artifact_spec.rb
|
150
|
-
- spec/integration/resources/backup.rb
|
151
|
-
- spec/integration/resources/build_component_spec.rb
|
152
|
-
- spec/integration/resources/build_spec.rb
|
153
|
-
- spec/integration/resources/group_spec.rb
|
154
|
-
- spec/integration/resources/layout_spec.rb
|
155
|
-
- spec/integration/resources/ldap_setting_spec.rb
|
156
|
-
- spec/integration/resources/mail_server_spec.rb
|
157
|
-
- spec/integration/resources/permission_target_spec.rb
|
158
|
-
- spec/integration/resources/repository_spec.rb
|
159
|
-
- spec/integration/resources/system_spec.rb
|
160
|
-
- spec/integration/resources/url_base_spec.rb
|
161
|
-
- spec/integration/resources/user_spec.rb
|
162
|
-
- spec/spec_helper.rb
|
163
|
-
- spec/support/api_server.rb
|
164
|
-
- spec/support/api_server/artifact_endpoints.rb
|
165
|
-
- spec/support/api_server/build_component_endpoints.rb
|
166
|
-
- spec/support/api_server/build_endpoints.rb
|
167
|
-
- spec/support/api_server/group_endpoints.rb
|
168
|
-
- spec/support/api_server/permission_target_endpoints.rb
|
169
|
-
- spec/support/api_server/repository_endpoints.rb
|
170
|
-
- spec/support/api_server/status_endpoints.rb
|
171
|
-
- spec/support/api_server/system_endpoints.rb
|
172
|
-
- spec/support/api_server/user_endpoints.rb
|
173
|
-
- spec/unit/artifactory_spec.rb
|
174
|
-
- spec/unit/client_spec.rb
|
175
|
-
- spec/unit/resources/artifact_spec.rb
|
176
|
-
- spec/unit/resources/backup_spec.rb
|
177
|
-
- spec/unit/resources/base_spec.rb
|
178
|
-
- spec/unit/resources/build_component_spec.rb
|
179
|
-
- spec/unit/resources/build_spec.rb
|
180
|
-
- spec/unit/resources/defaults_spec.rb
|
181
|
-
- spec/unit/resources/group_spec.rb
|
182
|
-
- spec/unit/resources/layout_spec.rb
|
183
|
-
- spec/unit/resources/ldap_setting_spec.rb
|
184
|
-
- spec/unit/resources/mail_server_spec.rb
|
185
|
-
- spec/unit/resources/permission_target_spec.rb
|
186
|
-
- spec/unit/resources/plugin_spec.rb
|
187
|
-
- spec/unit/resources/repository_spec.rb
|
188
|
-
- spec/unit/resources/system_spec.rb
|
189
|
-
- spec/unit/resources/url_base_spec.rb
|
190
|
-
- spec/unit/resources/user_spec.rb
|
70
|
+
test_files: []
|