BrewTestBot
0b17d7f31e
Update RBI files for sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-13 11:47:26 +11:00
BrewTestBot
b3a53bef7d
brew vendor-gems: commit updates.
2025-02-13 11:47:26 +11:00
dependabot[bot]
fc8e2c1f3b
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.11820 to 0.5.11823
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11820 to 0.5.11823
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11820 to 0.5.11823
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11820 to 0.5.11823
- [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-02-13 11:47:25 +11:00
dependabot[bot]
5b667cffe0
build(deps-dev): bump tapioca in /Library/Homebrew
...
Bumps [tapioca](https://github.com/Shopify/tapioca ) from 0.16.9 to 0.16.10.
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.16.9...v0.16.10 )
---
updated-dependencies:
- dependency-name: tapioca
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 18:26:13 +00:00
Patrick Linnane
c949f9f719
Merge pull request #19283 from gromgit/clear_cache_on_create
...
clear core tap cache on formula creation
2025-02-12 15:52:01 +00:00
Douglas Eichelberger
2e211a5332
Merge pull request #19288 from Homebrew/cask-delegation
...
Use delegation to create Cask DSL methods
2025-02-11 19:05:40 +00:00
Patrick Linnane
1ff098be88
Merge pull request #19290 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-a26877e0ab
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-11 18:50:31 +00:00
Patrick Linnane
27999f0706
Merge pull request #19291 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.10.1
...
build(deps-dev): bump json from 2.10.0 to 2.10.1 in /Library/Homebrew
2025-02-11 18:50:22 +00:00
BrewTestBot
ccd8ca87a4
brew vendor-gems: commit updates.
2025-02-11 18:29:34 +00:00
BrewTestBot
9e9ae00f92
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-02-11 18:29:28 +00:00
BrewTestBot
eb6bc4e954
brew vendor-gems: commit updates.
2025-02-11 18:29:25 +00:00
BrewTestBot
1bd75ffbe2
brew vendor-gems: commit updates.
2025-02-11 18:29:20 +00:00
dependabot[bot]
0a29cf8cd0
build(deps-dev): bump ruby-lsp in /Library/Homebrew
...
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp ) from 0.23.9 to 0.23.10.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases )
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.9...v0.23.10 )
---
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-02-11 18:18:14 +00:00
dependabot[bot]
140badb1b1
build(deps-dev): bump json from 2.10.0 to 2.10.1 in /Library/Homebrew
...
Bumps [json](https://github.com/ruby/json ) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/ruby/json/releases )
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md )
- [Commits](https://github.com/ruby/json/compare/v2.10.0...v2.10.1 )
---
updated-dependencies:
- dependency-name: json
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 18:17:47 +00:00
dependabot[bot]
a0817382e0
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.11813 to 0.5.11820
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11813 to 0.5.11820
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11813 to 0.5.11820
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11813 to 0.5.11820
- [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-02-11 18:17:39 +00:00
Douglas Eichelberger
d8c790dddc
Use delegation to create Cask DSL methods
2025-02-11 08:33:04 -08:00
Issy Long
bb56089fe7
Merge pull request #19277 from Homebrew/rm-old-todo
...
rubocops/lines: Clean up an old TODO
2025-02-11 11:00:03 +00:00
Issy Long
9359292db0
Retain the mis-ordered dependency case.
...
Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-02-11 10:28:52 +00:00
Adrian Ho
987363da15
clear core tap cache on formula creation
...
Addresses inability to find just-created formula, see https://github.com/Homebrew/brew/pull/19244#issuecomment-2646030394 for context.
2025-02-11 11:41:15 +08:00
Patrick Linnane
6bdf8f9ce6
Merge pull request #19285 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-794b173eb6
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-10 22:39:35 +00:00
Issy Long
87b61a2317
Merge pull request #19195 from Homebrew/sorbet-strict-more-rubocops
...
More Sorbet `typed: strict` RuboCops
2025-02-10 22:37:56 +00:00
BrewTestBot
80137329f0
brew vendor-gems: commit updates.
2025-02-10 22:27:36 +00:00
BrewTestBot
a45360460f
brew vendor-gems: commit updates.
2025-02-10 19:20:52 +00:00
dependabot[bot]
acb32820be
build(deps-dev): bump json from 2.9.1 to 2.10.0 in /Library/Homebrew
...
Bumps [json](https://github.com/ruby/json ) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/ruby/json/releases )
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md )
- [Commits](https://github.com/ruby/json/compare/v2.9.1...v2.10.0 )
---
updated-dependencies:
- dependency-name: json
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 19:15:59 +00:00
dependabot[bot]
20a251bc88
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.11812 to 0.5.11813
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11812 to 0.5.11813
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11812 to 0.5.11813
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11812 to 0.5.11813
- [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-02-10 19:15:39 +00:00
Douglas Eichelberger
49999e8727
Merge pull request #19278 from Homebrew/no-module-func
...
Refactor Livecheck::Strategy to remove module_function use
2025-02-09 19:38:31 +00:00
Issy Long
d9b376a9cd
rubocops/lines: Clean up an old TODO
...
- I considered writing a cop for this, but it's not worth it:
there are no `[:test, :build]` occurrences in Core and this
Rust rule only applies in Core formulae.
2025-02-09 18:33:27 +00:00
Roman Romanov
208acd8e43
Fix "can't modify frozen String" error
...
Fix "can't modify frozen String" error if bottle requires Command Line Tools when installing/updating several packages, which causes install/update process failure.
2025-02-09 20:16:16 +03:00
Douglas Eichelberger
fa28895300
Refactor Livecheck::Strategy to remove module_function use
2025-02-08 16:42:45 -08:00
BrewTestBot
863a12ac13
brew vendor-gems: commit updates.
2025-02-09 00:23:08 +00:00
dependabot[bot]
eaeef33321
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.11810 to 0.5.11812
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11810 to 0.5.11812
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11810 to 0.5.11812
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11810 to 0.5.11812
- [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-02-09 00:11:44 +00:00
Patrick Linnane
c76ccdbdce
Merge pull request #19259 from Homebrew/brew_formula_analytics_import
...
Import `brew formula-analytics` and `generate-analytics-api` commands
2025-02-08 23:59:48 +00:00
BrewTestBot
6fa8edd34a
Update RBI files for brew_formula_analytics_import.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-08 23:50:34 +00:00
BrewTestBot
449250b8ba
brew vendor-gems: commit updates.
2025-02-08 23:50:25 +00:00
Issy Long
0fc1eb534b
More Sorbet typed: strict
RuboCops
...
- Some of these I bumped to `typed: strict`, some of them I added
intermediary type signatures to some of the methods to make my life
easier in the (near, hopefully) future.
- Turns out that RuboCop node matchers that end in `?`
can return `nil` if they don't match anything, not `false`.
2025-02-08 23:38:12 +00:00
Branch Vincent
3d7c6fa10f
utils/pypi: remove extra newline when updating resources
2025-02-08 09:43:47 -08:00
BrewTestBot
9376efc318
Update RBI files for sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-07 23:40:00 +00:00
BrewTestBot
7bd466c1fc
brew vendor-gems: commit updates.
2025-02-07 23:39:51 +00:00
Mike McQuaid
6f99704a64
Import brew formula-analytics
and generate-analytics-api
commands
...
Import these from the homebrew/formula-analytics tap and deprecate
that tap.
This required a little messing around with filenames and paths to get
it finding Python and writing to the user's home directory.
2025-02-07 20:05:05 +00:00
dependabot[bot]
340d0b0c84
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.11805 to 0.5.11810
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11805 to 0.5.11810
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11805 to 0.5.11810
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11805 to 0.5.11810
- [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-02-07 19:43:16 +00:00
Mike McQuaid
5ae29d324d
Merge pull request #19258 from Homebrew/brew_alias_import
...
Import `brew alias` and `brew unalias` commands
2025-02-07 19:32:14 +00:00
Mike McQuaid
743971bcc4
Merge pull request #19233 from Homebrew/livecheck/add-post-support
...
livecheck: Add support for POST requests
2025-02-07 19:31:49 +00:00
dependabot[bot]
ec49a3e9f6
build(deps-dev): bump ruby-lsp in /Library/Homebrew
...
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp ) from 0.23.8 to 0.23.9.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases )
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.8...v0.23.9 )
---
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-02-07 18:31:02 +00:00
Mike McQuaid
8adc188992
Import brew alias
and brew unalias
commands
...
Import these from the homebrew/aliases tap and deprecate that tap.
This required a little messing around with class/module/constant names
to get `brew tests` and `brew typecheck` to play nicely.
I added also added Sorbet type signatures and integration tests.
2025-02-07 14:31:50 +00:00
Sam Ford
8997cccddf
Livecheck: Expand test coverage
...
This brings line coverage for the `Livecheck` DSL back to 100%, as we
had evidently overlooked part of the `#strategy` method.
2025-02-07 08:57:33 -05:00
Sam Ford
a16f5666a8
Sparkle: Add homebrew_curl support
...
`Sparkle` is the only strategy with a `find_versions` method that
calls `Strategy::page_content` (or `::page_headers`) and doesn't have
a `homebrew_curl` parameter. This adds the missing parameter and
passes the value to `page_content`, which brings it in line with the
other strategies.
2025-02-07 08:57:32 -05:00
Sam Ford
2187316262
Strategy: Expand test coverage
...
Between this commit and the previous one, this brings test coverage
for `Livecheck::Strategy` up to 98.18% line coverage and 97.22%
branch coverage. The only uncovered areas are some Sorbet `params`
calls (which I'm not sure how to cover) and a conditional `break` in
`page_headers` that will be refactored away in the future.
The increased coverage is primarily in areas that weren't covered
before because they call methods that make network requests. I worked
around this with stubs and doubles, so we can test this code to some
degree. I plan to expand this approach to other areas in livecheck
that aren't covered for the same reason and that should significantly
increase test coverage (along with some other test improvements that
I have lined up).
2025-02-07 08:57:32 -05:00
Sam Ford
b4757af656
livecheck: Add support for POST requests
...
livecheck currently doesn't support `POST` requests but it wasn't
entirely clear how best to handle that. I initially approached it as
a `Post` strategy but unfortunately that would have required us to
handle response body parsing (e.g., JSON, XML, etc.) in some fashion.
We could borrow some of the logic from related strategies but we would
still be stuck having to update `Post` whenever we add a strategy for
a new format.
Instead, this implements `POST` support by borrowing ideas from the
`using: :post` and `data` `url` options found in formulae. This uses
a `post_form` option to handle form data and `post_json` to handle
JSON data, encoding the hash argument for each into the appropriate
format. The presence of either option means that curl will use a
`POST` request.
With this approach, we can make a `POST` request using any strategy
that calls `Strategy::page_headers` or `::page_content` (directly or
indirectly) and everything else works the same as usual. The only
change needed in related strategies was to pass the options through
to the `Strategy` methods.
For example, if we need to parse a JSON response from a `POST`
request, we add a `post_data` or `post_json` hash to the `livecheck`
block `url` and use `strategy :json` with a `strategy` block. This
leans on existing patterns that we're already familiar with and
shouldn't require any notable maintenance burden when adding new
strategies, so it seems like a better approach than a `Post` strategy.
2025-02-07 08:53:47 -05:00
Mike McQuaid
94e2bdf668
Merge pull request #19257 from Homebrew/improve_brew_wrapper_error
...
brew.sh: improve HOMEBREW_FORCE_BREW_WRAPPER error message
2025-02-07 13:36:26 +00:00
Mike McQuaid
17bfef29f2
brew.sh: improve HOMEBREW_FORCE_BREW_WRAPPER error message
...
Rather than just explaining what is happening, let's explain a bit more
why this is happening and how to fix it.
2025-02-07 13:23:52 +00:00