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

Symlink support #42

Merged
merged 4 commits into from
Dec 27, 2022
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
35 changes: 0 additions & 35 deletions .autotest

This file was deleted.

Empty file removed .gemtest
Empty file.
68 changes: 0 additions & 68 deletions .github/workflows/ci.yml

This file was deleted.

69 changes: 69 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Ruby CI

on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

jobs:
ruby-ci:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os:
- ubuntu-20.04
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- head
- jruby
- jruby-head
- truffleruby
- truffleruby-head
- truffleruby+graalvm
- truffleruby+graalvm-head
include:
- ruby: head
continue-on-error: true
- ruby: jruby-head
continue-on-error: true
- os: windows-latest
ruby: mingw
- os: windows-latest
ruby: mswin
- os: macos-latest
ruby: '2.7'
- os: macos-latest
ruby: '3.0'
- os: macos-latest
ruby: '3.1'
- os: macos-latest
ruby: '3.1'
- os: ubuntu-22.04
ruby: head
continue-on-error: true
- os: ubuntu-22.04
ruby: '3.1'
- os: ubuntu-22.04
ruby: '3.2'
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.continue-on-error || false }}

steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- run: bundle exec ruby -S rake test --trace

- run: bundle exec standardrb
64 changes: 35 additions & 29 deletions .hoerc
Original file line number Diff line number Diff line change
@@ -1,44 +1,50 @@
---
exclude: !ruby/regexp '/
\.(?:
tmp |
swp
)$
tmp |
swp
)$
|
\.(?:
bundle|
git|
github|
hg|
idea|
svn|
vagrant
)\/
|
[Aa]ppraisals
|
[gG]emfile(?:\.lock)?
|
\.(?:
appveyor |
coveralls |
fasterer |
pullreview |
rubocop.* |
standard.* |
travis |
unused
)\.yml$
|
(?i:TAGS)$
|
\.(?:
DS_Store |
autotest |
byebug_history |
gemtest |
gitattributes |
gitignore |
hoerc |
minitest.rb |
simplecov-prelude.rb
)$
|
(?:
appveyor |
coveralls |
pullreview |
rubocop |
travis
)\.yml$
|
\b(?i:TAGS)$
|
\.(?:
DS_Store |
bundle |
git |
hg |
idea |
svn |
vagrant
)\/
|
[gG]emfile(?:\.lock)?
|
support\/hoe\/
)$
|
\.gemspec$
|
Vagrantfile
Vagrantfile$
/x'
48 changes: 0 additions & 48 deletions .pullreview.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .simplecov-prelude.rb

This file was deleted.

11 changes: 5 additions & 6 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
parallel: true
ruby_version: 1.8.7
ignore:
- '*.gemspec'
- Rakefile:
- Style/HashSyntax
- '**/*':
- Layout/HeredocIndentation
- Style/SafeNavigation
- 'archive-tar-minitar.gemspec'
- 'minitar.gemspec'
- 'support/hoe/deprecated_gem.rb':
- Naming/ClassAndModuleCamelCase
8 changes: 4 additions & 4 deletions Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@ Thanks to everyone who has contributed to minitar:
- Antoine Toulme
- Curtis Sampson
- Daniel J. Berger
- dearblue
- inkstak
- Jorie Tappa
- Kazuyoshi Kato
- Kazuyoshi Kato
- Kevin McDermott
- Matthew Kent
- Merten Falk
- Michal Suchanek
- Mike Furr
- ooooooo_q
- Pete Fritchman
- Zach Dennis
- dearblue
- inkstak
- ooooooo_q
- Yamamoto Kōhei

[minitest]: https://github.com/seattlerb/minitest
[quality commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
Expand Down
12 changes: 3 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- ruby -*-
# frozen_string_literal: true

# NOTE: This file is present to keep Travis CI happy. Edits to it will not
# be accepted.
# NOTE: This file is not the canonical source of dependencies. Edit the
# Rakefile, instead.

source "https://rubygems.org/"

Expand All @@ -14,15 +14,9 @@ mime_version =
gem "rdoc", "< 6.0"
"2.0"
elsif RUBY_VERSION >= "2.0"
if RUBY_ENGINE == "ruby"
gem "simplecov", "~> 0.7"
gem "coveralls", "~> 0.7"
end
"3.0"
end

gem "mime-types", "~> #{mime_version}"

gemspec :name => "minitar"

# vim: syntax=ruby
Loading