33509 Commits

Author SHA1 Message Date
BrewTestBot
211139134c
brew vendor-gems: commit updates. 2025-01-31 19:51:08 +00:00
Kristján Oddsson
7b01442273 make sure disable comments have content 2025-01-31 20:38:21 +01:00
Kristján Oddsson
d7af1e3527 add missing } 2025-01-31 20:20:00 +01:00
dependabot[bot]
383e130cf3
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.7 to 0.23.8.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.7...v0.23.8)

---
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-31 19:08:53 +00:00
dependabot[bot]
fb9c0dc810
build(deps-dev): bump rubocop from 1.71.0 to 1.71.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.71.0 to 1.71.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.71.0...v1.71.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-31 19:08:41 +00:00
dependabot[bot]
05fae7c010
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.11789 to 0.5.11796
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11789 to 0.5.11796
- [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-31 19:07:33 +00:00
BrewTestBot
aea31ce445
brew vendor-gems: commit updates. 2025-01-31 18:42:06 +00:00
dependabot[bot]
d3056f7be7
build(deps-dev): bump spoom from 1.5.2 to 1.5.3 in /Library/Homebrew
Bumps [spoom](https://github.com/Shopify/spoom) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/Shopify/spoom/releases)
- [Commits](https://github.com/Shopify/spoom/compare/v1.5.2...v1.5.3)

---
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-31 18:39:44 +00:00
zyoshoka
8aa22ea939
utils/github: fix GraphQL error log
The key `type` is not included in the response, making the log look weird.
2025-02-01 00:39:58 +09:00
Mike McQuaid
f778d217f0
Merge pull request #19180 from Homebrew/gnu-tar-condition-fix
dev-cmd/bottle: don't install gnu-tar when not needed
2025-01-31 14:43:20 +00:00
Kristján Oddsson
4acdcfcb37
Add a DisableComment Cop
Co-authored-by: Issy Long <issyl0@github.com>
2025-01-31 15:39:17 +01:00
Mike McQuaid
134fc4457f
Merge pull request #19168 from koddsson/fixes-for-disable-comment-rubocop
implement fixes and comments for `DisableComment` rubocop
2025-01-31 14:38:14 +00:00
Bo Anderson
f727d07d43
dev-cmd/bottle: don't install gnu-tar when not needed 2025-01-31 10:57:47 +01:00
Patrick Linnane
479e9eaa56
Merge branch 'master' into dependabot/bundler/Library/Homebrew/sorbet-5bdf4c78fd 2025-01-30 12:38:01 -08:00
BrewTestBot
b73e3bc86b
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-30 19:53:24 +00:00
BrewTestBot
9d76083e84
brew vendor-gems: commit updates. 2025-01-30 19:53:13 +00:00
BrewTestBot
3eefbab7b2
brew vendor-gems: commit updates. 2025-01-30 19:52:41 +00:00
dependabot[bot]
531777c62b
build(deps-dev): bump spoom from 1.5.2 to 1.5.3 in /Library/Homebrew
Bumps [spoom](https://github.com/Shopify/spoom) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/Shopify/spoom/releases)
- [Commits](https://github.com/Shopify/spoom/compare/v1.5.2...v1.5.3)

---
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-30 18:35:49 +00:00
dependabot[bot]
c69dac6700
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.11787 to 0.5.11789
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11787 to 0.5.11789
- [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-30 18:35:37 +00:00
BingoKingo
cff9a565b6
formula_creator.rb: add bundle install and additional dependency comment 2025-01-30 18:22:22 +08:00
zyoshoka
9e93b52371
utils/curl: fix user_agent types
`user_agent` should also allow strings and nil.
2025-01-30 19:20:58 +09:00
BingoKingo
c49cdc260c
Update formula_creator.rb 2025-01-30 12:51:58 +08:00
BrewTestBot
43b62dd0d9
brew vendor-gems: commit updates. 2025-01-29 21:29:57 +00:00
dependabot[bot]
eff31d0ef8
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.11784 to 0.5.11787
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11784 to 0.5.11787
- [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-29 18:13:16 +00:00
Kristján Oddsson
3b0794a884 implement fixes and comments for DisableComment rubocop 2025-01-29 09:17:11 +00:00
Patrick Linnane
6b7e0ecd5d
Merge pull request #19166 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.23.7
build(deps-dev): bump ruby-lsp from 0.23.6 to 0.23.7 in /Library/Homebrew
2025-01-28 18:42:27 +00:00
BrewTestBot
079166bba7
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-28 18:29:22 +00:00
BrewTestBot
bc28d87ccd
brew vendor-gems: commit updates. 2025-01-28 18:29:13 +00:00
BrewTestBot
4e7ffad200
brew vendor-gems: commit updates. 2025-01-28 18:29:12 +00:00
dependabot[bot]
69f22f62d9
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.6 to 0.23.7.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.6...v0.23.7)

---
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-28 18:23:45 +00:00
dependabot[bot]
1492bf10c4
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.11781 to 0.5.11784
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11781 to 0.5.11784
- [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-28 18:23:28 +00:00
Patrick Linnane
f3957123b8
Merge pull request #19164 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.38.0
build(deps-dev): bump rubocop-ast from 1.37.0 to 1.38.0 in /Library/Homebrew
2025-01-27 19:06:29 +00:00
Patrick Linnane
a211db6526
Merge pull request #19163 from Homebrew/dependabot/bundler/Library/Homebrew/language_server-protocol-3.17.0.4
build(deps-dev): bump language_server-protocol from 3.17.0.3 to 3.17.0.4 in /Library/Homebrew
2025-01-27 19:05:17 +00:00
BrewTestBot
12a89df51c
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-01-27 18:50:25 +00:00
BrewTestBot
f86719a1d2
brew vendor-gems: commit updates. 2025-01-27 18:50:18 +00:00
BrewTestBot
9152826a84
brew vendor-gems: commit updates. 2025-01-27 18:50:17 +00:00
BrewTestBot
c1a4c0d493
brew vendor-gems: commit updates. 2025-01-27 18:50:03 +00:00
dependabot[bot]
1ab2efeb13
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.37.0...v1.38.0)

---
updated-dependencies:
- dependency-name: rubocop-ast
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 18:28:29 +00:00
dependabot[bot]
fd9060bcf0
build(deps-dev): bump language_server-protocol in /Library/Homebrew
Bumps [language_server-protocol](https://github.com/mtsmfm/language_server-protocol-ruby) from 3.17.0.3 to 3.17.0.4.
- [Changelog](https://github.com/mtsmfm/language_server-protocol-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mtsmfm/language_server-protocol-ruby/compare/v3.17.0.3...v3.17.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 18:28:21 +00:00
dependabot[bot]
8dae936b47
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.11780 to 0.5.11781
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11780 to 0.5.11781
- [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-27 18:27:58 +00:00
Mike McQuaid
7ff99e2353
Use ~ instead of ${HOME}
Partial revert of Homebrew/brew#19153
See https://github.com/Homebrew/brew/pull/19153#discussion_r1930678587
2025-01-27 15:19:59 +00:00
Mike McQuaid
bbf5a9f479
env_config: use environment variables consistently
- use e.g. `$HOMEBREW_*` for cases where only the environment variable
  is the entire backtick-quoted string
- use e.g. `${HOMEBREW_*}` for cases where the environment variable is
  part of a backtick-quoted string to make clear what parts are variable
  and what parts are not
- use `export HOMEBREW_*=...` for cases where we're talking about
  setting the environment variable (because it likely needs to be
  exported to work how they want)

Inspired by https://github.com/Homebrew/homebrew-bundle/pull/1579 making
similar changes for Homebrew/homebrew-bundle.
2025-01-27 14:21:27 +00:00
Mike McQuaid
9fd2b27a35
Merge pull request #19151 from Homebrew/fix_case_commands
Fix handling of case-mistyped commands
2025-01-27 09:13:53 +00:00
Mike McQuaid
7bf1b82112
Merge pull request #19148 from Homebrew/rubocops-more-typed-strict
Bump more Cask RuboCops to Sorbet `typed: strict`
2025-01-27 08:55:56 +00:00
Mike McQuaid
d555ec9218
Fix handling of case-mistyped commands
- hide warnings when requiring files repeatedly on a case-insensitive
  filesystem and add reference to Ruby bugs
- add another case to check for command require failures
- also handle commands with `-` in them

Fixes #19125
2025-01-27 08:42:49 +00:00
Michka Popoff
d436eb2e51
analytics: fix type error
Fixes:
Error: Parameter 'days': Expected type String, got type Integer with value 30
Caller: /opt/homebrew/Library/Homebrew/utils/analytics.rb:273
Definition: /opt/homebrew/Library/Homebrew/utils/analytics.rb:412 (Utils::Analytics.table_output)
2025-01-26 16:30:30 +01:00
Issy Long
867e982300
T.cast some Nodes to SendNodes
- In these cases we've already checked it's not a BlockNode,
  so we can safely cast to a SendNode and use `SendNode` methods.
2025-01-25 22:34:10 +00:00
Issy Long
06441f1337
Generic RuboCop::AST::Node for stanza method nodes
- These can be either BlockNode, SendNode or AsgnNode,
  which are all a type of Node.
- This causes errors in other places because we call
  BlockNode or SendNode methods on a Node now. Still TODO.
2025-01-25 22:20:08 +00:00
Issy Long
9a97456767
Bump more Cask RuboCops to Sorbet typed: strict
- This includes a new Tapioca compiler for
  `RuboCop::Cask::AST::Stanza` dynamic methods like
  `caveats?`.
2025-01-25 18:45:24 +00:00
BrewTestBot
16bee05891
brew vendor-gems: commit updates. 2025-01-24 19:36:52 +00:00