packaging 0.99.69 → 0.99.70
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/packaging/paths.rb +1 -1
- data/tasks/00_utils.rake +4 -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: 11a0840913fb57a680da0e10106eb365509f12aac800cd4690ec7a8699a502db
|
4
|
+
data.tar.gz: a6e0fc9121f5210bcae05b7d5fd3e9ae6261b5f6f6976bcb9d7afbe334abfae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 468ce0b532e9c2d75c046c8784d1b349ffbbe49b53d9b1a76b3469fa79542daa2c039370856d3fe4ae9b6dce85d107542fb19c747f39742fd5d0cfbbd8d2f160
|
7
|
+
data.tar.gz: 12ecb0cd44da2ba10ef452b8a23702954099db2d2003e17cdb65e71956b84e189265268f422a6b592019772588fa22713a543a24b2ee7df808240ea285822da3
|
data/lib/packaging/paths.rb
CHANGED
@@ -315,7 +315,7 @@ module Pkg::Paths
|
|
315
315
|
|
316
316
|
def debian_component_from_path(path)
|
317
317
|
# substitute '.' and '/' since those aren't valid characters for debian components
|
318
|
-
matches = path.match(/([\d+\.\d+|master])\/(\w+)/)
|
318
|
+
matches = path.match(/([\d+\.\d+|master|main])\/(\w+)/)
|
319
319
|
regex_for_substitution = /[\.\/]/
|
320
320
|
fail "Error: Could not determine Debian Component from path #{path}" if matches.nil?
|
321
321
|
base_component = matches[1]
|
data/tasks/00_utils.rake
CHANGED
@@ -119,7 +119,10 @@ end
|
|
119
119
|
# purport to both return the results of the command execution (ala `%x{cmd}`)
|
120
120
|
# while also raising an exception if a command does not succeed (ala `sh "cmd"`).
|
121
121
|
def ex(command)
|
122
|
-
|
122
|
+
# We haven't done anything about this deprecation and our log files
|
123
|
+
# have too many warnings from this.
|
124
|
+
# Turn off the notice for now until packaging is refactored.
|
125
|
+
# Pkg::Util.deprecate("ex", "Pkg::Util::Execution.ex")
|
123
126
|
Pkg::Util::Execution.ex(command)
|
124
127
|
end
|
125
128
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.99.
|
4
|
+
version: 0.99.70
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|