Issy Long 0701ea42fa
cask/audit: Pass a URL's referer through to cURL
- Some casks have URL arguments like "referer" (spelled wrong, that's
  intentional in the HTTP spec).
- The audit for one such cask, `iThoughtsX`, was failing because the
  "referer" wasn't getting passed through to cURL so the access would
  404.

----

Before:

```
❯ brew audit --cask --online --appcast --signing 'ithoughtsx'
[...]
audit for ithoughtsx: failed
 - The binary URL https://cdn.toketaware.com?download=iThoughtsX.zip is not reachable (HTTP status code 404)
 - Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
 - Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
Error: 2 problems in 1 cask detected
```

After:

```
❯ brew audit --cask --online --appcast --signing 'ithoughtsx'
[...]
audit for ithoughtsx: failed
 - Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
 - Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
Error: 1 problem in 1 cask detected
```
2023-03-16 23:28:50 +00:00
..
2023-02-08 10:03:45 +01:00
2023-02-22 22:50:24 +00:00
2023-03-13 11:24:49 -07:00
2023-02-19 00:13:29 +00:00
2023-03-14 08:32:03 -07:00
2023-03-14 10:27:16 -07:00
2023-03-13 09:08:56 -07:00
2023-03-10 17:53:15 +00:00
2023-03-07 19:15:05 -08:00
2023-03-10 17:53:15 +00:00
2023-03-02 11:49:09 -08:00
2023-03-13 09:08:56 -07:00
2023-02-28 13:05:43 -08:00
2023-03-14 11:09:57 +01:00
2023-03-07 09:08:54 -08:00
2023-03-03 12:44:23 -08:00
2023-02-22 22:52:06 +00:00
2023-03-13 00:59:08 +01:00
2023-03-11 17:27:53 -08:00
2023-03-11 17:27:53 -08:00
2023-01-02 19:18:51 +00:00
2023-03-11 17:27:53 -08:00
2023-03-11 17:27:53 -08:00
2023-02-10 23:17:16 -05:00
2023-03-03 19:12:33 -08:00
2023-03-13 02:40:03 +01:00
2023-03-09 19:10:38 -08:00
2023-02-23 10:15:06 -08:00
2023-03-11 17:27:53 -08:00
2023-03-03 12:44:23 -08:00
2023-03-09 13:42:06 -08:00
2023-03-03 12:44:23 -08:00
2023-03-09 13:42:06 -08:00
2023-02-15 14:24:58 +00:00
2023-03-14 10:27:16 -07:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!