Skip to content

Commit

Permalink
Drop Ruby 2.4/2.5/2.6 & Puppet 5/6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jul 7, 2023
1 parent 1089abd commit 84330c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,41 +31,13 @@ jobs:
- "3.1"
- "3.0"
- "2.7"
- "2.6"
- "2.5"
- "2.4"
puppet:
- "~> 7.0"
- "~> 6.29"
- "~> 5.5.10"
- "https://github.com/puppetlabs/puppet.git#main"
exclude:
- ruby: "2.6"
puppet: "~> 7.0"
- ruby: "2.5"
puppet: "~> 7.0"
- ruby: "2.4"
puppet: "~> 7.0"

- ruby: "3.1"
puppet: "~> 6.29"
- ruby: "3.0"
puppet: "~> 6.29"

- ruby: "3.1"
puppet: "~> 5.5.10"
- ruby: "3.0"
puppet: "~> 5.5.10"
- ruby: "2.7"
puppet: "~> 5.5.10"
- ruby: "2.6"
puppet: "~> 5.5.10"

- ruby: "2.6"
puppet: "https://github.com/puppetlabs/puppet.git#main"
- ruby: "2.5"
puppet: "https://github.com/puppetlabs/puppet.git#main"
- ruby: "2.4"
- ruby: "2.7"
puppet: "https://github.com/puppetlabs/puppet.git#main"
name: "Ruby ${{ matrix.ruby }} - Puppet ${{ matrix.puppet }}"
env:
Expand Down
4 changes: 2 additions & 2 deletions puppet-syntax.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.4"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "rake"
spec.add_dependency "puppet", ">= 5"
spec.add_dependency "puppet", ">= 7"

spec.add_development_dependency "pry"
spec.add_development_dependency "rb-readline"
Expand Down

0 comments on commit 84330c4

Please sign in to comment.