Skip to content

Commit

Permalink
Merge pull request #41 from viralpraxis/require-ruby-2-7
Browse files Browse the repository at this point in the history
Require MRI >= 2.7
  • Loading branch information
mikegee authored Sep 8, 2024
2 parents b68c6b5 + c37ee65 commit f747125
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,13 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3", ruby-head, jruby-9.2, jruby-9.3]
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", ruby-head, jruby-9.4]
rubocop_version: ["0.92", "1.20", "1.66"]
exclude:
- ruby: 2.5
rubocop_version: "1.66"
- ruby: 2.6
rubocop_version: "1.66"
- ruby: ruby-head
rubocop_version: "0.92"
- ruby: ruby-head
rubocop_version: "1.20"
- ruby: jruby-9.2
rubocop_version: "1.66"
- ruby: jruby-9.3
rubocop_version: "1.66"

env:
BUNDLE_GEMFILE: "gemfiles/rubocop_${{ matrix.rubocop_version }}.gemfile"
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require:

AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7

Lint/RaiseException:
Enabled: true
Expand Down
2 changes: 1 addition & 1 deletion rubocop-thread_safety.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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.7.0'

spec.add_runtime_dependency 'rubocop', '>= 0.92.0'

Expand Down

0 comments on commit f747125

Please sign in to comment.