From f6b02cfb1d746fef3015f6f5c97ac38f02bf941c Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Mon, 25 Oct 2021 22:38:01 -0400 Subject: [PATCH] Bump min Ruby to 2.7 --- .github/workflows/tests.yml | 6 +++--- CHANGELOG.md | 1 + squib.gemspec | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 02ffd1f..7b771fb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,6 @@ name: Squib Unit Tests -on: [push] +on: [push, pull_request] jobs: test: @@ -8,9 +8,9 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos] - ruby: [2.5, 2.6, 2.7, 3.0, head] + ruby: [2.7, 3.0, head] runs-on: ${{ matrix.os }}-latest - continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || (matrix.ruby == '3.0' && matrix.os == 'macos')}} + continue-on-error: ${{ endsWith(matrix.ruby, 'head') || (matrix.ruby == '3.0' && matrix.os == 'macos')}} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a16647..e5d1600 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Features: Compatibility: * Because of the features above, the new default behavior is to warn instead of errors on a missing file +* Ruby 2.7 is officially our minimum Ruby, since Ruby 2.6 will EOL in about six months from now ## v0.17.1 / 2021-09-07 diff --git a/squib.gemspec b/squib.gemspec index 3a91302..6cf9d6f 100644 --- a/squib.gemspec +++ b/squib.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.specification_version = 2 if spec.respond_to? :specification_version= spec.required_rubygems_version = Gem::Requirement.new('>= 0') if spec.respond_to? :required_rubygems_version= spec.rubygems_version = '2.2.2' - spec.required_ruby_version = '>= 2.5.0' + spec.required_ruby_version = '>= 2.7.0' spec.name = 'squib' spec.version = Squib::VERSION