Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Ruby 2.0, 2.1, 2.2, 2.3, and 2.4 #549

Merged
merged 7 commits into from
Jan 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update gemspec to require Ruby 2.5 or newer
mattbrictson committed Jan 12, 2025
commit c42f2eb2cdbcccfc25ab73bf78b1b078134887dd
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

* You must have commit rights to the SSHKit repository.
* You must have push rights for the sshkit gem on rubygems.org.
* You must be using Ruby >= 2.1.0.
* You must be using Ruby >= 2.5.0.

## How to release

5 changes: 3 additions & 2 deletions sshkit.gemspec
Original file line number Diff line number Diff line change
@@ -19,12 +19,13 @@ Gem::Specification.new do |gem|
gem.name = "sshkit"
gem.require_paths = ["lib"]
gem.version = SSHKit::VERSION
gem.required_ruby_version = ">= 2.5"

gem.add_runtime_dependency('base64') if RUBY_VERSION >= "2.4"
gem.add_runtime_dependency('base64')
gem.add_runtime_dependency('net-ssh', '>= 2.8.0')
gem.add_runtime_dependency('net-scp', '>= 1.1.2')
gem.add_runtime_dependency('net-sftp', '>= 2.1.2')
gem.add_runtime_dependency('ostruct') if RUBY_VERSION >= "2.5"
gem.add_runtime_dependency('ostruct')

gem.add_development_dependency('danger')
gem.add_development_dependency('minitest', '>= 5.0.0')