realityforge-buildr 1.5.13 → 1.5.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b4ccdb17ca320de1c50a9b6661298e73354f7a4c4a0e50b3e40fa59cb08958e
4
- data.tar.gz: 7807f76b64b47cf333042cd874df96f445f8655a8016ac7a622a92a5a554ad4a
3
+ metadata.gz: 63d48d00ff2c45664c2dee85712e4c8014d1015519e3cf24fca25428c5cb2232
4
+ data.tar.gz: 0de204d07f99d6bb57b4e7d1ca68c44e22aeecac0e84ed4c4eb35ab4f454412d
5
5
  SHA512:
6
- metadata.gz: baa434b164a77bfa709dc4afcd4105091daef9572eb1070e28b6846d9bb6ed5b981f2f7d6b02955293fc58c2c570afed2e443b6f6ee8751186370fe0ba7b80e4
7
- data.tar.gz: ba1f77dd75afae5dc37dcb9797584bb10b8a6c92e97e7ec1320b9a756115dc41816bdd30c586ba94c1d23605119e63ba0671015cfe6edfb8f86ffbc9f70ce3c8
6
+ metadata.gz: 117f3e4c4d92fd43da908c0a32b468c9eca92d6ca6a79817f8a27d70241da999d8999b6ed9d9af721f71cf8be81c467db02f8331530c16b1ed03ffb1316c27f4
7
+ data.tar.gz: 0a9f1a1a159a23bf386027068d7285510ea223838f5bda0e5482d2e596dbccdeb585250be197916ba4eb473174cc104771470b61a28738079e5eeccd238221c3
@@ -70,7 +70,7 @@ module Java
70
70
  paths = cp.map do |c|
71
71
  File.directory?(c) && !c.end_with?('/') ? "#{c}/" : c.to_s
72
72
  end
73
- manifest = Buildr::Packaging::Java::Manifest.new([{'Class-Path' => paths.map{|p| URI.encode(p)}.join(" ")}])
73
+ manifest = Buildr::Packaging::Java::Manifest.new([{'Class-Path' => paths.map{|p| CGI.escape(p)}.join(" ")}])
74
74
  tjar = Tempfile.new(%w[javacmd .jar])
75
75
  Zip::OutputStream.open(tjar.path) do |zos|
76
76
  zos.put_next_entry('META-INF/MANIFEST.MF')
@@ -246,9 +246,8 @@ module Buildr #:nodoc:
246
246
  # Username/password may be part of URI, or separate entities.
247
247
  uri = URI.parse(upload_to[:url].clone)
248
248
  uri.path = uri.path + '/' unless uri.path[-1] == '/'
249
- to_escape = "!\"\#$%&'()*+,-./:;<=>?@{}|~`'"
250
- uri.user = URI.encode(upload_to[:username], to_escape) if upload_to[:username]
251
- uri.password = URI.encode(upload_to[:password], to_escape) if upload_to[:password]
249
+ uri.user = CGI.escape(upload_to[:username]) if upload_to[:username]
250
+ uri.password = CGI.escape(upload_to[:password]) if upload_to[:password]
252
251
 
253
252
  path = group.gsub('.', '/') + "/#{id}/#{version}/#{upload_name}"
254
253
 
@@ -14,5 +14,5 @@
14
14
  # the License.
15
15
 
16
16
  module Buildr #:nodoc:
17
- VERSION = '1.5.13'.freeze
17
+ VERSION = '1.5.14'.freeze
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realityforge-buildr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.13
4
+ version: 1.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Buildr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-20 00:00:00.000000000 Z
11
+ date: 2021-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake