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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71e257aa84acf0435e58d78b31433de51719e65ca165f92605cd6e1fd2852ec5
4
- data.tar.gz: c39cd1db2db62f9a4764a0d4b08e659049164511469a00dd03801a5f526f74bc
3
+ metadata.gz: 11a0840913fb57a680da0e10106eb365509f12aac800cd4690ec7a8699a502db
4
+ data.tar.gz: a6e0fc9121f5210bcae05b7d5fd3e9ae6261b5f6f6976bcb9d7afbe334abfae6
5
5
  SHA512:
6
- metadata.gz: bde2a46ede42616104d3eb0ba76c86636e8153a7d49a270c2ac26b5c24e403209d20de4108b93faa6e18532b2b8436b5e2a96f0f5dad2586c6c1492a8b5f98bd
7
- data.tar.gz: f1429e6bacb7653d6839fd82e19b52202a1e8f0454a82dc1d730811c1edf6f93b365eecebb9af5c61aeacd6184f32687ab3be4c3d2df4e6bd34972aebbda41cc
6
+ metadata.gz: 468ce0b532e9c2d75c046c8784d1b349ffbbe49b53d9b1a76b3469fa79542daa2c039370856d3fe4ae9b6dce85d107542fb19c747f39742fd5d0cfbbd8d2f160
7
+ data.tar.gz: 12ecb0cd44da2ba10ef452b8a23702954099db2d2003e17cdb65e71956b84e189265268f422a6b592019772588fa22713a543a24b2ee7df808240ea285822da3
@@ -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]
@@ -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
- Pkg::Util.deprecate("ex", "Pkg::Util::Execution.ex")
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.69
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-09-21 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec