beaker 4.41.2 → 4.42.0

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: 132350b65c22335331db2196fc0d1d473ee8ab8cade90254cbe414674084a9d3
4
- data.tar.gz: '023279a9a8bc374b363595dafd5dddc65e96f2ce1dc74fc68a88f8245b52c275'
3
+ metadata.gz: 1a63a7ed4ec851c07c674f0f8a51da0ddd2e03b89ea87785bd5ab671dc6fca40
4
+ data.tar.gz: 2a633f6ce434e24973d9a9745aa874d331958d6e71a9661ace49c6438bc8f33b
5
5
  SHA512:
6
- metadata.gz: 4e6b5c6a8efa66d4f1571751ceb13c4396bbb874fa2612fb7c142020e53c9542caa752158eb2ab2bd39ff36a3235380890b5f28b396d989bf9ba646a5f56cba5
7
- data.tar.gz: 19b9f4defc6c659654a01d97d5192ac347b75b12e1ff5a8cec031fe501b22a1a4ef92dab15728f68f14fbccb00a0a82dd56d887c86c7f537a6e2b9d41cccf2f0
6
+ metadata.gz: fc3a5da17bb3926e772a7deb44376f616c5a1b6d6d1e43fff5f45c500517df977f839103df0c86a9840702225aa1b75f6c5719a6d6316621461c001e2dd296b2
7
+ data.tar.gz: 8f3dc4859da9ef8535e82ea4e7e49e7b4f90b6834198a14207142d6aaa6c9cda6b7066100521bedd64752c4e0bb8bd780ba06cb19760b7043c98617c898f0920
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.42.0](https://github.com/voxpupuli/beaker/tree/4.42.0) (2024-03-27)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/beaker/compare/4.41.2...4.42.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - \[PE-37978\] Add 'amazon' to repo_filename method with tests [\#1861](https://github.com/voxpupuli/beaker/pull/1861) ([span786](https://github.com/span786))
10
+ - Add Ubuntu 24.04 noble codename [\#1851](https://github.com/voxpupuli/beaker/pull/1851) ([h0tw1r3](https://github.com/h0tw1r3))
11
+
3
12
  ## [4.41.2](https://github.com/voxpupuli/beaker/tree/4.41.2) (2023-12-18)
4
13
 
5
14
  [Full Changelog](https://github.com/voxpupuli/beaker/compare/4.41.1...4.41.2)
@@ -113,7 +113,7 @@ module Unix::File
113
113
  repo_filename = "pl-%s-%s-" % [ package_name, build_version ]
114
114
 
115
115
  case variant
116
- when /fedora|el|redhat|centos|cisco_nexus|cisco_ios_xr|opensuse|sles/
116
+ when /amazon|fedora|el|redhat|centos|cisco_nexus|cisco_ios_xr|opensuse|sles/
117
117
  variant = 'el' if ['centos', 'redhat'].include?(variant)
118
118
 
119
119
  variant = 'redhatfips' if self['packaging_platform']&.include?('redhatfips')
@@ -15,7 +15,8 @@ module Beaker
15
15
  "jessie" => "8",
16
16
  "wheezy" => "7",
17
17
  "squeeze" => "6", },
18
- :ubuntu => { "jammy" => "2204",
18
+ :ubuntu => { "noble" => "2404",
19
+ "jammy" => "2204",
19
20
  "focal" => "2004",
20
21
  "eoan" => "1910",
21
22
  "disco" => "1904",
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '4.41.2'
3
+ STRING = '4.42.0'
4
4
  end
5
5
  end
@@ -137,6 +137,14 @@ module Beaker
137
137
  expect( filename ).to be === correct
138
138
  end
139
139
 
140
+ it 'builds the filename correctly for amazon-based platforms' do
141
+ @platform = 'amazon-2023-x86_64'
142
+ allow(instance).to receive(:is_pe?).and_return(true)
143
+ filename = instance.repo_filename('pkg_name', 'pkg_version')
144
+ correct = 'pl-pkg_name-pkg_version-amazon-2023-x86_64.repo'
145
+ expect(filename).to be === correct
146
+ end
147
+
140
148
  it 'builds the filename correctly for debian-based platforms' do
141
149
  @platform = 'debian-8-x86_64'
142
150
  filename = instance.repo_filename( 'pkg_name', 'pkg_version10' )
@@ -96,6 +96,11 @@ module Beaker
96
96
  expect( platform.with_version_codename ).to be === 'debian-squeeze-xxx'
97
97
  end
98
98
 
99
+ it "can convert ubuntu-2404-xxx to ubuntu-noble-xxx" do
100
+ @name = 'ubuntu-2404-xxx'
101
+ expect(platform.with_version_codename).to be === 'ubuntu-noble-xxx'
102
+ end
103
+
99
104
  it "can convert ubuntu-2204-xxx to ubuntu-jammy-xxx" do
100
105
  @name = 'ubuntu-2204-xxx'
101
106
  expect( platform.with_version_codename ).to be === 'ubuntu-jammy-xxx'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.41.2
4
+ version: 4.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-21 00:00:00.000000000 Z
11
+ date: 2024-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fakefs