Skip to content

Commit

Permalink
Require Ruby version 3+
Browse files Browse the repository at this point in the history
Ruby 2.7 reached EOL in March 2023. Stop supporting it.

While here, also remove `pry` from dev dependencies.
  • Loading branch information
sds committed Dec 13, 2023
1 parent 2eaf1a6 commit 1ad9b49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Slim-Lint Changelog

## main (unreleased)

* Drop support for Ruby 2.x

## 0.24.0

* Require RuboCop 1.x or newer
Expand Down
3 changes: 1 addition & 2 deletions slim_lint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ Gem::Specification.new do |s|
Dir['lib/**/*.rb'] +
['LICENSE.md']

s.required_ruby_version = '>= 2.4.0'
s.required_ruby_version = '>= 3'

s.add_runtime_dependency 'rubocop', ['>= 1.0', '< 2.0']
s.add_runtime_dependency 'slim', ['>= 3.0', '< 6.0']

s.add_development_dependency 'pry', '~> 0.13'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rspec-its', '~> 1.0'
end

0 comments on commit 1ad9b49

Please sign in to comment.