27 Commits

Author SHA1 Message Date
Don Chea
907a9238c2 Always pass headers as array to downloader, if present
We still need to support it being named "header" in the Cask url stanza.
2023-06-28 11:37:15 -04:00
Don Chea
8f8d69a203 cask: url stanza support for multiple headers 2023-06-28 11:36:12 -04:00
Markus Reiter
813e639678
Add cask URL location to audit problems. 2023-05-21 16:17:16 +02:00
Markus Reiter
af1961d509
Fix type for nested url blocks. 2023-04-29 03:33:59 +02:00
Bo Anderson
44f058edb5
Refactor formula, cask and Ruby source downloads to use shared code 2023-04-27 23:23:07 +01:00
Douglas Eichelberger
24cf6076e8 brew style --fix 2023-04-24 20:42:39 -07:00
Nanda H Krishna
fe0eb9b5b0
Fix style issues 2022-12-22 23:52:26 -05:00
Mike McQuaid
77c0d38c35
brew style --fix 2022-12-13 11:37:06 +00:00
Harry Marr
b11df3bef8
Singularise only_paths (now only_path) 2022-10-22 10:53:02 -04:00
Harry Marr
7df90eb7e1
Support git partial clones with sparse checkouts 2022-10-20 15:45:32 -04:00
Bo Anderson
eac32f0b20
Additional fixes for Ruby 3 compatibility 2022-10-18 01:54:59 +01:00
Bo Anderson
f5dc7a571f
Fix Style/ObjectThen offences 2022-06-17 19:47:55 +01:00
Markus Reiter
c8997a0d8b
Don't forward options if none are given. 2021-04-08 00:12:49 +02:00
Markus Reiter
0b6b05d1aa
Implement nested url do API. 2021-04-02 01:41:44 +02:00
Seeker
fbafaff4fe rubocop: require braces for Sorbet sig 2021-01-18 16:52:45 -08:00
Markus Reiter
6e5cf565e3 Ignore verified for url do blocks. 2020-12-12 06:01:26 +01:00
Markus Reiter
76a3c0338b Add unversioned? method to Cask::URL. 2020-12-07 21:40:47 +01:00
linzichao
058a1c3645 add verified parameter in url 2020-12-01 01:17:21 +01:00
Tie
aa979f0e31 add missing param header to url class 2020-10-27 16:47:07 -04:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
d36df37099 Replace custom stubs with sorbet-runtime-stub. 2020-10-09 16:45:13 +02:00
Markus Reiter
6f7b7cc699 Fix type-checking for URL. 2020-10-09 16:45:13 +02:00
Markus Reiter
b92f3a2e93 Document URL. 2020-08-26 03:13:59 +02:00
Mike McQuaid
f951ea83d4
Fix brew style. 2020-07-07 12:23:29 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00