Skip to content

Commit

Permalink
Support Ruby 3.1 through 3.4
Browse files Browse the repository at this point in the history
This drops support for Ruby 3.0 which is EOL.
  • Loading branch information
mvz committed Dec 31, 2024
1 parent 85ec5fc commit 6fc5dcb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3"]
ruby: ["3.1", "3.2", "3.3", "3.4"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ AllCops:
- 'devel/levitate.rb'
- 'devel/levitate_config.rb'
NewCops: enable
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1

# Put development dependencies in the gemspec so rubygems.org knows about them
Gemspec/DevelopmentDependencies:
Expand Down
3 changes: 2 additions & 1 deletion live_ast.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Gem::Specification.new do |spec|
generated code.
DESC
spec.homepage = "https://github.com/mvz/live_ast"

spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 3.1.0"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/mvz/live_ast"
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def write_file(file, contents)
File.open(file, "w") { |f| f.print contents }
end

def return_block(&block)
def return_block(&block) # rubocop:disable Naming/BlockForwarding
block
end

Expand Down

0 comments on commit 6fc5dcb

Please sign in to comment.