https://github.com/halostatue/minitar
Minimal pure-ruby support for POSIX tar(1) archives.
https://github.com/halostatue/minitar
Keywords from Contributors
mime-types crash-reporting activerecord authorization feature-flag marshaller oauth2-server oauth2-provider oauth2 oauth
Last synced: about 7 hours ago
JSON representation
Repository metadata
Minimal pure-ruby support for POSIX tar(1) archives.
- Host: GitHub
- URL: https://github.com/halostatue/minitar
- Owner: halostatue
- License: other
- Created: 2011-07-30T23:38:17.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2026-02-13T08:06:18.000Z (19 days ago)
- Last Synced: 2026-02-16T21:29:06.719Z (15 days ago)
- Language: Ruby
- Homepage:
- Size: 925 KB
- Stars: 43
- Watchers: 3
- Forks: 28
- Open Issues: 0
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: licenses/bsdl.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
README.md
minitar
- code :: https://github.com/halostatue/minitar
- issues :: https://github.com/halostatue/minitar/issues
- docs :: https://halostatue.github.io/minitar/
- changelog :: https://github.com/halostatue/minitar/blob/main/CHANGELOG.md
Description
The minitar library is a pure-Ruby library that operates on POSIX tar(1) archive
files.
minitar (previously called Archive::Tar::Minitar) is based heavily on code
originally written by Mauricio Julio Fernández Pradier for the rpa-base project.
Synopsis
Using minitar is easy. The simplest case is:
require 'minitar'
# Packs everything that matches Find.find('tests').
# test.tar will automatically be closed by Minitar.pack.
Minitar.pack('tests', File.open('test.tar', 'wb'))
# Unpacks 'test.tar' to 'x', creating 'x' if necessary.
Minitar.unpack('test.tar', 'x')
A gzipped tar can be written with:
require 'zlib'
# test.tgz will be closed automatically.
Minitar.pack('tests', Zlib::GzipWriter.new(File.open('test.tgz', 'wb'))
# test.tgz will be closed automatically.
Minitar.unpack(Zlib::GzipReader.new(File.open('test.tgz', 'rb')), 'x')
As the case above shows, one need not write to a file. However, it will
sometimes require that one dive a little deeper into the API, as in the case of
StringIO objects. Note that I'm not providing a block with Minitar::Output, as
Minitar::Output#close automatically closes both the Output object and the
wrapped data stream object.
begin
sgz = Zlib::GzipWriter.new(StringIO.new(String.new))
tar = Output.new(sgz)
Find.find('tests') do |entry|
Minitar.pack_file(entry, tar)
end
ensure
# Closes both tar and sgz.
tar.close
end
Minitar and Security
See SECURITY
minitar Semantic Versioning
The minitar library uses a Semantic Versioning scheme with one change:
- When PATCH is zero (
0), it will be omitted from version references.
Owner metadata
- Name: Austin Ziegler
- Login: halostatue
- Email:
- Kind: user
- Description:
- Website: http://www.halostatue.ca/
- Location: Toronto, Ontario
- Twitter: halostatue
- Company:
- Icon url: https://avatars.githubusercontent.com/u/11361?u=f1c534a2fbc83940c95debe5d8a6b689ea367696&v=4
- Repositories: 97
- Last ynced at: 2025-12-16T11:54:33.949Z
- Profile URL: https://github.com/halostatue
GitHub Events
Total
- Delete event: 80
- Pull request event: 143
- Issues event: 2
- Watch event: 4
- Issue comment event: 64
- Push event: 107
- Pull request review comment event: 14
- Pull request review event: 22
- Create event: 77
Last Year
- Delete event: 62
- Pull request event: 108
- Issues event: 2
- Watch event: 2
- Issue comment event: 63
- Push event: 81
- Pull request review comment event: 13
- Pull request review event: 17
- Create event: 59
Committers metadata
Last synced: 1 day ago
Total Commits: 467
Total Committers: 22
Avg Commits per committer: 21.227
Development Distribution Score (DDS): 0.677
Commits in past year: 90
Committers in past year: 5
Avg Commits per committer in past year: 18.0
Development Distribution Score (DDS) in past year: 0.367
| Name | Commits | |
|---|---|---|
| Austin Ziegler | a****n@z****a | 151 |
| Austin Ziegler | a****n@r****g | 124 |
| dependabot[bot] | 4****] | 57 |
| Alan Chen | a****n@r****g | 39 |
| (no author) | (****) | 28 |
| Tom Copeland | t****m@r****g | 21 |
| renovate[bot] | 2****] | 20 |
| merten | m****k@c****o | 6 |
| Kazuyoshi Kato | k****i@g****m | 3 |
| Austin Ziegler | a****n@h****a | 3 |
| dearblue | d****e | 2 |
| Richard Degenne | r****e@p****m | 2 |
| unknown | g****e@r****g | 2 |
| Yamamoto Kōhei | k****0@g****m | 1 |
| Pete Fritchman | p****n@f****m | 1 |
| Savater Sebastien | s****n@g****m | 1 |
| Todd Carrico | t****o@r****g | 1 |
| Tim Meusel | t****m@b****e | 1 |
| Sorah Fukumori | h****r@s****p | 1 |
| Akinori MUSHA | k****u@i****g | 1 |
| Jorie Tappa | j****e@p****m | 1 |
| Kevin McDermott | b****d@g****m | 1 |
Committer domains:
- rubyforge.org: 5
- puppet.com: 1
- idaemons.org: 1
- sorah.jp: 1
- bastelfreak.de: 1
- fxcm.com: 1
- perfect-memory.com: 1
- halostatue.ca: 1
- crossengage.io: 1
- zieglers.ca: 1
Issue and Pull Request metadata
Last synced: 3 days ago
Total issues: 28
Total pull requests: 205
Average time to close issues: about 2 years
Average time to close pull requests: about 1 month
Total issue authors: 15
Total pull request authors: 18
Average comments per issue: 2.32
Average comments per pull request: 1.44
Merged pull request: 160
Bot issues: 4
Bot pull requests: 135
Past year issues: 0
Past year pull requests: 118
Past year average time to close issues: N/A
Past year average time to close pull requests: 2 days
Past year issue authors: 0
Past year pull request authors: 5
Past year average comments per issue: 0
Past year average comments per pull request: 1.03
Past year merged pull request: 82
Past year bot issues: 0
Past year bot pull requests: 101
Top Issue Authors
- halostatue (10)
- renovate[bot] (4)
- bv-vijay (2)
- debasishbsws (1)
- kidbrax (1)
- aramprice (1)
- kzys (1)
- bastelfreak (1)
- killbotXD (1)
- lngarrett (1)
- refashioned (1)
- jordansissel (1)
- ecneladis (1)
- fnordfish (1)
- ooooooo-q (1)
Top Pull Request Authors
- dependabot[bot] (95)
- halostatue (51)
- renovate[bot] (39)
- kzys (3)
- dearblue (2)
- sorah (2)
- fetep (2)
- bigkevmcd (1)
- Richard-Degenne (1)
- nevesenin (1)
- bastelfreak (1)
- bv-vijay (1)
- mend-bolt-for-github[bot] (1)
- kymmt90 (1)
- ooooooo-q (1)
Top Issue Labels
- Feature Requests (3)
- Bugs (2)
Top Pull Request Labels
- dependencies (95)
- github_actions (95)
- Patches (3)
- Bugs (2)
- Feature Requests (1)
Package metadata
- Total packages: 15
-
Total downloads:
- rubygems: 126,798,019 total
- Total docker downloads: 807,550,024
- Total dependent packages: 257 (may contain duplicates)
- Total dependent repositories: 19,459 (may contain duplicates)
- Total versions: 54
- Total maintainers: 2
- Total advisories: 4
gem.coop: minitar
The minitar library is a pure-Ruby library that operates on POSIX tar(1) archive files. minitar (previously called Archive::Tar::Minitar) is based heavily on code originally written by Mauricio Julio Fernández Pradier for the rpa-base project.
- Homepage: https://github.com/halostatue/minitar
- Documentation: http://www.rubydoc.info/gems/minitar/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 1.1.0 (published 6 months ago)
- Last Synced: 2026-03-01T19:33:19.377Z (2 days ago)
- Versions: 13
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 53,652,283 Total
- Docker Downloads: 403,741,414
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.215%
- Docker downloads count: 0.375%
- Downloads: 0.486%
- Maintainers (1)
gem.coop: archive-tar-minitar
'archive-tar-minitar' has been deprecated; just install 'minitar'. The minitar library is a pure-Ruby library that provides the ability to deal with POSIX tar(1) archive files. This is release 0.12. This is likely the last revision before 1.0. minitar (previously called Archive::Tar::Minitar) is based heavily on code originally written by Mauricio Julio Fernández Pradier for the rpa-base project.
- Homepage: https://github.com/halostatue/minitar/
- Documentation: http://www.rubydoc.info/gems/archive-tar-minitar/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 0.6.1 (published about 9 years ago)
- Last Synced: 2026-03-01T22:03:42.683Z (2 days ago)
- Versions: 6
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 9,750,383 Total
- Docker Downloads: 33,598
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.396%
- Downloads: 1.187%
- Maintainers (2)
- Advisories:
rubygems.org: minitar
The minitar library is a pure-Ruby library that operates on POSIX tar(1) archive files. minitar (previously called Archive::Tar::Minitar) is based heavily on code originally written by Mauricio Julio Fernández Pradier for the rpa-base project.
- Homepage: https://github.com/halostatue/minitar
- Documentation: http://www.rubydoc.info/gems/minitar/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 1.1.0 (published 6 months ago)
- Last Synced: 2026-03-01T09:57:09.049Z (3 days ago)
- Versions: 13
- Dependent Packages: 126
- Dependent Repositories: 8,357
- Downloads: 53,645,095 Total
- Docker Downloads: 403,741,414
-
Rankings:
- Dependent packages count: 0.273%
- Dependent repos count: 0.356%
- Downloads: 0.444%
- Docker downloads count: 0.469%
- Average: 2.641%
- Forks count: 5.622%
- Stargazers count: 8.681%
- Maintainers (1)
- Advisories:
rubygems.org: archive-tar-minitar
'archive-tar-minitar' has been deprecated; just install 'minitar'. The minitar library is a pure-Ruby library that provides the ability to deal with POSIX tar(1) archive files. This is release 0.12. This is likely the last revision before 1.0. minitar (previously called Archive::Tar::Minitar) is based heavily on code originally written by Mauricio Julio Fernández Pradier for the rpa-base project.
- Homepage: https://github.com/halostatue/minitar/
- Documentation: http://www.rubydoc.info/gems/archive-tar-minitar/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 0.6.1 (published about 9 years ago)
- Last Synced: 2026-03-01T09:57:05.662Z (3 days ago)
- Versions: 6
- Dependent Packages: 131
- Dependent Repositories: 11,102
- Downloads: 9,750,258 Total
- Docker Downloads: 33,598
-
Rankings:
- Dependent packages count: 0.263%
- Dependent repos count: 0.324%
- Downloads: 1.015%
- Docker downloads count: 2.099%
- Average: 2.99%
- Forks count: 5.589%
- Stargazers count: 8.652%
- Maintainers (2)
- Advisories:
proxy.golang.org: github.com/halostatue/minitar
- Homepage:
- Documentation: https://pkg.go.dev/github.com/halostatue/minitar#section-documentation
- Licenses: other
- Latest release: v1.1.0 (published 6 months ago)
- Last Synced: 2026-02-28T21:01:20.626Z (3 days ago)
- Versions: 6
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 4.611%
- Stargazers count: 6.413%
- Average: 7.85%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
debian-10: ruby-minitar
- Homepage: https://github.com/halostatue/minitar/
- Documentation: https://packages.debian.org/buster/ruby-minitar
- Licenses:
- Latest release: 0.6.1-1 (published 21 days ago)
- Last Synced: 2026-02-13T04:22:57.249Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-minitar
- Homepage: https://github.com/halostatue/minitar
- Documentation: https://packages.debian.org/bullseye/ruby-minitar
- Licenses:
- Latest release: 0.9-1 (published 21 days ago)
- Last Synced: 2026-02-13T08:22:17.494Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-minitar
- Homepage: https://github.com/halostatue/minitar
- Documentation: https://packages.debian.org/bookworm/ruby-minitar
- Licenses:
- Latest release: 0.9-1 (published 19 days ago)
- Last Synced: 2026-02-12T23:35:09.281Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
debian-13: ruby-minitar
- Homepage: https://github.com/halostatue/minitar
- Documentation: https://packages.debian.org/trixie/ruby-minitar
- Licenses: other
- Latest release: 0.9-1 (published 20 days ago)
- Last Synced: 2026-02-13T13:17:30.895Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- coveralls ~> 0.7
- rake ~> 10.0
- rdoc < 4.0
- rdoc < 6.0
- simplecov ~> 0.7
- actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
- reviewdog/action-actionlint 83e4ed25b168066ad8f62f5afbb29ebd8641d982 composite
- reviewdog/action-typos d5eb1bbcd1b3bfde596f6eeb470322727862fe98 composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
- actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
- actions/deploy-pages d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e composite
- actions/upload-pages-artifact 7b1f4a764d45c48632c6b24a0339c27f5614fb0b composite
- ruby/setup-ruby d354de180d0c9e813cfddfcbdc079945d4be589b composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
- KineticCafe/actions-dco 6e1652ef3027ce128e65e6edd215ae053350bd16 composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
- actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
- actions/dependency-review-action 3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
- actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
- ruby/setup-ruby d354de180d0c9e813cfddfcbdc079945d4be589b composite
- rubygems/release-gem 1c162a739e8b4cb21a676e97b087e8268d8fc40b composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
- actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
- coverallsapp/github-action 648a8eb78e6d50909eff900e4ec85cab4524a45b composite
- ruby/setup-ruby d354de180d0c9e813cfddfcbdc079945d4be589b composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
- actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
- zizmorcore/zizmor-action 135698455da5c3b3e55f73f4419e481ab68cdd95 composite
Score: 27.50762410089593