Skip to content

Commit

Permalink
Increase the required ruby version to v2.6
Browse files Browse the repository at this point in the history
This is the only unsupported version which is still listed in the
offical Ruby download page, so it seems like a good choice for the
required ruby.

This eliminates support for v2.5, and I have also it from CI as well.
  • Loading branch information
acant committed Nov 26, 2022
1 parent 6d9038d commit b35ad47
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ['2.5', '2.6']
ruby: ['2.6']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ build/
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
Gemfile.lock
.ruby-version
.ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
Expand Down
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
require: rubocop-rspec

AllCops:
TargetRubyVersion: 2.6

Metrics/LineLength:
Max: 100

Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.10
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- update the required ruby version from v2.2 to v2.6

## [0.0.3] - 2022-01-24
### Added
Expand Down
2 changes: 1 addition & 1 deletion rspec-tabular.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_runtime_dependency 'rspec-core', '>= 2.99.0'

Expand Down

0 comments on commit b35ad47

Please sign in to comment.