Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,23 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["3.1", "3.2", "3.3", "3.4", "head"]
ruby: ["3.2", "3.3", "3.4", "4.0", "head"]
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test
test-all:
name: "Test / All"
runs-on: ubuntu-latest
needs: test
if: always()
steps:
- name: All tests ok
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Some tests failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
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.1
TargetRubyVersion: 3.2
Exclude:
- "tmp/**/*"
- "vendor/**/*"
Expand Down
2 changes: 1 addition & 1 deletion example.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = ""
spec.homepage = "https://github.com/mattbrictson/gem"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1"
spec.required_ruby_version = ">= 3.2"

spec.metadata = {
"bug_tracker_uri" => "https://github.com/mattbrictson/gem/issues",
Expand Down
4 changes: 2 additions & 2 deletions rename_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def assert_git_repo!
exit(1)
end

def git(*args)
sh! "git", *args
def git(*)
sh!("git", *)
end

def ensure_executable(path)
Expand Down