Skip to content

Commit

Permalink
Ruby 2.4 is EOL
Browse files Browse the repository at this point in the history
drop support for ruby 2.4.x because it is no longer a supported ruby release.
  • Loading branch information
Philip Müller committed Aug 5, 2020
1 parent 73c9a6e commit c83363c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ inherit_from:
- https://shopify.github.io/ruby-style-guide/rubocop.yml

AllCops:
TargetRubyVersion: 2.4
TargetRubyVersion: 2.5
Exclude:
- 'vendor/**/*'
- 'gemfiles/vendor/**/*'
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: ruby
cache: bundler
rvm:
- 2.4.1
- 2.5
- 2.6
- 2.7
Expand Down
2 changes: 1 addition & 1 deletion erb_lint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.bindir = 'exe'
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }

s.required_ruby_version = '>= 2.4.0'
s.required_ruby_version = '>= 2.5.0'

s.metadata = {
"allowed_push_host" => "https://rubygems.org",
Expand Down
4 changes: 2 additions & 2 deletions spec/erb_lint/linters/rubocop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
rubocop_config: {
require: [File.expand_path('../../fixtures/cops/auto_correct_cop', __FILE__)],
AllCops: {
TargetRubyVersion: '2.4',
TargetRubyVersion: '2.5',
},
},
)
Expand Down Expand Up @@ -234,7 +234,7 @@
only: ['Layout/ArgumentAlignment'],
rubocop_config: {
AllCops: {
TargetRubyVersion: '2.4',
TargetRubyVersion: '2.5',
},
'Layout/ArgumentAlignment': {
Enabled: true,
Expand Down
2 changes: 1 addition & 1 deletion spec/erb_lint/linters/rubocop_text_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
rubocop_config: {
require: [File.expand_path('../../fixtures/cops/auto_correct_cop', __FILE__)],
AllCops: {
TargetRubyVersion: '2.4',
TargetRubyVersion: '2.5',
},
},
)
Expand Down

0 comments on commit c83363c

Please sign in to comment.