Issy Long
4b83521061
dev_cmd/irb: Straight away require "formula"
...
- Otherwise we get: `uninitialized constant String::Formula (NameError)```
2024-07-03 20:39:36 +01:00
Patrick Linnane
f25e66754d
Merge pull request #17616 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-3.0.2
2024-07-03 12:12:04 -07:00
Issy Long
b6f142f7a9
Fewer T.must
s
2024-07-03 19:53:37 +01:00
BrewTestBot
01adff23d6
brew vendor-gems: commit updates.
2024-07-03 18:04:59 +00:00
dependabot[bot]
0f8a636b70
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11465 to 0.5.11466.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-03 18:04:03 +00:00
BrewTestBot
2761147fb0
brew vendor-gems: commit updates.
2024-07-03 18:03:53 +00:00
dependabot[bot]
673efb2a2e
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
...
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases )
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: rubocop-rspec
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-03 18:03:03 +00:00
Rylan Polster
c16a9b33b2
Use cached json API file for formulae and cask specified paths
2024-07-03 13:41:52 -04:00
Issy Long
9baf50af29
Get rid of even more T.must
s
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-07-03 15:04:18 +01:00
Alexander Bayandin
65885590ca
rubocops/class: allow disabled formulae to be without a test block
2024-07-03 10:25:26 +01:00
BrewTestBot
dd382cea50
brew vendor-gems: commit updates.
2024-07-02 16:58:42 +00:00
dependabot[bot]
522b0c9c17
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11463 to 0.5.11465.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 16:57:43 +00:00
Issy Long
3d09094df0
Fewer T.must
s
2024-07-02 16:20:39 +01:00
Issy Long
1db0834a91
dev-cmd/bottle: The cellar_parameter_needed?
method returns always boolean
2024-07-02 11:21:29 +01:00
Mike McQuaid
c524e5c2fc
Merge pull request #17608 from Homebrew/audit_min_os-more-fixes
2024-07-02 09:03:49 +01:00
Eric Knibbe
3f73f32286
cask/audit: handle on_os range bounded by depends_on
2024-07-01 23:11:26 -04:00
apainintheneck
16e605e056
Load tap migration renames from API with short names
...
This is a follow-up to 484498e. I added loading for tap migration
renames from the API but it apparently only worked for full names.
There was a bug in both the code and the tests which prevented
loading by short names. This fixes those bugs so everything should
be good now.
2024-07-01 18:53:31 -07:00
Issy Long
b9b065a54e
dev-cmd/bottle: Fix type errors (strings, symbols, either, none) thanks to the tests
2024-07-02 00:03:28 +01:00
Issy Long
9130dd1210
dev-cmd/contributions: Tighten up type sigs
2024-07-01 23:49:31 +01:00
Issy Long
3b695c6aa2
dev-cmd/bottle: Bump to Sorbet typed: strict
2024-07-01 23:38:26 +01:00
Ryan Rotter
e8c71646c1
description cache invalid if updated w/o EVAL_ALL
...
When updating description cache, if eval_all not set, clear cache rather
than leaving it out of date.
This fixes an issue where, if a user sets `--eval-all` on the command
line to run description searches, but HOMEBREW_EVAL_ALL isn't set in the
environment the cache is never updated.
2024-07-01 15:18:28 -04:00
Issy Long
8360218a3e
Run brew style
on all the new Sorbet sigs
2024-07-01 19:16:57 +01:00
Issy Long
f854a9f3fc
dev-cmd/audit: Bump to Sorbet typed: strict
2024-07-01 19:11:17 +01:00
BrewTestBot
d53f8741ac
Update RBI files for vernier.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-07-01 18:10:50 +00:00
BrewTestBot
67573c31ae
brew vendor-gems: commit updates.
2024-07-01 18:10:35 +00:00
dependabot[bot]
49db144508
build(deps-dev): bump vernier from 1.0.1 to 1.1.0 in /Library/Homebrew
...
Bumps [vernier](https://github.com/jhawthorn/vernier ) from 1.0.1 to 1.1.0.
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: vernier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 18:09:42 +00:00
Issy Long
9e0a749231
dev-cmd/extract: Can't be typed: strict
because of undef
usage
2024-07-01 18:40:12 +01:00
Issy Long
b1817391a8
dev-cmd/pr-pull: Bump to Sorbet typed: strict
2024-07-01 18:07:47 +01:00
Issy Long
8587f4ba11
dev-cmd/bump-formula-pr: Bump to Sorbet typed: strict
2024-07-01 13:14:47 +01:00
Mike McQuaid
3aeef5aef2
Merge pull request #17582 from rrotter/desc_search
2024-07-01 08:45:22 +01:00
Mike McQuaid
3b4fc698c1
Merge pull request #17597 from git-mann/effective_arch_for_rustflags
2024-07-01 08:44:31 +01:00
Mike McQuaid
484498ea7c
Merge pull request #17599 from Homebrew/load-tap-migration-renames-from-api
2024-07-01 08:43:44 +01:00
BrewTestBot
07f2d1910b
brew vendor-gems: commit updates.
2024-07-01 06:17:06 +00:00
dependabot[bot]
17ae55af21
build(deps-dev): bump yard-sorbet in /Library/Homebrew
...
Bumps [yard-sorbet](https://github.com/dduugg/yard-sorbet ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/dduugg/yard-sorbet/releases )
- [Changelog](https://github.com/dduugg/yard-sorbet/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dduugg/yard-sorbet/compare/v0.8.1...v0.9.0 )
---
updated-dependencies:
- dependency-name: yard-sorbet
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 06:16:16 +00:00
Ryan Rotter
816fe36a41
test Search.search_descriptions
2024-06-30 23:23:52 -04:00
Ryan Rotter
4f6771ccab
test brew desc -s
works w/ API w/o --eval-all
2024-06-30 23:05:29 -04:00
Ryan Rotter
99486c8107
Use API for description searches
...
Both `brew search --desc` and `brew desc --search` use API for cask and
formula searches unless `--eval-all` or `HOMEBREW_EVAL_ALL` set.
Description searches do not use the description cache or eval any
formulas/casks.
- With `--eval-all`, description search reverts to the old behavior.
- Warn if description search exludes any formulae/casks (because
`--eval-all` not set).
- Enforce `--eval-all` requirement if NO_INSTALL_FROM_API set.
2024-06-30 23:05:29 -04:00
apainintheneck
fb3b13e3c3
Add tests
...
Check for the following:
- Tap migration rename to core tap can be loaded by short name
- Tap migration rename to core tap can be loaded by long name
- Tap migration renam that clashes with existing core tap short name
is ignored in favor of loading the cask/formula from the core tap
2024-06-30 13:55:41 -07:00
Issy Long
6b995ad111
dev-cmd/pr-upload: Bump to Sorbet typed: strict
2024-06-30 20:58:10 +01:00
Issy Long
d5af469e85
dev-cmd/tests: Bump to Sorbet typed: strict
2024-06-30 20:41:02 +01:00
Mike McQuaid
ab2b3d50d2
Merge pull request #17588 from Kentzo/extract-revision
2024-06-30 19:37:27 +01:00
Mike McQuaid
6ca46550d9
Merge pull request #17596 from Homebrew/audit_min_os-arch-specific
2024-06-30 19:32:34 +01:00
Issy Long
0837f7c23c
dev-cmd/test: Bump to Sorbet typed: strict
2024-06-30 19:30:35 +01:00
Issy Long
3bf6a01516
dev-cmd/generate-formula-api: Bump to Sorbet typed: strict
2024-06-30 19:29:22 +01:00
Issy Long
944790acfe
dev-cmd/generate-cask-api: Bump to Sorbet typed: strict
2024-06-30 19:27:35 +01:00
Mike McQuaid
8de6d5172d
dev-cmd/extract_spec: remove test.
2024-06-30 19:27:26 +01:00
apainintheneck
10aa981209
Load tap migration renames from the API
...
These would not get loaded from the API at all meaning these
were not loadable by the old names when the core formula or cask
tap was not installed. We assume that most users don't have those
core taps tapped which means this is broken for most everyone.
2024-06-30 11:26:03 -07:00
Issy Long
3b28e90556
dev-cmd/tap-new: Bump to Sorbet typed: strict
2024-06-30 19:25:19 +01:00
Issy Long
69cf1df56f
dev-cmd/livecheck: Bump to Sorbet typed: strict
2024-06-30 19:23:26 +01:00
Mike McQuaid
3948359aab
Merge pull request #17575 from krehel/update-audit-rosetta
2024-06-30 19:23:24 +01:00