Skip to content

Commit

Permalink
Drop support for Ruby 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Sep 2, 2023
1 parent c26d19c commit 126d410
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ jobs:
ruby: ["3.1", "3.2", "jruby-9.4"]
appraisal: [cucumber_8, cucumber_9]
include:
- ruby: "2.6"
appraisal: cucumber_8
- ruby: "2.7"
appraisal: cucumber_8
- ruby: "3.0"
appraisal: cucumber_8
- ruby: "jruby-9.3"
appraisal: cucumber_8

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
Expand Down Expand Up @@ -66,7 +62,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, "3.0", "3.1", "3.2"]
ruby: [2.7, "3.0", "3.1", "3.2"]

runs-on: macos-latest

Expand All @@ -86,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, "3.0"]
ruby: [2.7, "3.0"]

runs-on: windows-latest

Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require:
AllCops:
DisplayCopNames: true
NewCops: enable
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
Exclude:
- 'bin/cucumber'
- 'bin/rspec'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ bump.

## Supported Ruby versions

Aruba is supported on Ruby 2.6 and up, and tested against CRuby 2.6, 2.7, 3.0,
3.1 and 3.2, and JRuby 9.3 and 9.4.
Aruba is supported on Ruby 2.7 and up, and tested against CRuby 2.7, 3.0,
3.1 and 3.2, and JRuby 9.4.

## Supported Cucumber versions

Expand Down
2 changes: 1 addition & 1 deletion aruba.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rubocop-rspec", "~> 2.8"
spec.add_development_dependency "simplecov", ">= 0.18.0", "< 0.23.0"

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.files = File.readlines("Manifest.txt", chomp: true)

Expand Down
2 changes: 1 addition & 1 deletion fixtures/cli-app/cli-app.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = "Description"
spec.homepage = "http://example.com"

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
Expand Down
2 changes: 1 addition & 1 deletion fixtures/empty-app/cli-app.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = "Description"
spec.homepage = "http://example.com"

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
Expand Down

0 comments on commit 126d410

Please sign in to comment.