Browse Source

Bump min Ruby to 2.7

dev
Andy Meneely 4 years ago
parent
commit
f6b02cfb1d
  1. 6
      .github/workflows/tests.yml
  2. 1
      CHANGELOG.md
  3. 2
      squib.gemspec

6
.github/workflows/tests.yml

@ -1,6 +1,6 @@
name: Squib Unit Tests name: Squib Unit Tests
on: [push] on: [push, pull_request]
jobs: jobs:
test: test:
@ -8,9 +8,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu, macos] os: [ubuntu, macos]
ruby: [2.5, 2.6, 2.7, 3.0, head] ruby: [2.7, 3.0, head]
runs-on: ${{ matrix.os }}-latest 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1

1
CHANGELOG.md

@ -10,6 +10,7 @@ Features:
Compatibility: Compatibility:
* Because of the features above, the new default behavior is to warn instead of errors on a missing file * 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 ## v0.17.1 / 2021-09-07

2
squib.gemspec

@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.specification_version = 2 if spec.respond_to? :specification_version= 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.required_rubygems_version = Gem::Requirement.new('>= 0') if spec.respond_to? :required_rubygems_version=
spec.rubygems_version = '2.2.2' spec.rubygems_version = '2.2.2'
spec.required_ruby_version = '>= 2.5.0' spec.required_ruby_version = '>= 2.7.0'
spec.name = 'squib' spec.name = 'squib'
spec.version = Squib::VERSION spec.version = Squib::VERSION

Loading…
Cancel
Save