RubyGems Navigation menu

extracter 1.2.31

This fairly small project can be used to extract different archive formats such as .tar.bz2 or .tbz - archives such as .gem and .lzma will also work. You can also extract audio, by making use of class ExtractAudio (part of the multimedia_paradise gem. The latter is - and should be - optional, though. If you have no such use case then you won't need to install the multimedia_paradise gem. Usage example: require 'extracter' Extracter.new('/foo/bla-1.0.tar.bz2') The second argument that can be passed to the method new() specifies where this should be extract to. For example: Extracter.new('/foo/bla-1.0.tar.bz2', '/opt') This would extract to the /opt directory. You can query whether input is an archive or not via: Extracter.is_archive? 'foo.tar.xz' As of April 2014 we also provide a bin/extract file, so that you can simply extract something from the commandline. Since as of November 2018, class Extracter can also "extract" .iso files. (The .iso will be mounted to a directory that will be created, actually.)

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.2.31 - February 16, 2024 (24.0 KB)
  2. 1.2.30 - February 15, 2024 (24.0 KB)
  3. 1.2.17 - August 28, 2022 (23.0 KB)
  4. 1.2.16 - August 17, 2022 (22.5 KB)
显示所有版本 (共 137 个)

Runtime 依赖 (1):

opn >= 0

业主:

推送:

作者:

  • Robert A. Heiler

SHA 256 校验和:

fdb29884dd4692d7779c3fccfc92766a64ce1a6e6a9f4d997934ecdcb434860b

下载总量 77,840

这个版本 125

许可:

MIT

需要的 Ruby 版本: >= 3.2.2

需要的 RubyGems 版本: >= 3.5.3

链接: