Skip to content

Commit

Permalink
chore(deps): update ruby/setup-ruby action to v1.202.0
Browse files Browse the repository at this point in the history
| datasource  | package         | from     | to       |
| ----------- | --------------- | -------- | -------- |
| github-tags | ruby/setup-ruby | v1.199.0 | v1.202.0 |
  • Loading branch information
renovate[bot] authored and halostatue committed Nov 12, 2024
1 parent 7e61110 commit 270ecb5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: '3.3'
rubygems: latest
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0
- uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
Expand Down
1 change: 1 addition & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ruby_version: 3.1

ignore:
- 'minitar.gemspec'
- pkg/**/*

plugins:
- standard-minitest
Expand Down
13 changes: 6 additions & 7 deletions test/test_tar_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ def test_open_no_block

def test_file_looks_good
Minitar::Output.open(@tarfile) do |os|
Dir.chdir("data__") do
NAMES.each do |name|
stat = File.stat(name)
opts = {size: stat.size, mode: 0o644}
os.tar.add_file_simple(name, opts) do |ss|
File.open(name, "rb") { |ff| ss.write(ff.read(4096)) until ff.eof? }
end
NAMES.each do |name|
name = File.join("data__", name)
stat = File.stat(name)
opts = {size: stat.size, mode: 0o644}
os.tar.add_file_simple(name, opts) do |ss|
File.open(name, "rb") { |ff| ss.write(ff.read(4096)) until ff.eof? }
end
end
end
Expand Down

0 comments on commit 270ecb5

Please # to comment.