Issy Long c8504427cb
CurlDownloadStrategy: Ignore invalid last-modified header values
- Some download locations return a non-standard formatting of date string for the `Last-Modified` header.
  This causes `Time.parse` to blow up. The user sees `error: argument out of range`.
- In this commit we handle the error and return nil, which `filter_map` (equivalent to `.map.compact`) gets rid of and then `time.last` is as normal.
- Fixes https://github.com/Homebrew/brew/issues/ 17556.
2024-06-26 20:00:45 +01:00
..
2024-05-23 17:15:43 +01:00
2024-05-23 00:11:53 +00:00
2024-06-22 20:55:13 +01:00
2024-05-23 17:15:43 +01:00
2024-06-11 02:59:31 +01:00
2024-05-02 09:40:09 +02:00
2024-06-14 12:22:02 +01:00
2024-06-25 18:35:34 +00:00
2024-05-23 17:15:43 +01:00
2024-06-14 03:32:38 +01:00
2024-05-01 11:35:21 +02:00
2024-06-02 15:15:24 +01:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-06-11 23:03:53 +01:00
2024-05-02 09:40:09 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-23 17:15:43 +01:00
2024-05-17 14:25:54 +09:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-06-25 18:35:34 +00:00
2024-05-17 14:25:54 +09:00
2024-04-22 21:16:49 +02:00
2024-05-23 17:15:43 +01:00
2024-05-01 11:35:21 +02:00
2024-05-17 14:25:54 +09:00
2024-05-17 12:38:16 +09:00
2024-05-01 11:35:21 +02:00
2024-05-13 08:48:41 -04:00
2024-05-01 11:35:21 +02:00
2024-05-23 17:15:43 +01:00
2024-05-31 15:49:12 -07:00
2024-06-11 23:03:53 +01: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!