30574 Commits

Author SHA1 Message Date
Mike McQuaid
7d8520fd53
Merge pull request #16592 from Homebrew/dependabot/bundler/Library/Homebrew/prism-0.20.0
build(deps-dev): bump prism from 0.19.0 to 0.20.0 in /Library/Homebrew
2024-02-06 09:08:34 +00:00
BrewTestBot
50521edd7f
Update RBI files for prism.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-06 08:56:56 +00:00
BrewTestBot
47f911eeff
Update RBI files for rspec-core.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-06 08:56:43 +00:00
BrewTestBot
9cef722310
brew vendor-gems: commit updates. 2024-02-06 08:54:55 +00:00
BrewTestBot
95ed4c3968
brew vendor-gems: commit updates. 2024-02-06 08:54:48 +00:00
dependabot[bot]
4d2e6287d1
build(deps-dev): bump prism from 0.19.0 to 0.20.0 in /Library/Homebrew
Bumps [prism](https://github.com/ruby/prism) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/ruby/prism/releases)
- [Changelog](https://github.com/ruby/prism/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ruby/prism/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: prism
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 08:53:35 +00:00
dependabot[bot]
a52376a386
build(deps-dev): bump rspec-core in /Library/Homebrew
Bumps [rspec-core](https://github.com/rspec/rspec-core) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/rspec/rspec-core/releases)
- [Changelog](https://github.com/rspec/rspec-core/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-core/compare/v3.12.2...v3.12.3)

---
updated-dependencies:
- dependency-name: rspec-core
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 08:53:25 +00:00
BrewTestBot
4e12cc0e0c
Update RBI files for rspec-expectations.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-05 18:38:20 +00:00
BrewTestBot
f10042989b
brew vendor-gems: commit updates. 2024-02-05 18:36:32 +00:00
dependabot[bot]
ad37cc76a1
build(deps-dev): bump rspec-expectations in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.12.3...v3.12.4)

---
updated-dependencies:
- dependency-name: rspec-expectations
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 18:35:11 +00:00
Kevin
d94772171f
Merge pull request #16541 from apainintheneck/next-gen-api-formula-json-v3
Next gen api formula json v3
2024-02-04 11:16:01 -08:00
Eric Knibbe
e63b1f4da5
docs: monospace suggested values 2024-02-04 15:42:26 +01:00
Eric Knibbe
7698cf2098
audit: messaging improvements 2024-02-04 15:10:14 +01:00
apainintheneck
54b54b7e93
formula: change how #to_hash is defined for backwards compatibility
Now the output of commands like `brew info --json=` and
`brew generate-formula-api` should be the same as before along with
the additional files for the internal API. Before this commit the
hash key order had changed.
2024-02-04 13:50:57 +01:00
apainintheneck
3c503cdf56
Normalize service serialization method names 2024-02-04 13:50:57 +01:00
apainintheneck
d9a98ac4ec
Address review feedback
- move caveats serialization to a method
- remove unnecessary nesting where the hash would only have one key

Also, removed comment about checking disable and deprecation reasons.
2024-02-04 13:50:57 +01:00
apainintheneck
ba3a0f8c33
dev-cmd/generate-formula-api: generate homebrew-core.json
This adds the code to generate the homebrew-core.json file which
represents the entire tap instead of just the previous array of
formula hashes. Any shared logic has been moved into the top-level
hash scope including aliases, renames, tap_git_head and tap_migrations.

I also added a check to skip adding the variations hash to the api
hash if it is empty.

Now we're down to 10MB from 24MB!!!
2024-02-04 13:50:57 +01:00
apainintheneck
69609731d9
formula: share dependencies serialization logic
Note: This changes where the "head_dependencies" key in the hash
shows up but not the hash's contents.

"head_dependencies" now shows up directly after all of the other
dependency keys. Before it was always at the end of the hash after
variations.
2024-02-04 13:50:57 +01:00
apainintheneck
d2dd80b0d6
formula: share requirements serialization logic 2024-02-04 13:50:57 +01:00
apainintheneck
c1d85bf598
formula: add #to_api_hash
This will be used internally to generate a slimmer api hash representation
of formulas that will require less space and be faster to load.

Changes:
- Added #to_api_hash
- Modified #to_hash_with_variations to work with both #to_hash and #to_api_hash
- Modified #bottle_hash to have compact representation for the api hash
- Added #urls_hash to share url hash generation logic between the hash methods
2024-02-04 13:50:57 +01:00
BrewTestBot
d39268ba84
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-02-04 11:42:32 +00:00
Mike McQuaid
0d02aa3313
Merge pull request #16578 from dnicolson/fix-quick-look
Replace “QuickLook” with “Quick Look”
2024-02-04 12:09:45 +01:00
Kevin
34882f51a8
Merge pull request #16577 from apainintheneck/exclude-more-tap-files-from-top-level-method-cop
rubocop: exclude more tap files from the top-level method cop
2024-02-03 16:59:29 -08:00
apainintheneck
648c50e9a6 rubocop: exclude more tap files from the top-level method cop
Basically, this started failing for me on my personal tap because
there are some methods defined at the top-level in my Rakefile.
That seems acceptable to me and since we're already ignoring all
other Ruby files in the tap I figured we might as well just ignore
all of them.

I ended up changing one other use of `Taps/**/*.rb` to `Taps/**/*.rb`
as well.
2024-02-03 16:44:36 -08:00
Dave Nicolson
31f09f8d30 Replace “QuickLook” with “Quick Look” 2024-02-03 23:54:04 +01:00
BrewTestBot
5e1f7cc033
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-02-03 00:26:42 +00:00
Patrick Linnane
392cc15a7d
Merge pull request #16572 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11226
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-02-02 08:39:36 -08:00
Issy Long
06028c204a
Merge pull request #16518 from issyl0/rubocop-md
rubocop: Try out `rubocop-md` for linting the code in our docs
2024-02-02 15:49:46 +00:00
BrewTestBot
5a7233bcd6
Update RBI files for sorbet-runtime-and-sorbet-static-and-runtime.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-02 11:38:38 +00:00
BrewTestBot
ba72b5732d
brew vendor-gems: commit updates. 2024-02-02 11:32:37 +00:00
dependabot[bot]
19f120e247
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11223 to 0.5.11226
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11223 to 0.5.11226
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 11:29:22 +00:00
Mike McQuaid
926dcda187
Merge pull request #16570 from dduugg/addl-reqs
Add additional `require` support to tapioca
2024-02-02 08:34:34 +00:00
Patrick Linnane
377dbfc117
Merge pull request #16569 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11223
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-02-01 12:32:59 -08:00
BrewTestBot
4a045e9047
brew vendor-gems: commit updates. 2024-02-01 20:19:04 +00:00
BrewTestBot
799e4fa0a4
Update RBI files for diff-lcs.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-01 17:55:50 +00:00
BrewTestBot
b899739402
brew vendor-gems: commit updates. 2024-02-01 17:52:32 +00:00
dependabot[bot]
73d78f21b6
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11222 to 0.5.11223
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11222 to 0.5.11223
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:50:33 +00:00
dependabot[bot]
52a6395a38
build(deps-dev): bump diff-lcs from 1.5.0 to 1.5.1 in /Library/Homebrew
Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.5.0 to 1.5.1.
- [Changelog](https://github.com/halostatue/diff-lcs/blob/main/History.md)
- [Commits](https://github.com/halostatue/diff-lcs/commits)

---
updated-dependencies:
- dependency-name: diff-lcs
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:49:32 +00:00
Douglas Eichelberger
464810884f brew typecheck --update-all 2024-02-01 09:48:30 -08:00
Douglas Eichelberger
15db90effd Add additional requires support to tapioca 2024-02-01 09:48:30 -08:00
Douglas Eichelberger
e235bcf903 Add caveats.rbi 2024-01-31 22:23:40 -08:00
BrewTestBot
b271028c65 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-01-31 22:23:40 -08:00
Douglas Eichelberger
8156c5d140 Audit remaining commands 2024-01-31 20:02:33 -08:00
Douglas Eichelberger
07eb24d220 Add missing SystemCommand::Mixin to update-sponsors 2024-01-31 19:55:13 -08:00
Bo Anderson
f5068ab317
Merge pull request #16558 from dduugg/mechanize-fixes
Fix mechanize vendoring; add RBI defs
2024-02-01 01:25:12 +00:00
Douglas Eichelberger
583852cb0a Add missing SystemCommand::Mixin to fix CI 2024-01-31 14:55:04 -08:00
Douglas Eichelberger
eb7c3e52a0 Require SystemInclude only where needed 2024-01-31 11:42:01 -08:00
BrewTestBot
6e843900bd
brew vendor-gems: commit updates. 2024-01-31 18:13:29 +00:00
dependabot[bot]
4e5fc54b5f
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-static-and-runtime` from 0.5.11221 to 0.5.11222
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11221 to 0.5.11222
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 18:10:17 +00:00
Douglas Eichelberger
8b826cc765 Add rbi to replace hidden def 2024-01-31 09:41:49 -08:00