31656 Commits

Author SHA1 Message Date
Bo Anderson
17c3f8bd4e
Merge pull request #13364 from Bo98/frozen-version
version: tokenize prior to freezing
2022-06-02 03:55:35 +01: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
Mike McQuaid
bdc32c24cc
Merge pull request #12241 from cho-m/bump-cask-arch-lang
bump-cask-pr: bump language checksums in non-running hardware
2022-06-01 16:59:56 +01:00
Bo Anderson
4054728030
Merge pull request #13355 from Bo98/fake-el-capitan
os/mac: allow fake El Capitan setup for Portable Ruby builds
2022-05-31 18:31:26 +01:00
Bo Anderson
d857c8416d
os/mac: allow fake El Capitan setup for Portable Ruby builds 2022-05-31 17:56:25 +01:00
Mike McQuaid
9a48d24545
Merge pull request #13347 from MikeMcQuaid/3.5.0-deprecation-disable-delete
Disable and delete code for 3.5.0
2022-05-31 13:03:03 +01:00
Mike McQuaid
e41dade42f
Merge pull request #13348 from MikeMcQuaid/keg_like_cask_handling
named_args: better handle keg-like casks.
2022-05-31 09:28:54 +01:00
Mike McQuaid
fdefffc0a5
named_args: better handle keg-like casks.
Need to ensure we're using the installed caskfile when it's requested
and readable.

Follow-up from https://github.com/Homebrew/brew/pull/13289 addressing
https://github.com/Homebrew/brew/pull/13289#discussion_r884853652
2022-05-31 09:06:52 +01:00
Mike McQuaid
2d80148683
Merge pull request #13353 from Bo98/quarantine-test-improvement
test/cask/quarantine: improve audit test output
2022-05-31 09:06:02 +01:00
Bo Anderson
b63595a627
test/cask/quarantine: improve audit test output 2022-05-31 03:29:42 +01:00
Mike McQuaid
5585ec927b
Merge pull request #13352 from Homebrew/dependabot/bundler/Library/Homebrew/regexp_parser-2.5.0
build(deps): bump regexp_parser from 2.4.0 to 2.5.0 in /Library/Homebrew
2022-05-30 19:41:10 +01:00
Mike McQuaid
2270733293
Merge pull request #13351 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10037
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10032 to 0.5.10037 in /Library/Homebrew
2022-05-30 19:39:47 +01:00
Mike McQuaid
4442994e14
Merge pull request #13350 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.12.0
build(deps): bump bootsnap from 1.11.1 to 1.12.0 in /Library/Homebrew
2022-05-30 19:37:52 +01:00
BrewTestBot
62eecace39
Update RBI files for regexp_parser. 2022-05-30 18:14:17 +00:00
BrewTestBot
47d9310f25
brew vendor-gems: commit updates. 2022-05-30 18:10:14 +00:00
BrewTestBot
a37eb91f69
Update RBI files for bootsnap. 2022-05-30 18:09:26 +00:00
BrewTestBot
1225924e65
brew vendor-gems: commit updates. 2022-05-30 18:06:20 +00:00
BrewTestBot
9e716fa933
brew vendor-gems: commit updates. 2022-05-30 18:05:42 +00:00
dependabot[bot]
7b01c33d01
build(deps): bump regexp_parser from 2.4.0 to 2.5.0 in /Library/Homebrew
Bumps [regexp_parser](https://github.com/ammar/regexp_parser) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/ammar/regexp_parser/releases)
- [Changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ammar/regexp_parser/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: regexp_parser
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 18:04:07 +00:00
dependabot[bot]
d9fce0aeef
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10032 to 0.5.10037.
- [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-05-30 18:03:56 +00:00
dependabot[bot]
d09c8fb1f6
build(deps): bump bootsnap from 1.11.1 to 1.12.0 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.11.1 to 1.12.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.11.1...v1.12.0)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 18:03:30 +00:00
Mike McQuaid
1bb44979ee
Disable and delete code for 3.5.0
The next planned release will be 3.5.0 so let's fix things up for there.
2022-05-30 14:59:14 +01:00
Bevan Kay
e64ab4c0f7
Fix test 2022-05-30 18:30:18 +10:00
Bo Anderson
a3fab022ec
Merge pull request #13338 from Homebrew/dependabot/bundler/Library/Homebrew/msgpack-1.5.2
build(deps): bump msgpack from 1.4.5 to 1.5.2 in /Library/Homebrew
2022-05-30 03:20:02 +01:00
BrewTestBot
fa29537ca2
Update RBI files for msgpack. 2022-05-30 01:45:38 +00:00
Bo Anderson
cbba6af505
dev-cmd/typecheck: relax typing for msgpack 2022-05-30 02:39:13 +01:00
BrewTestBot
c051cec1ed
brew vendor-gems: commit updates. 2022-05-30 02:23:49 +01:00
dependabot[bot]
68a81bf099
build(deps): bump msgpack from 1.4.5 to 1.5.2 in /Library/Homebrew
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby) from 1.4.5 to 1.5.2.
- [Release notes](https://github.com/msgpack/msgpack-ruby/releases)
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog)
- [Commits](https://github.com/msgpack/msgpack-ruby/compare/v1.4.5...v1.5.2)

---
updated-dependencies:
- dependency-name: msgpack
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 02:23:48 +01:00
Bo Anderson
6188f15bbd
Merge pull request #13336 from Homebrew/dependabot/bundler/Library/Homebrew/rack-2.2.3.1
build(deps): bump rack from 2.2.3 to 2.2.3.1 in /Library/Homebrew
2022-05-28 05:47:04 +01:00
BrewTestBot
addb485c74
Update RBI files for rack. 2022-05-28 04:22:03 +00:00
BrewTestBot
e342d536fd
brew vendor-gems: commit updates. 2022-05-28 04:18:04 +00:00
dependabot[bot]
f30ec7cf24
build(deps): bump rack from 2.2.3 to 2.2.3.1 in /Library/Homebrew
Bumps [rack](https://github.com/rack/rack) from 2.2.3 to 2.2.3.1.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.3...2.2.3.1)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-28 04:15:44 +00:00
Bo Anderson
9c4039c4c6
Merge pull request #13340 from Bo98/tc-update-fix
Fix `brew typecheck --update`
2022-05-28 05:14:59 +01:00
Bo Anderson
318506460f
dev-cmd/typecheck: don't generate RBI for sorbet-static-and-runtime 2022-05-28 04:10:42 +01:00
Bo Anderson
fe0903b39a
Update RBI files 2022-05-28 04:10:15 +01:00
Bo Anderson
fd1ea6d5c9
sorbet/tapioca/require: don't start SimpleCov 2022-05-28 04:07:23 +01:00
Bo Anderson
42212b3ce8
sorbet/tapioca/require: ignore sorbet-static-and-runtime 2022-05-28 04:07:02 +01:00
Bo Anderson
85e75a1e27
dev-cmd/typecheck: don't ignore subprocess exit codes on --update 2022-05-28 04:06:34 +01:00
Bevan Kay
6b155d9328
Update Library/Homebrew/cask/cask.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-05-28 10:14:51 +10:00
Mike McQuaid
17e9adef2f
Merge pull request #13337 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.11.0
build(deps): bump parallel_tests from 3.10.1 to 3.11.0 in /Library/Homebrew
2022-05-27 19:40:56 +01:00
Mike McQuaid
dde94d4220
Merge pull request #13339 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10032
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10030 to 0.5.10032 in /Library/Homebrew
2022-05-27 19:38:51 +01:00
BrewTestBot
b960eed24f
brew vendor-gems: commit updates. 2022-05-27 18:10:21 +00:00
BrewTestBot
3b0b0839d7
brew vendor-gems: commit updates. 2022-05-27 18:07:45 +00:00
dependabot[bot]
f2345b5f2a
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10030 to 0.5.10032.
- [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-05-27 18:05:23 +00:00