artifactory 3.0.12 → 3.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/artifactory/resources/base.rb +11 -3
- data/lib/artifactory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17f2e20aaeb0c7dde0f7f46d3fbd780cd1e8818f7a72d10bbc68bc959362dfe5
|
4
|
+
data.tar.gz: bd0ca811f01c5958e2e8565163b5af0983dbd19a51c51bfd42ac4c5a818d1add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f28c346e5ba840570ae0e96a1a077a4ab0ea86c89526dfc2e03ac9b165d861d099f42179a2f59313570eba55bc09af61bfde7f4993435b2db61592175731d6ab
|
7
|
+
data.tar.gz: 5570f6b4d16e61ed9350243dc0811bf171bc872a35abdf26d0b3fffc549bfa4c694e1a1922251e041fa029ecc9137fd21b018a96708e20e275ecca245319acc5
|
@@ -243,7 +243,15 @@ module Artifactory
|
|
243
243
|
# the URL-safe version of the string
|
244
244
|
#
|
245
245
|
def url_safe(value)
|
246
|
-
|
246
|
+
uri_parser.escape(uri_parser.unescape(value.to_s))
|
247
|
+
end
|
248
|
+
|
249
|
+
#
|
250
|
+
# Generate a URI parser
|
251
|
+
#
|
252
|
+
# @return [URI::Parser]
|
253
|
+
def uri_parser
|
254
|
+
@uri_parser ||= URI::Parser.new
|
247
255
|
end
|
248
256
|
end
|
249
257
|
|
@@ -353,8 +361,8 @@ module Artifactory
|
|
353
361
|
#
|
354
362
|
def to_query_string_parameters(hash = {})
|
355
363
|
properties = hash.map do |k, v|
|
356
|
-
key =
|
357
|
-
value =
|
364
|
+
key = self.class.uri_parser.escape(k.to_s)
|
365
|
+
value = self.class.uri_parser.escape(v.to_s)
|
358
366
|
|
359
367
|
"#{key}=#{value}"
|
360
368
|
end
|
data/lib/artifactory/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artifactory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.13
|
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:
|
11
|
+
date: 2020-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Ruby client for Artifactory
|
14
14
|
email: releng@chef.io
|