beaker-puppet 4.2.0 → 4.3.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 +4 -4
- data/.github/workflows/release.yml +3 -3
- data/.github/workflows/test.yml +8 -11
- data/.rubocop_todo.yml +0 -6
- data/CHANGELOG.md +11 -0
- data/Gemfile +3 -0
- data/beaker-puppet.gemspec +1 -1
- data/lib/beaker-puppet/install_utils/foss_utils.rb +1 -1
- data/lib/beaker-puppet/version.rb +1 -1
- data/spec/beaker-puppet/install_utils/foss_utils_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9608db44e1a8db0fc23e8dcf785698ec20778feb753fac4883b5f6a328cd603a
|
|
4
|
+
data.tar.gz: 49c0dd234ffe37059885be80c902dd1f3ca0846bc4c1e0401000455762eec16e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec68fb077fd1a4bb8c69fcbd1eae7017746b5c5d3a3f2e82a8a70296d5f82254c52498298eb5bf8e077f2d87442226bb178255a0918e6082be2832a41e7cd8a3
|
|
7
|
+
data.tar.gz: bd0abc1d9cd7e570a124d37c8e42b1c9322df328eb7acc5d14c7ce1ddf127831b322842cbb162dfe8f865f8d36f8fe28eaa911e71c28b941fa5d4862d1c68120
|
|
@@ -10,11 +10,11 @@ jobs:
|
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
if: github.repository_owner == 'puppetlabs'
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
14
|
-
- name: Install Ruby 3.
|
|
13
|
+
- uses: actions/checkout@v6
|
|
14
|
+
- name: Install Ruby 3.1
|
|
15
15
|
uses: ruby/setup-ruby@v1
|
|
16
16
|
with:
|
|
17
|
-
ruby-version: '3.
|
|
17
|
+
ruby-version: '3.1'
|
|
18
18
|
env:
|
|
19
19
|
BUNDLE_WITHOUT: release
|
|
20
20
|
- name: Build gem
|
data/.github/workflows/test.yml
CHANGED
|
@@ -13,11 +13,11 @@ jobs:
|
|
|
13
13
|
rubocop:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
16
|
+
- uses: actions/checkout@v6
|
|
17
17
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
|
19
19
|
with:
|
|
20
|
-
ruby-version:
|
|
20
|
+
ruby-version: '3.3'
|
|
21
21
|
bundler-cache: true
|
|
22
22
|
- name: Run Rubocop
|
|
23
23
|
run: bundle exec rake rubocop
|
|
@@ -29,18 +29,15 @@ jobs:
|
|
|
29
29
|
fail-fast: false
|
|
30
30
|
matrix:
|
|
31
31
|
include:
|
|
32
|
-
- ruby:
|
|
33
|
-
- ruby:
|
|
34
|
-
|
|
35
|
-
- ruby:
|
|
36
|
-
- ruby:
|
|
37
|
-
- ruby: "3.3"
|
|
32
|
+
- ruby: '3.1'
|
|
33
|
+
- ruby: '3.2'
|
|
34
|
+
- ruby: '3.3'
|
|
35
|
+
- ruby: '3.4'
|
|
36
|
+
- ruby: '4.0'
|
|
38
37
|
|
|
39
|
-
env:
|
|
40
|
-
COVERAGE: ${{ matrix.coverage }}
|
|
41
38
|
name: RSpec - Ruby ${{ matrix.ruby }}
|
|
42
39
|
steps:
|
|
43
|
-
- uses: actions/checkout@
|
|
40
|
+
- uses: actions/checkout@v6
|
|
44
41
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
45
42
|
uses: ruby/setup-ruby@v1
|
|
46
43
|
with:
|
data/.rubocop_todo.yml
CHANGED
|
@@ -655,12 +655,6 @@ RSpec/SpecFilePathFormat:
|
|
|
655
655
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
|
656
656
|
- 'spec/beaker-puppet/wrappers_spec.rb'
|
|
657
657
|
|
|
658
|
-
# Offense count: 1
|
|
659
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
660
|
-
RSpec/StringAsInstanceDoubleConstant:
|
|
661
|
-
Exclude:
|
|
662
|
-
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
|
663
|
-
|
|
664
658
|
# Offense count: 88
|
|
665
659
|
RSpec/StubbedMock:
|
|
666
660
|
Exclude:
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [4.3.0](https://github.com/puppetlabs/beaker-puppet/tree/4.3.0) (2026-01-06)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/4.2.0...4.3.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- Add Ruby 4.0 support [\#271](https://github.com/puppetlabs/beaker-puppet/pull/271) ([bastelfreak](https://github.com/bastelfreak))
|
|
12
|
+
- Add Ruby 3.4 support [\#269](https://github.com/puppetlabs/beaker-puppet/pull/269) ([bastelfreak](https://github.com/bastelfreak))
|
|
13
|
+
|
|
3
14
|
## [4.2.0](https://github.com/puppetlabs/beaker-puppet/tree/4.2.0) (2025-01-17)
|
|
4
15
|
|
|
5
16
|
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/4.1.1...4.2.0)
|
data/Gemfile
CHANGED
data/beaker-puppet.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.description = 'For use for the Beaker acceptance testing tool'
|
|
12
12
|
s.license = 'Apache-2.0'
|
|
13
13
|
|
|
14
|
-
s.required_ruby_version = '>= 2.7', '<
|
|
14
|
+
s.required_ruby_version = '>= 2.7', '< 5'
|
|
15
15
|
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
|
17
17
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
@@ -139,7 +139,7 @@ module Beaker
|
|
|
139
139
|
def order_packages(packages_array)
|
|
140
140
|
puppet = packages_array.select { |e| e[:name] == 'puppet' }
|
|
141
141
|
puppet_depends_on = packages_array.select do |e|
|
|
142
|
-
e[:name]
|
|
142
|
+
e[:name].include?('hiera') || e[:name].include?('facter')
|
|
143
143
|
end
|
|
144
144
|
depends_on_puppet = (packages_array - puppet) - puppet_depends_on
|
|
145
145
|
[puppet_depends_on, puppet, depends_on_puppet].flatten
|
|
@@ -313,7 +313,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
313
313
|
subject.instance_variable_set(:@metadata, {})
|
|
314
314
|
version = subject.find_git_repo_versions(host, path, repository)
|
|
315
315
|
|
|
316
|
-
expect(version).to be == { 'name' => '2' } # rubocop:
|
|
316
|
+
expect(version).to be == { 'name' => '2' } # rubocop:disable RSpec/Eq
|
|
317
317
|
end
|
|
318
318
|
end
|
|
319
319
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-puppet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vox Pupuli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fakefs
|
|
@@ -246,14 +246,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
246
246
|
version: '2.7'
|
|
247
247
|
- - "<"
|
|
248
248
|
- !ruby/object:Gem::Version
|
|
249
|
-
version: '
|
|
249
|
+
version: '5'
|
|
250
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
251
|
requirements:
|
|
252
252
|
- - ">="
|
|
253
253
|
- !ruby/object:Gem::Version
|
|
254
254
|
version: '0'
|
|
255
255
|
requirements: []
|
|
256
|
-
rubygems_version: 3.
|
|
256
|
+
rubygems_version: 3.3.27
|
|
257
257
|
signing_key:
|
|
258
258
|
specification_version: 4
|
|
259
259
|
summary: Beaker's Puppet DSL Extension Helpers!
|