43894 Commits

Author SHA1 Message Date
BrewTestBot
8b684713ec
Update RBI files for tapioca.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-01-16 18:30:32 +00:00
BrewTestBot
4fce9c245b
brew vendor-gems: commit updates. 2025-01-16 18:30:32 +00:00
BrewTestBot
f2facbd47d
brew vendor-gems: commit updates. 2025-01-16 18:30:21 +00:00
Douglas Eichelberger
75433a5ac4
Merge branch 'master' into dependabot/bundler/Library/Homebrew/spoom-1.5.1 2025-01-16 10:28:50 -08:00
Douglas Eichelberger
2c75f4d414 Restructure .gitignore gem handling 2025-01-16 10:27:37 -08:00
dependabot[bot]
2d900d02b3
build(deps-dev): bump parser in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.3.6.0 to 3.3.7.0.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.3.6.0...v3.3.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 18:03:48 +00:00
dependabot[bot]
17ec90f4ec
build(deps-dev): bump tapioca from 0.16.7 to 0.16.8 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.16.7...v0.16.8)

---
updated-dependencies:
- dependency-name: tapioca
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 18:03:24 +00:00
Mike McQuaid
693e480a13
Merge pull request #19099 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-1c530e70fb 2025-01-16 16:28:40 +00:00
BrewTestBot
1d181d92a7
Update RBI files for spoom.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-01-16 04:41:12 +00:00
BrewTestBot
130562514f
brew vendor-gems: commit updates. 2025-01-16 04:41:01 +00:00
BrewTestBot
7f64e6802f
brew vendor-gems: commit updates. 2025-01-16 04:40:53 +00:00
dependabot[bot]
4ecf3c1a64
build(deps-dev): bump spoom from 1.5.0 to 1.5.1 in /Library/Homebrew
Bumps [spoom](https://github.com/Shopify/spoom) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/Shopify/spoom/releases)
- [Commits](https://github.com/Shopify/spoom/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: spoom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 04:39:26 +00:00
dependabot[bot]
c6151f1a09
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


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

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

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

Updates `sorbet-static` from 0.5.11755 to 0.5.11758
- [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-group: sorbet
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 04:39:17 +00:00
Sam Ford
256e826c3a
Merge pull request #19077 from Homebrew/curl-typed-strict
Curl: Use `typed: strict`
2025-01-15 11:54:43 +00:00
Douglas Eichelberger
00c3f63511
Merge pull request #19096 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-cfb70c2f1b
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-01-14 21:53:32 +00:00
Douglas Eichelberger
1c4233cc30
Merge pull request #19097 from Homebrew/dependabot/bundler/Library/Homebrew/stackprof-0.2.27
build(deps-dev): bump stackprof from 0.2.26 to 0.2.27 in /Library/Homebrew
2025-01-14 21:53:18 +00:00
Douglas Eichelberger
63f6de0778
Merge pull request #19098 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-github-3.0.0
build(deps-dev): bump rspec-github from 2.4.0 to 3.0.0 in /Library/Homebrew
2025-01-14 21:53:02 +00:00
BrewTestBot
d22c84c131
brew vendor-gems: commit updates. 2025-01-14 20:46:23 +00:00
BrewTestBot
52b12fb63b
Update RBI files for stackprof.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-01-14 20:46:18 +00:00
BrewTestBot
a3a4316bd2
brew vendor-gems: commit updates. 2025-01-14 20:46:11 +00:00
BrewTestBot
f2355d2c10
brew vendor-gems: commit updates. 2025-01-14 20:46:09 +00:00
dependabot[bot]
2e8c0cb818
build(deps-dev): bump rspec-github in /Library/Homebrew
Bumps [rspec-github](https://github.com/drieam/rspec-github) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/drieam/rspec-github/releases)
- [Commits](https://github.com/drieam/rspec-github/compare/2.4.0...3.0.0)

---
updated-dependencies:
- dependency-name: rspec-github
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 18:27:43 +00:00
dependabot[bot]
3084f76b64
build(deps-dev): bump stackprof in /Library/Homebrew
Bumps [stackprof](https://github.com/tmm1/stackprof) from 0.2.26 to 0.2.27.
- [Changelog](https://github.com/tmm1/stackprof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tmm1/stackprof/compare/v0.2.26...v0.2.27)

---
updated-dependencies:
- dependency-name: stackprof
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 18:27:15 +00:00
dependabot[bot]
53205d56d6
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


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

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

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

Updates `sorbet-static` from 0.5.11751 to 0.5.11755
- [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-group: sorbet
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 18:27:08 +00:00
Sam Ford
d8125322e1
Curl: expand test coverage
This adds more tests to `curl_spec.rb` to increase test coverage.
This brings almost all of the methods that don't make network
requests up to 100% line and branch coverage (the exception being
some guards in `parse_curl_output` that shouldn't happen under
normal circumstances).

In the process of writing more tests for `parse_curl_response`, I
made some tweaks to remove checks for conditions that shouldn't ever
be true (e.g., `match["code"]` isn't optional, so it will be present
if `HTTP_STATUS_LINE_REGEX` matches) and to refactor some others. I
contributed this method a while back (9171eb2), so this is me coming
back to clarify some behavior.
2025-01-14 08:14:39 -05:00
Sam Ford
cf22382921
Curl: use typed: strict
This upgrades `utils/curl.rb` to `typed: strict`, which requires
a number of changes to pass `brew typecheck`. The most
straightforward are adding type signatures to methods, adding type
annotations (e.g., `T.let`) to variables that need them, and ensuring
that methods always use the expected return type.

I had to refactor areas where we call a `Utils::Curl` method and use
array destructuring on a `SystemCommand::Result` return value
(e.g., `output, errors, status = curl_output(...)`), as Sorbet
doesn't understand implicit array conversion. As suggested by Markus,
I've switched these areas to use `#stdout`, `#stderr`, and `#status`.
This requires the use of an intermediate variable (`result`) in some
cases but this was a fairly straightforward substitution.

I also had to refactor how `Cask::URL::BlockDSL::PageWithURL` works.
It currently uses `page.extend PageWithURL` to add a `url` attribute
but this reworks it to subclass `SimpleDelegator` and use an
`initialize` method instead. This achieves the same goal but in a way
that Sorbet can understand.
2025-01-14 08:14:39 -05:00
Mike McQuaid
f16f699a34
Merge pull request #19093 from gibfahn/proxy_build
build_environment: pass http_proxy env vars through to build env
2025-01-14 09:26:11 +00:00
Mike McQuaid
011e9489d7
Merge pull request #19095 from Homebrew/bundle_version_plist_readable
cask/cask: ensure plist is readable before reading.
2025-01-14 09:13:47 +00:00
Mike McQuaid
93a9776e34
cask/cask: ensure plist is readable before reading.
If we don't have permissions to read it, this will raise an exception
even although this whole call chain is very tolerant of nil values.
2025-01-14 08:52:20 +00:00
Patrick Linnane
9eaa048cfe
Merge pull request #19089 from Homebrew/dependabot/bundler/Library/Homebrew/unicode-display_width-3.1.4
build(deps-dev): bump unicode-display_width from 3.1.3 to 3.1.4 in /Library/Homebrew
2025-01-14 01:58:32 +00:00
Douglas Eichelberger
fdf7ed817e
Merge pull request #19088 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-ac96944a03
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-01-13 20:20:44 +00:00
Douglas Eichelberger
0d1a817d3a
Merge pull request #19090 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.23.5
build(deps-dev): bump ruby-lsp from 0.23.4 to 0.23.5 in /Library/Homebrew
2025-01-13 20:20:03 +00:00
BrewTestBot
68bb64d817
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-01-13 19:59:35 +00:00
BrewTestBot
44ac170b7d
brew vendor-gems: commit updates. 2025-01-13 19:59:25 +00:00
BrewTestBot
5ff88121a8
brew vendor-gems: commit updates. 2025-01-13 19:59:11 +00:00
BrewTestBot
368b407355
brew vendor-gems: commit updates. 2025-01-13 19:58:53 +00:00
Gibson Fahnestock
69e9f60da8
build_environment: pass http_proxy env vars through to build env
This allows you to build bottles in an environment that doesn't have
access to the source URLs, or things downloaded during the bottling
phase, without a proxy.

These are the set of environment variables that are already documented
in `man brew`.
2025-01-13 19:35:31 +00:00
Markus Reiter
f5323428d8
Merge pull request #19092 from Homebrew/dependabot/github_actions/github/codeql-action-3.28.1
build(deps): bump github/codeql-action from 3.28.0 to 3.28.1
2025-01-13 19:20:32 +00:00
Markus Reiter
80b4ee903e
Merge pull request #19091 from Homebrew/dependabot/github_actions/artifacts-cff0214797
build(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0 in the artifacts group
2025-01-13 19:20:11 +00:00
dependabot[bot]
dab2d238b0
build(deps): bump github/codeql-action from 3.28.0 to 3.28.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.0 to 3.28.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](48ab28a6f5...b6a472f63d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 18:31:06 +00:00
dependabot[bot]
45674081c2
build(deps): bump actions/upload-artifact in the artifacts group
Bumps the artifacts group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6f51ac03b9...65c4c4a1dd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: artifacts
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 18:30:59 +00:00
dependabot[bot]
9dd69607a0
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.4 to 0.23.5.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.4...v0.23.5)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 18:07:01 +00:00
dependabot[bot]
d1ad5f469a
build(deps-dev): bump unicode-display_width in /Library/Homebrew
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width) from 3.1.3 to 3.1.4.
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: unicode-display_width
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 18:06:49 +00:00
dependabot[bot]
6ebbbeef57
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


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

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

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

Updates `sorbet-static` from 0.5.11746 to 0.5.11751
- [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-group: sorbet
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 18:06:35 +00:00
Issy Long
4c9de7d31c
Merge pull request #19084 from Homebrew/add-comments-to-rubocop-disables
Add clarifying comments to `rubocop:disable`s
4.4.16
2025-01-13 11:32:31 +00:00
Issy Long
9c8ff4c7d6
Reset "custom internal commands" RSpec.shared_context wording
- I tried this as a previous approach to see if we could enable the rule, but it didn't work, then I forgot about it.
2025-01-13 11:18:05 +00:00
Mike McQuaid
730c93e60f
Merge pull request #19087 from Homebrew/installed_on_request_true
Fix usage of `Tab#installed_(on_request|as_dependency)`
2025-01-13 09:36:05 +00:00
Mike McQuaid
0940fb78dc
Fix usage of Tab#installed_(on_request|as_dependency)
These can return `true`, `false` or `nil` so adjust the signature to
note this and fix the call sites to ensure we don't accidentally pass
through `nil` values when we shouldn't.

While we're here, make a `TODO` to fix this bad API up in future.

Fixes https://github.com/Homebrew/brew/issues/19076
2025-01-13 09:24:42 +00:00
Mike McQuaid
4b29d940ae
Merge pull request #19086 from Homebrew/fix-unbottled-linux-bug
dev-cmd/unbottled: fix module resolution error
2025-01-13 09:14:13 +00:00
Mike McQuaid
fa4541463d
Merge pull request #19075 from Homebrew/no-stdlib-rbi-generation
Exclude some stdlib gems from RBI generation
2025-01-13 09:07:30 +00:00