26835 Commits

Author SHA1 Message Date
BrewTestBot
9ae051529b
Update RBI files for rubocop-performance. 2022-06-07 08:22:36 +00:00
BrewTestBot
85a155ce8b
brew vendor-gems: commit updates. 2022-06-07 08:18:08 +00:00
dependabot[bot]
e00f74fbb9
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.14.0...v1.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 08:15:31 +00:00
Bo Anderson
a60ca3ba4f
Merge pull request #13388 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10073
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10063 to 0.5.10073 in /Library/Homebrew
2022-06-07 04:21:17 +01:00
Bo Anderson
8ef55b63ae
Merge pull request #13391 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-06-07 04:20:21 +01:00
Bo Anderson
75e76361ac
Preliminary macOS 13 support 2022-06-07 02:39:36 +01:00
BrewTestBot
a4ed8f0e2d
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-06-07 00:20:55 +00:00
BrewTestBot
1263ad99a4
Update RBI files for sorbet-static-and-runtime. 2022-06-06 18:13:10 +00:00
BrewTestBot
c9f6b275f0
brew vendor-gems: commit updates. 2022-06-06 18:08:47 +00:00
dependabot[bot]
aa1f519b60
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10063 to 0.5.10073.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 18:03:47 +00:00
Sam Ford
bdd35efed8
Git: Use system_command instead of Open3.capture3
In a past discussion, it was preferred that we use `system_command`
in livecheck's `Git` strategy instead of `Open3.capture3` but it
wasn't feasible at the time because we couldn't prevent
`#system_command` from printing certain output. I resolved the
`SystemCommand` shortcoming long ago in Homebrew/brew#10066, so this
finally migrates the `Git` strategy to `system_command`.
2022-06-06 12:14:40 -04:00
Mike McQuaid
845925bf56
Merge pull request #13311 from bevanjkay/fix-outdated-greedy
cask: fix greedy outdated command
2022-06-06 10:05:24 +01:00
Mike McQuaid
6dc923dca3
Merge pull request #13378 from MikeMcQuaid/remove_yosemite
os/mac/version: remove Yosemite.
2022-06-06 08:26:53 +01:00
Mike McQuaid
ddaf011b4f
Merge pull request #13385 from kidonng/HOMEBREW_BAT_THEME
dev-cmd/cat: support setting bat theme via environment variable
2022-06-06 08:25:49 +01:00
Mike McQuaid
f43e9b6c04
os/mac/version: remove Yosemite.
It's no longer possible to run Homebrew there.

Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-06-06 05:18:53 +01:00
Kid
721a27d68d dev-cmd/cat: support setting bat theme via environment variable 2022-06-06 08:44:47 +08:00
apainintheneck
4dce389aa7 Remove download sha file from .metadata dir when uninstalling casks 2022-06-05 13:00:20 -07:00
BrewTestBot
608757bc90
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-06-04 00:24:40 +00:00
Sam Ford
ca9932fdd9
Merge pull request #13368 from samford/livecheck/sparkle-provide-channel-info-in-item
Sparkle: Provide channel information in Item
2022-06-03 16:16:20 -04:00
Mike McQuaid
05e8ed916a
Merge pull request #13375 from MikeMcQuaid/modified_formulae
cmd/update-report: use better wording when appropriate.
2022-06-03 19:52:24 +01:00
Mike McQuaid
8288897a8e
Merge pull request #13377 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10063
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10051 to 0.5.10063 in /Library/Homebrew
2022-06-03 19:39:33 +01:00
Mike McQuaid
04c8e02418
cmd/update-report: use better wording where appropriate.
From reading https://github.com/orgs/Homebrew/discussions/3328: I
initially thought we should just change "Updated" to "Modified" when
appropriate. After conversation with Bo98, though, I thought more and
saw that we're already checking for outdated formulae here so, rather
than ever traverse through the formula history, look at the outdated
formula and list them unless we've set
`HOMEBREW_UPDATE_REPORT_ALL_FORMULAE` in which case we show the
modifications.

While we're here, also do a bit of reformatting and renaming to better
clarify intent.
2022-06-03 19:23:38 +01:00
BrewTestBot
4cd1efea65
brew vendor-gems: commit updates. 2022-06-03 18:07:27 +00:00
dependabot[bot]
eccc8ce810
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10051 to 0.5.10063.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 18:04:44 +00:00
Bo Anderson
01a93edac3
Portable Ruby 2.6.8_1 2022-06-03 18:00:16 +01:00
Mike McQuaid
195e4d0f89
software_spec: handle nil manifests_annotations.
Fixes #13372
2022-06-03 14:50:01 +01:00
Mike McQuaid
e8fcb6af09
Merge pull request #13369 from Bo98/quarantine-fix
cask/quarantine: fix quarantine not working under some setups
2022-06-03 14:44:16 +01:00
Mike McQuaid
b6a37253d6
Merge pull request #13370 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10051
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10042 to 0.5.10051 in /Library/Homebrew
2022-06-03 14:44:06 +01:00
BrewTestBot
24def160b6
Update RBI files for yard. 2022-06-02 18:14:27 +00:00
BrewTestBot
369fa8d838
Update RBI files for sorbet-static-and-runtime. 2022-06-02 18:10:38 +00:00
BrewTestBot
d7f30e5336
brew vendor-gems: commit updates. 2022-06-02 18:10:00 +00:00
BrewTestBot
8272308f93
brew vendor-gems: commit updates. 2022-06-02 18:05:49 +00:00
dependabot[bot]
45698a2dc7
build(deps): bump yard from 0.9.27 to 0.9.28 in /Library/Homebrew
Bumps [yard](https://github.com/lsegal/yard) from 0.9.27 to 0.9.28.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.27...v0.9.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 18:04:05 +00:00
dependabot[bot]
1e9e51b6d4
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10042 to 0.5.10051.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 18:03:25 +00:00
Bo Anderson
9c3359afa1
cask/quarantine: fix quarantine not working under some setups 2022-06-02 18:53:46 +01:00
Sam Ford
71906c7f89
Tidy up Sparkle tests a bit 2022-06-02 10:36:33 -04:00
Sam Ford
c6907f911f
Sparkle: Provide channel information in Item
Making `channel` information available in the `Item` is necessary
to be able to filter out unstable items using a `strategy` block. If
an item doesn't specify a channel, then it uses the default channel
(this is what Sparkle itself uses for updates). Channels like `beta`
are something we want to avoid for stable casks and this allows for
that type of [cask-specific] filtering.

It's technically possible to automatically filter out items that
aren't using the default channel (i.e., `channel != nil`) in
`#items_from_content` but some casks use an unstable version, so we
can't do this internally. That is to say, we wouldn't be able to
override internal filtering in a `strategy` block, as any omitted
items wouldn't be provided to the block. Conversely, if we pass all
items to a `strategy` block, we can easily filter by channel there.
We haven't been filtering by channel internally and we've only found
one cask where this has been a problem, so it seems fine for now.
2022-06-02 10:35:00 -04:00
Sam Ford
68043d4e72
Merge pull request #13357 from samford/livecheck/sparkle-pass-all-items-into-strategy-block
Sparkle: Pass all items into strategy block
2022-06-02 08:10:40 -04:00
Mike McQuaid
e983c82573
Merge pull request #13363 from bevanjkay/rescue-cask-invalid
named_args: handle additional cask exception
2022-06-02 08:25:27 +01:00
Mike McQuaid
f00123ae84
Merge pull request #13365 from Bo98/exceptions-did_you_mean-fix
exceptions: fix did_you_mean error in some scenarios
2022-06-02 08:23:35 +01:00
Bo Anderson
4cb0b1978c
exceptions: fix did_you_mean error in some scenarios 2022-06-02 05:54:42 +01:00
BrewTestBot
f268ec60fb
brew vendor-gems: commit updates. 2022-06-02 04:51:48 +00:00
dependabot[bot]
866c1ab111
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10037 to 0.5.10042.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 04:21:50 +00:00
Bo Anderson
24717a8ac3
version: tokenize prior to freezing 2022-06-02 03:25:55 +01:00
Bevan Kay
183cbe0001
named_args: handle additional cask exception 2022-06-02 12:21:44 +10:00
Sam Ford
b4cb47815f
Sparkle: Pass all items into strategy block
It's sometimes necessary to work with all the items in a Sparkle feed
to be able to correctly identify the newest version but livecheck's
`Sparkle` strategy only passes the `item` it views as newest into a
`strategy` block.

This updates the `Sparkle` strategy to optionally pass all items into
a `strategy` block, so we can manipulate them (e.g., filtering,
sorting). This is enabled by naming the first argument of the
strategy block `items` instead of `item`. `Sparkle` `strategy` blocks
where the first argument is `item` will continue to work as expected.

This necessarily updates `#item_from_content` (now
`items_from_content`) to return all items. I've decided to move the
sorting out of `#items_from_content`, so it simply returns the items
in the order they appear. If there is ever an exceptional situation
where we need the original order, this will technically allow for it.

The sorting has instead been moved into the `#versions_from_content`
method, to maintain the existing behavior. I thought about passing
the items into the `strategy` block in their original order but it
feels like sorting by default is the better approach for now (partly
from the perspective of maintaining existing behavior) and we can
always revisit this in the future if a cask ever requires the
original order.

Lastly, this expands the `Sparkle` tests to increase coverage. The
only untested parts are `#find_versions` (which currently
requires a network request) and a couple safeguard `raise` calls
when there's a `REXML::UndefinedNamespaceException` (which shouldn't
be encountered unless something is broken).
2022-06-01 18:29:37 -04:00
Mike McQuaid
20c845d470
Merge pull request #13361 from EricFromCanada/superenv-blank-isysroot
superenv: avoid adding blank `--isysroot` flag
2022-06-01 19:35:50 +01:00
Mike McQuaid
9b2f2e41e8
Merge pull request #13358 from apainintheneck/fix-latest-svn
Fix :svn download errors with :latest casks
2022-06-01 19:13:53 +01:00
EricFromCanada
7c7d7a54c6
superenv: avoid adding blank --isysroot flag 2022-06-01 13:58:14 -04:00
apainintheneck
6f06236bca Fix :svn download errors with :latest casks 2022-06-01 09:04:54 -07:00