Skip to content

Commit

Permalink
Merge pull request #103 from ekohl/require-ruby-2.7
Browse files Browse the repository at this point in the history
Require Ruby 2.7+
  • Loading branch information
evgeni authored May 24, 2023
2 parents b93d7fa + 497c292 commit c3e6183
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,14 @@ jobs:
fail-fast: false
matrix:
ruby:
- "2.5"
- "2.6"
- "2.7"
- "3.0"
puppet:
- "7"
- "6"
- "5"
exclude:
- puppet: "6"
ruby: "3.0"
- puppet: "5"
ruby: "3.0"
- puppet: "5"
ruby: "2.7"
name: Ruby ${{ matrix.ruby }} + Puppet ${{ matrix.puppet }}
env:
PUPPET_VERSION: "~> ${{ matrix.puppet }}.0"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ and isolate a project's dependencies.

## Versions

Librarian-Puppet 5.0.0 and newer requires Ruby >= 2.7 and Puppet >= 6. Use version 4.0.1 if you need support for Puppet 6 or Ruby 2.6 or earlier.

Librarian-Puppet 4.0.0 and newer requires Ruby >= 2.5 and Puppet >= 5. Use version 3.0.1 is you need support for Puppet 3 or Puppet 4, or Ruby 2.4 or earlier.

Librarian-Puppet 3.0.0 and newer requires Ruby >= 2.0. Use version 2.2.4 if you need support for Puppet 3.7 or earlier, or Ruby 1.9 or earlier. Note that [Puppet 4.10 and newer require Ruby 2.1](https://puppet.com/docs/puppet/4.10/system_requirements.html#prerequisites) or newer.
Expand Down
2 changes: 1 addition & 1 deletion librarian-puppet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |s|
automatically pulling in modules from the forge and git repositories with
a single command.'

s.required_ruby_version = '>= 2.5.0', '< 4'
s.required_ruby_version = '>= 2.7', '< 4'

s.files = [
'.gitignore',
Expand Down

0 comments on commit c3e6183

Please sign in to comment.