Skip to content

Commit

Permalink
drop ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
noraj committed Apr 10, 2024
1 parent fcdc254 commit 8d614c9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7']
ruby-version: ['3.3', '3.2', '3.1', '3.0']
env:
BUNDLE_WITHOUT: docs development # https://bundler.io/v1.5/groups.html
steps:
Expand Down
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_mode:
merge:
- Exclude
AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
NewCops: enable
SuggestExtensions: false
# ~~~ Layout ~~~
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PATH
specs:
haiti-hash (2.1.0)
docopt (~> 0.6)
paint (~> 2.2)
paint (~> 2.3)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [unreleased]

- **Breaking changes**:
- **Drop** Ruby 2.7 support, [EOL since 31/03/2023](https://www.ruby-lang.org/en/downloads/branches/), no longer compatible with newest version of bundler
- **Enhancements**:
- OpenSSH private key
- Better naming (add algorithm)
Expand Down
4 changes: 2 additions & 2 deletions haiti.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Gem::Specification.new do |s|
'rubygems_mfa_required' => 'true'
}

s.required_ruby_version = ['>= 2.7.0', '< 4.0']
s.required_ruby_version = ['>= 3.0.0', '< 4.0']

s.add_runtime_dependency('docopt', '~> 0.6') # for argument parsing
s.add_runtime_dependency('paint', '~> 2.2') # for colorized output
s.add_runtime_dependency('paint', '~> 2.3') # for colorized output
end

0 comments on commit 8d614c9

Please sign in to comment.