Skip to content

Commit b4714a7

Browse files
committed
(CAT-2281) Remove puppet 7 infrastructure
Puppet 7 is EOL. Therefore, we can remove the test infrastructure for it. This commit aims to clear up any testing/config infrastructure related to Puppet 7 and, by extension, Ruby 2.7.
1 parent cd6349c commit b4714a7

File tree

5 files changed

+5
-17
lines changed

5 files changed

+5
-17
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
ruby_version:
21-
- "2.7"
2221
- "3.2"
2322
include:
24-
- ruby-version: '2.7'
25-
puppet_gem_version: '~> 7.0'
2623
- ruby_version: '3.2'
2724
puppet_gem_version: '~> 8.0'
2825
runs_on:
@@ -42,11 +39,8 @@ jobs:
4239
strategy:
4340
matrix:
4441
ruby_version:
45-
- "2.7"
4642
- "3.2"
4743
include:
48-
- ruby-version: '2.7'
49-
puppet_gem_version: '~> 7.0'
5044
- ruby_version: '3.2'
5145
puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
5246
runs_on:

.github/workflows/nightly.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
ruby_version:
14-
- "2.7"
1514
- "3.2"
1615
include:
17-
- ruby-version: '2.7'
18-
puppet_gem_version: '~> 7.0'
1916
- ruby_version: '3.2'
2017
puppet_gem_version: '~> 8.0'
2118
runs_on:
@@ -34,11 +31,8 @@ jobs:
3431
strategy:
3532
matrix:
3633
ruby_version:
37-
- "2.7"
3834
- "3.2"
3935
include:
40-
- ruby-version: '2.7'
41-
puppet_gem_version: '~> 7.0'
4236
- ruby_version: '3.2'
4337
puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
4438
runs_on:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ AllCops:
1212
- vendor/bundle/**/*
1313
NewCops: enable
1414
SuggestExtensions: false
15-
TargetRubyVersion: '2.7'
15+
TargetRubyVersion: '3.1'
1616

1717
# Disabled
1818
Style/ClassAndModuleChildren:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Strings processes code and YARD-style code comments to create documentation in H
1111

1212
### Requirements
1313

14-
* Ruby 2.7.0 or newer
15-
* Puppet 7.0.0 or newer
14+
* Ruby 3.1.0 or newer
15+
* Puppet 8.0.0 or newer
1616

1717
### Install Puppet Strings
1818

puppet-strings.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
1212
s.summary = 'Puppet documentation via YARD'
1313
s.email = 'info@puppet.com'
1414
s.homepage = 'https://github.com/puppetlabs/puppet-strings'
15-
s.required_ruby_version = '>= 2.7.0'
15+
s.required_ruby_version = '>= 3.1.0'
1616

1717
s.extra_rdoc_files = [
1818
'CHANGELOG.md',
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
2222
]
2323
s.files = Dir['CHANGELOG.md', 'README.md', 'LICENSE', 'lib/**/*', 'exe/**/*']
2424

25-
s.add_runtime_dependency 'puppet', '>= 7.0.0'
25+
s.add_runtime_dependency 'puppet', '>= 8.0.0'
2626
s.add_runtime_dependency 'rgen', '~> 0.9'
2727
s.add_runtime_dependency 'yard', '~> 0.9'
2828
end

0 commit comments

Comments
 (0)