29627 Commits

Author SHA1 Message Date
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
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
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
693a27d48b
Treat zap and uninstall the same
- Since `zap` can have more than just `trash`.
2024-01-21 19:48:30 +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
Issy Long
d5f9eef1b5
Empty line after guard clause, gah 2024-01-21 12:47:33 +00:00
Issy Long
458844af44
Move multi-line comments with the code they're 'attached' to
Co-authored-by: Bevan J. Kay <email@bevankay.me>
2024-01-21 12:42:22 +00: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
8910d5a479
Remove the single-element array in everything.json used for Cask tests
```
  1) Cask::Cask#to_h when loaded from cask file returns expected hash
     Failure/Error: expect(JSON.pretty_generate(hash)).to eq(expected_json)

Diff:
       @@ -28,9 +28,7 @@
              "uninstall": [
                {
                  "launchctl": "com.every.thing.agent",
       -          "delete": [
       -            "/Library/EverythingHelperTools"
       -          ],
       +          "delete": "/Library/EverythingHelperTools",
                  "kext": "com.every.thing.driver",
                  "signal": [
                    [
       @@ -103,7 +101,7 @@
          ],
          "ruby_source_path": "Casks/everything.rb",
          "ruby_source_checksum": {
       -    "sha256": "b2707d1952f02c3fa566b7ad2a707a847a959d36f51d3dee642dbe5deec12f27"
       +    "sha256": "0c4af571cce1632fc6a3dcf3e75ba82a3283077ef12399428192c26f9d6f779b"
          }
        }
     # ./test/cask/cask_spec.rb:225:in `block (4 levels) in <top (required)>'
     # ./test/support/helper/spec/shared_context/homebrew_cask.rb:53:in `block (2 levels) in <top (required)>'
```
2024-01-21 01:32:15 +00:00
Issy Long
c7ed62a7d6
dev-cmd/bump: Point out if formulae should be kept in sync with others
- This will give some information to users of `brew bump` that they
  should keep the version of the formula in sync with other formulae.
- A future enhancement is actually making the bumping of the "related"
  formulae automatic with `--open-pr`. But for now, telling people so
  that they don't have to wait until `brew audit` fails either locally
  or in CI at a later stage is a good start.
2024-01-21 00:43:50 +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
eec7a96fbe
Use Ruby 3.1's intersect\? method 2024-01-20 00:38:34 +00:00
Issy Long
e9bcb64000
Double quotes not single 2024-01-20 00:35:40 +00:00
Bevan J. Kay
779f1bba7d
Move comments in tandem with the lines they belong to 2024-01-20 00:03:34 +00:00
Douglas Eichelberger
f6c7eb7124 Add hash/keys to extend/ 2024-01-19 13:36:17 -08:00
Douglas Eichelberger
14f8a086d8 brew vendor-gems: commit updates. 2024-01-19 13:36:17 -08:00
Douglas Eichelberger
a87cdf0d21 Add Hash#deep_transform_values to extend/ 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
0cdd4eee3b Add Hash#deep_merge to extend/ 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
8e9d294df2 Add File.atomic_write to extend/ 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
79e2379d98 Add Array#fourth to resolve cask errors 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
c02520f604 Fix style/type violations 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
7ae087b24c Update Library/Homebrew/utils/gems.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-01-19 13:36:16 -08:00
Douglas Eichelberger
2e21efff46 Add ActiveSupport String#exclude? to extend/ 2024-01-19 13:35:34 -08:00
Douglas Eichelberger
b60d951d48 Update from upstream, remove unused methods 2024-01-19 13:34:52 -08:00
Douglas Eichelberger
f8de5dfd60 Copy enumerable file 2024-01-19 13:34:52 -08:00
Douglas Eichelberger
5546f778e5 Extend Module when requiring sorbet 2024-01-19 13:34:52 -08:00
Douglas Eichelberger
08e12b2383 Remove ActiveSupport Array access core extensions 2024-01-19 13:34:52 -08:00
Douglas Eichelberger
64d6d6aded Remove canonical_segments check 2024-01-19 12:41:15 -08:00
Mike McQuaid
36024e2a4d
Merge pull request #16506 from MikeMcQuaid/adjust_installfromapimessage
cmd/update-report: adjust installfromapimessage.
2024-01-19 19:20:04 +00:00
Issy Long
c63723bd7d
Merge pull request #16501 from issyl0/rubocop-new-rules-style-redundant-freeze
Fix RuboCop `Style/RedundantFreeze` offenses
2024-01-19 15:05:08 +00:00
Issy Long
bc5e422815
Merge pull request #16497 from issyl0/rubocop-new-rules-style-array-intersect
Fix RuboCop `Style/ArrayIntersect` offenses
2024-01-19 13:00:30 +00:00
Bevan Kay
bd6ab1d2b8
cask/uninstall: skip quit and signal directives when upgrading or reinstalling 2024-01-19 23:30:25 +11:00
Mike McQuaid
6a8ac2bd0e
cmd/update-report: adjust installfromapimessage.
Only warn about `HOMEBREW_NO_INSTALL_FROM_API` and make this a one-time
message.

Fixes #16481
2024-01-19 08:55:03 +00:00
BrewTestBot
3d1a7197e2
Update RBI files for sorbet-static-and-runtime-and-sorbet-runtime.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-01-19 08:50:40 +00:00