diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c69dcf2..a498321 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.gitignore b/.gitignore index 41e355c..0033b59 100644 --- a/.gitignore +++ b/.gitignore @@ -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: diff --git a/.rubocop.yml b/.rubocop.yml index ba26709..8444f3c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,8 @@ require: rubocop-rspec +AllCops: + TargetRubyVersion: 2.6 + Metrics/LineLength: Max: 100 diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..a04abec --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.6.10 diff --git a/CHANGELOG.md b/CHANGELOG.md index fca796b..b476840 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/rspec-tabular.gemspec b/rspec-tabular.gemspec index 6180f1a..b89b5af 100644 --- a/rspec-tabular.gemspec +++ b/rspec-tabular.gemspec @@ -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'