38785 Commits

Author SHA1 Message Date
Patrick Linnane
58c58da3fe
docs: use --eval-all with brew info
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-01-25 09:30:06 -08:00
Joseph Sweeney
b261dc7798 Fix style 2024-01-25 11:50:19 -05:00
Joe Sweeney
a61cb1a4d0
Set GitHub workflow output correctly
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-01-25 11:45:20 -05:00
Joseph Sweeney
0b0d9a6066 Add option to retain tmpdir on pr-pull
This option will be used to generate build provenance in the
`publish-commit-bottles.yml` workflow in `Homebrew/homebrew-core`. It
adds a single flag that controls whether or not the temporary directory
where bottles are downloaded is retained.
2024-01-25 10:35:59 -05:00
Issy Long
a6b8a795b4
Merge pull request #16365 from issyl0/rubocop-cask-zap-arrays-alphabetical
Add a new RuboCop for alphabetizing `zap trash` array elements
2024-01-24 21:34:18 +00:00
Mike McQuaid
a42a7eafdd
Merge pull request #16528 from cho-m/brew-upgrade-faster-completion
cmd/upgrade: rename arg to installed_formulae/casks
2024-01-24 17:58:30 +00:00
Michael Cho
6bc6aae0ca
cmd/upgrade: rename arg to installed_formula/cask
This avoids running `brew outdated` in shell completions, which is
noticeably slow.
2024-01-24 12:45:49 -05:00
Patrick Linnane
4528f8b7d8
Merge pull request #16526 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11218
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-24 08:48:39 -08:00
Patrick Linnane
a4b6287292
Merge pull request #16527 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.60.2
build(deps-dev): bump rubocop from 1.60.1 to 1.60.2 in /Library/Homebrew
2024-01-24 08:47:46 -08:00
BrewTestBot
1274a9f0ae
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-01-24 16:34:00 +00:00
BrewTestBot
5dda400faf
brew vendor-gems: commit updates. 2024-01-24 16:27:23 +00:00
BrewTestBot
5549b91643
brew vendor-gems: commit updates. 2024-01-24 16:24:36 +00:00
dependabot[bot]
a0d4a94821
build(deps-dev): bump rubocop from 1.60.1 to 1.60.2 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.60.1 to 1.60.2.
- [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.60.1...v1.60.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 16:23:19 +00:00
dependabot[bot]
965bd19192
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.11216 to 0.5.11218
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11216 to 0.5.11218
- [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-01-24 16:20:21 +00:00
Issy Long
1b5fa172bb
Split audit_synced_versions_formulae checks into reusable methods
- This way we can use them in the audit and in `bump`.
2024-01-24 14:01:01 +00:00
Issy Long
00b47d1fec
Teach brew style about docs/.rubocop.yml
- Yes, we have yet another `.rubocop.yml` but in-line exclusions in
  `<span class="display:none;">` in the Markdown seemed more ugly.
- This needed tweaks to `brew style` to make it read the new config
  file when we're scanning docs.
2024-01-24 00:01:45 +00:00
Issy Long
e5ae67f906
Fix RuboCop FormulaAudit/ group offenses for docs code examples 2024-01-24 00:01:44 +00:00
Issy Long
9b6903f50b
Fix RuboCop Style/ group offenses in docs example code 2024-01-24 00:01:43 +00:00
Issy Long
af90f0858a
Fix RuboCop Layout/ group offenses in docs example code 2024-01-24 00:01:42 +00:00
Issy Long
6485324b18
Fix Sorbet/ group offenses in docs example code
- T::Sig hasn't been needed in every file for a long time.
2024-01-24 00:01:41 +00:00
Issy Long
1fe968e937
Run brew style for docs as part of the docs CI job
- Let's see how this goes.
2024-01-24 00:01:40 +00:00
Issy Long
28c513ac9d
Fix basic Ruby syntax errors in docs example code
- Blocks should open with `do` and close with `end`.
- `...` is not valid Ruby syntax, so comment it out so that the user
  knows that it's a placeholder for "other things here".
- Reword the "header line details" in `Cask-Cookbook` otherwise RuboCop
  crashes even with an `end` because of the empty block. There was
  already an example of a valid header line in the first code block on
  the page, so it's not a big loss.
2024-01-24 00:01:39 +00:00
Issy Long
e2251ad4be
brew vendor-gems for rubocop-md 2024-01-24 00:01:38 +00:00
Issy Long
7c25ea6e3a
Configure RuboCop to use rubocop-md 2024-01-24 00:01:37 +00:00
Issy Long
9786955abe
Add rubocop-md gem to the Gemfile in the style group
- This could be useful for linting code in our docs.
2024-01-24 00:01:36 +00:00
Patrick Linnane
044d06d105
Merge pull request #16524 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11216
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-23 09:16:21 -08:00
BrewTestBot
c8f328b36c
brew vendor-gems: commit updates. 2024-01-23 16:51:43 +00:00
dependabot[bot]
00ff71d00e
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.11214 to 0.5.11216
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11214 to 0.5.11216
- [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-01-23 16:47:49 +00:00
Mike McQuaid
0c738cacd0
Merge pull request #16522 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2024-01-23 08:45:07 +00:00
BrewTestBot
82e6a9226b
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-01-23 00:26:37 +00:00
Mike McQuaid
86e1c8aacf
Merge pull request #16463 from dduugg/no-active-support
Remove ActiveSupport from runtime
2024-01-22 19:22:12 +00:00
Douglas Eichelberger
e574904cb7 Use each_with_object 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
1a40468ce4 Fix compact_blank style 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
2f8ad2f5e6 Inline index_by 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
df140b329f brew style --fix 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
53bba9c00f cleanup 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
66aff2af7b concise 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
44e6b48fd7 revert bundler/setup changes 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
4c25250e72 Improve atomic_write sig 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
1790904152 Resolve 'Error: can't add a new key into hash during iteration' 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
fa7b8ff0df brew vendor-gems: commit updates. 2024-01-22 10:52:43 -08:00
Douglas Eichelberger
8efe73b32c Add Object#deep_dup to extend/ 2024-01-22 10:52:43 -08:00
Mike McQuaid
aa1f3de597
Merge pull request #16520 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.3.0.5
build(deps-dev): bump parser from 3.3.0.4 to 3.3.0.5 in /Library/Homebrew
2024-01-22 16:16:16 +00:00
Patrick Linnane
c1d8e07f59
Merge pull request #16521 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11214
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-22 08:09:04 -08:00
BrewTestBot
039d5f7676
Update RBI files for parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-01-22 16:02:41 +00:00
BrewTestBot
f837504e13
brew vendor-gems: commit updates. 2024-01-22 15:48:23 +00:00
BrewTestBot
6c7c38f8b3
brew vendor-gems: commit updates. 2024-01-22 15:46:46 +00:00
dependabot[bot]
150c9d6b94
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.11213 to 0.5.11214
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11213 to 0.5.11214
- [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-01-22 15:44:22 +00:00
dependabot[bot]
593e2a6cab
build(deps-dev): bump parser in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.3.0.4 to 3.3.0.5.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.3.0.4...v3.3.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 15:43:13 +00:00
Patrick Linnane
9c8374d3b7
Merge pull request #16519 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
4.2.5
2024-01-21 18:18:41 -08:00