Skip to content

Commit f2fc83b

Browse files
Merge pull request #75 from mhashizume/PA-6049/main/release-prep
Release prep housekeeping
2 parents 44667f1 + 8330881 commit f2fc83b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.sync.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ Gemfile:
1616
from_env: BEAKER_HOSTGENERATOR_VERSION
1717
- gem: beaker-rspec
1818
from_env: BEAKER_RSPEC_VERSION
19+
# Prevent beaker-puppet from being installed on Ruby > 3.1 until beaker-puppet supports newer Rubies (PA-6136)
1920
- gem: beaker-puppet
2021
from_env: BEAKER_PUPPET_VERSION
2122
version: '~> 3.0'
23+
condition: Gem::Requirement.create('< 3.2.0').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
2224
# We can unpin async when we move to Ruby 3
2325
- gem: async
2426
version: '~> 1'
@@ -41,4 +43,5 @@ appveyor.yml:
4143
# We still use the Vox acceptance Rake task instead of Litmus
4244
Rakefile:
4345
requires:
44-
- voxpupuli/acceptance/rake
46+
- require: voxpupuli/acceptance/rake
47+
conditional: Gem.loaded_specs.key? 'voxpupuli-acceptance'

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ group :development do
4040
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 1.0')
4141
gem "beaker-hostgenerator"
4242
gem "beaker-rspec"
43-
gem "beaker-puppet", *location_for(ENV['BEAKER_PUPPET_VERSION'] || '~> 3.0')
43+
gem "beaker-puppet", *location_for(ENV['BEAKER_PUPPET_VERSION'] || '~> 3.0') if Gem::Requirement.create('< 3.2.0').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
4444
gem "async", '~> 1', require: false
4545
gem "beaker-module_install_helper", require: false
4646
gem "beaker-puppet_install_helper", require: false

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require 'puppetlabs_spec_helper/rake_tasks'
66
require 'puppet-syntax/tasks/puppet-syntax'
77
require 'github_changelog_generator/task' if Gem.loaded_specs.key? 'github_changelog_generator'
88
require 'puppet-strings/tasks' if Gem.loaded_specs.key? 'puppet-strings'
9-
require 'voxpupuli/acceptance/rake'
9+
require 'voxpupuli/acceptance/rake' if Gem.loaded_specs.key? 'voxpupuli-acceptance'
1010

1111
def changelog_user
1212
return unless Rake.application.top_level_tasks.include? "changelog"

0 commit comments

Comments
 (0)