Mike McQuaid 97ad3567d1
Optimise more command handling/speed
- in `brew.sh` split the `case` into those cases that take a single or
  no arguments and those that take multiple arguments or handle
  multiple commands. This considerably speeds up the
  `brew shellenv bash` case that wasn't being handled here before.
- add `setup-ruby` to the list of commands that can be called quickly
  by `brew.sh` without additional setup. This speeds up the
  `brew setup-ruby` no-op case by ~10x.
- add a parameter to `setup-ruby` to avoid running Bundler if the
  command doesn't need it. This makes many more cases for
  `brew setup-ruby` to be no-op cases.
- Remove the (now) unused `HOMEBREW_RUBY3` check in `setup-ruby`.
- Improve argument handling in `command_path.sh` to allow it to be
  used as a function in `setup-ruby.sh`.
- Add a new RuboCop to check usage of `install_bundler_gems!` is only
  inside `dev-cmd` (or a few other acceptable places).
- Use new `processed_source.file_path` API in `formula_cop.rb`
2024-04-30 12:48:29 +01:00
..
2024-04-01 15:53:56 -07:00
2024-04-01 15:56:06 -07:00
2024-04-01 15:56:06 -07:00
2024-04-01 15:58:07 -07:00
2024-04-01 16:00:47 -07:00
2024-04-01 16:02:41 -07:00
2024-03-29 18:53:07 -07:00
2024-03-29 18:53:07 -07:00
2024-03-29 18:53:07 -07:00
2024-03-29 18:53:07 -07:00
2024-04-21 17:56:59 -04:00
2024-03-29 18:53:07 -07:00
2024-03-29 18:53:07 -07:00
2024-03-29 18:53:07 -07:00
2024-03-30 16:43:11 -07:00
2024-03-30 16:43:11 -07:00
2024-03-30 16:43:11 -07:00
2024-03-30 16:24:11 -07:00
2024-04-23 15:55:06 +08:00
2024-04-09 10:42:08 +01:00
2024-04-01 09:15:58 -07:00
2024-04-01 09:15:58 -07:00
2024-04-01 09:15:58 -07:00
2024-04-01 09:42:31 -07:00
2024-04-01 09:44:14 -07:00
2024-04-01 09:59:47 -07:00
2024-04-01 10:05:02 -07:00
2024-04-01 10:12:52 -07:00
2024-04-12 09:52:37 -07:00
2024-04-01 11:43:52 -07:00
2024-04-01 11:46:01 -07:00
2024-04-01 11:47:18 -07:00
2024-04-01 11:48:40 -07:00
2024-04-01 12:01:37 -07:00