Skip to content

Commit

Permalink
Drop support for Ruby 3.0 (EOL) (#184)
Browse files Browse the repository at this point in the history
* Drop support for Ruby 3.0 (EOL)

* Adopt Ruby 3.1+ implicit hash syntax
  • Loading branch information
mattbrictson committed Apr 29, 2024
1 parent 4895049 commit cbebe28
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3", "head"]
ruby: ["3.1", "3.2", "3.3", "head"]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
NewCops: enable
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1
Exclude:
- "tmp/**/*"
- "vendor/**/*"
Expand Down
2 changes: 1 addition & 1 deletion test/tomo/plugin/nvm/tasks_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ def test_install_raises_if_nvm_node_version_is_not_specified
private

def configure(settings={})
Tomo::Testing::MockPluginTester.new("nvm", settings: settings)
Tomo::Testing::MockPluginTester.new("nvm", settings:)
end
end
2 changes: 1 addition & 1 deletion tomo-plugin-nvm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
spec.summary = "A tomo plugin to manage node and yarn via nvm"
spec.homepage = "https://github.com/mattbrictson/tomo-plugin-nvm"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0"
spec.required_ruby_version = ">= 3.1"

spec.metadata = {
"bug_tracker_uri" => "https://github.com/mattbrictson/tomo-plugin-nvm/issues",
Expand Down

0 comments on commit cbebe28

Please sign in to comment.