12 Commits

Author SHA1 Message Date
Markus Reiter
67d51ef0e1 Fix Dmg being detected as Tar. 2019-10-13 17:19:02 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
JuPlutonic
e0bf31764e Deletion of files added in PR. -o addition is only one needed argument in unpack_strategy/tar.rb.
update gnu_tar.rb

removed tab

update unpacking_strategy/tar.rb

to resolve conversations
But OFFENCE found, W: 31: 36: Unused method argument - basename (brew style)
Now I start to using rubocop inside Sublime_text3 where I see all right linting messages.

Rollback install.rb changes.

Conversation resolved, extra_args: "--owner=0", "--group=0" and "--no-same-owner" in extend/os/linux/gnu_tar.rb.

Conversation: file extend/os/linux/gnu_tar.rb moved to extend/os/linux/unpack_strategy/tar.rb. Module UnpackStrategy is parent for the GnuTar module.

Conversation: new file extent/unpack_strategy/tar.rb to require logic, unpack_strategy/tar.rb newline bef. require-line, require-line changed.

Deletion of files added in PR. -o addition is only one needed argument in unpack_strategy/tar.rb.
2019-03-01 14:22:39 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier. 2019-02-21 12:55:49 +00:00
Mike McQuaid
737b84b54b
brew style --fix fixes. 2018-11-02 17:29:23 +00:00
Markus Reiter
3e79e1b89e .tar.lz.tar.lzma 2018-08-21 15:46:24 +02:00
Markus Reiter
81939dc496 Pass verbose to unpack strategies. 2018-08-02 15:52:55 +02:00
Markus Reiter
f8dc9eff58 Move .tar.xz logic from Xz to Tar. 2018-08-01 00:56:36 +02:00
Markus Reiter
281ead3096 Look for extension first, then fall back to magic number. 2018-08-01 00:56:36 +02:00
Markus Reiter
e8f7a88976 Only call hdiutil if it’s a bzip2 or zlib. 2018-08-01 00:56:36 +02:00
Markus Reiter
eccd20e276 Merge Hbc::Container classes into UnpackStrategy. 2018-07-24 16:44:27 +02:00
Markus Reiter
b6e54a06e0 Refactor unpack strategies into separate files. 2018-07-23 20:59:28 +02:00