37999 Commits

Author SHA1 Message Date
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
BrewTestBot
fddcc0e370
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-01-22 00:27:45 +00:00
Issy Long
c5b35b87ab
Merge pull request #16508 from issyl0/handle-auth-errors
dev-cmd/bump: Don't fall over when retrieving PRs 404s
2024-01-21 19:54:43 +00:00
Issy Long
22203fb6d9
dev-cmd/bump: Be more explicit that we have no PRs
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-01-21 19:41:49 +00:00
Mike McQuaid
2ed2b337c2
Merge pull request #16507 from bevanjkay/cask-uninstall-upgrade-skip
cask/uninstall: skip quit/signal directives when upgrading or reinstalling
2024-01-21 19:16:36 +00:00
Mike McQuaid
25bef3dc10
Merge pull request #16509 from dduugg/canonical-segments
Remove canonical_segments check
2024-01-21 19:15:42 +00:00
Patrick Linnane
c8acc44232
Merge pull request #16516 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11213
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-20 22:27:54 -08:00
BrewTestBot
6b2ad35b6f
brew vendor-gems: commit updates. 2024-01-21 02:32:48 +00:00
dependabot[bot]
0759b90698
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.11212 to 0.5.11213
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11212 to 0.5.11213
- [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-21 02:29:53 +00:00
Issy Long
9b4427d9d8
Merge pull request #16512 from issyl0/another-cask-library-path
Add `~/Library/Containers` to the list of `Layout/LineLength` exclusions
2024-01-20 19:51:30 +00:00
Issy Long
a9d0d229f5
Add ~/Library/Containers to the list of Layout/LineLength exclusions
- This was found in https://github.com/Homebrew/homebrew-cask/pull/164915/files#r1460533604.
2024-01-20 19:36:07 +00:00
Issy Long
50bb7c1d87
Merge pull request #16513 from issyl0/fix-buildpulse-link
docs/Maintainer-Guide: Fix BuildPulse links
2024-01-20 19:32:55 +00:00
Issy Long
b3fad798be
docs/Maintainer-Guide: Fix BuildPulse links
https://github.com/Homebrew/brew/actions/runs/7596213836/job/20689665591?pr=16512
2024-01-20 19:18:46 +00:00
Issy Long
de6ec7c54e
dev-cmd/bump: Don't fall over when retrieving PRs errors
- Instead, let the `pull_requests&.any?` check do its job and not show
  PRs that we couldn't find or fetch.
- In the `--debug` output, show the error message that we got from GitHub.
2024-01-20 16:41:47 +00:00
Issy Long
13c4d0ac11
Merge pull request #16511 from issyl0/codeql-cleanup 2024-01-20 10:53:52 +00:00
Issy Long
ab7b3e2909
ci/codeql: Fix inconsistent indentation 2024-01-19 22:39:03 +00:00
Issy Long
906a3dcf74
ci/codeql: Put the ignored paths directly into the workflow
https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#specifying-configuration-details-using-the-config-input
2024-01-19 22:30:54 +00:00