Sam Ford
6918160fd9
UnpackStrategy: Make #dependencies non-nilable
...
`T.nilable` was removed from the `P7Zip#dependencies` type signature
in a previous commit, as `UnpackStrategy#dependencies` doesn't allow
for a nilable return type. This updates the type signature for the
other `#dependencies` methods to also remove `T.nilable`, as they
would produce a runtime error otherwise.
2024-07-28 10:15:02 -04:00
Issy Long
edb8055c76
unpack_strategy/*: Convert to Sorbet typed: strict
2024-07-11 21:18:27 -04:00
Issy Long
9c6430954b
All the extract_to_dir
s return void
now
2024-07-11 11:05:47 +01:00
Douglas Eichelberger
4ebf1116d7
Introduce UnpackStrategyImpl
2024-07-08 12:56:19 +01:00
Mike McQuaid
ea2892f8ee
brew.rb: handle missing args.
2024-03-07 16:20:20 +00:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Douglas Eichelberger
82dc57dfea
Enable UnpackStrategy types
2023-03-21 17:37:46 -07:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
0e7f18a51e
Document UnpackStrategy
.
2020-08-26 03:13:58 +02:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
Markus Reiter
81939dc496
Pass verbose
to unpack strategies.
2018-08-02 15:52:55 +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
04e97e82db
Use magic number for Adobe Air.
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