26835 Commits

Author SHA1 Message Date
Rylan Polster
74e933caa3
Merge pull request #13451 from Rylan12/cask-on-condition
Add `on_{system}` blocks to formula and cask DSL
2022-06-29 12:35:50 -04:00
Rylan Polster
b271ae151b
Cleanup 2022-06-29 11:47:57 -04:00
Rylan Polster
1294de9e48
Fix Formula::on_macos type annotation 2022-06-29 11:45:02 -04:00
Rylan Polster
a9e62b9e38
include OnSystem to define DSL methods 2022-06-29 11:38:55 -04:00
Rylan Polster
ac067eedb2
Create MacOSVersions module 2022-06-29 11:34:49 -04:00
Rylan Polster
5ec19adf58
Rename Override module to SimulateSystem 2022-06-28 15:35:20 -04:00
BrewTestBot
c49e09427b
Update RBI files for sorbet-static-and-runtime. 2022-06-28 18:13:33 +00:00
BrewTestBot
5cfaaf3c25
brew vendor-gems: commit updates. 2022-06-28 18:08:55 +00:00
dependabot[bot]
753a2e1ef9
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10125 to 0.5.10127.
- [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-28 18:03:44 +00:00
Rylan Polster
4310674776
Require an argument to --bottle-tag in fetch and --cache 2022-06-28 11:20:22 -04:00
Mike McQuaid
2b01354f2f
Merge pull request #13443 from Rylan12/caskroom-speed-improvement
Cleanup `Cask::Caskroom::casks`
2022-06-28 10:09:16 +01:00
Mike McQuaid
17d07e611d
Merge pull request #13480 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10125
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10109 to 0.5.10125 in /Library/Homebrew
2022-06-28 10:08:26 +01:00
Mike McQuaid
199aaaa879
Merge pull request #13483 from MikeMcQuaid/revert-brew-ssh
Remove HOMEBREW_FORCE_BREWED_SSH
2022-06-28 10:07:20 +01:00
Mike McQuaid
9cdba1353a
Merge pull request #13479 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.15.1
build(deps): bump rubocop-rails from 2.15.0 to 2.15.1 in /Library/Homebrew
2022-06-28 10:06:32 +01:00
Mike McQuaid
cba9b42fed
Merge pull request #13478 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.11.1
build(deps): bump parallel_tests from 3.11.0 to 3.11.1 in /Library/Homebrew
2022-06-28 10:05:49 +01:00
Mike McQuaid
36d14ae49c
Merge pull request #13366 from hyuraku/repair-check_cpuid_instruction
move check ENV.runtime_cpu_detection to `utils/ast`
2022-06-28 09:59:41 +01:00
Mike McQuaid
d14c09e782
Merge pull request #13470 from MikeMcQuaid/update_report_latest_tag
update-report: always write non-blank lattesttag.
2022-06-28 09:58:26 +01:00
Mike McQuaid
8cb5350d65
Revert "Merge pull request #13447 from notfromstatefarm/feature/support-custom-ssh"
This reverts commit ef00b40a5172d5628a0c861f655a2277fd16a1e0, reversing
changes made to e1fca95836fcb1ad989cd995228192846fc99612.
2022-06-28 09:42:50 +01:00
BrewTestBot
e132caabb8
Update RBI files for parallel_tests. 2022-06-27 18:16:55 +00:00
BrewTestBot
2ba53c4496
Update RBI files for rubocop-rails. 2022-06-27 18:15:27 +00:00
BrewTestBot
1de7dcd8fc
brew vendor-gems: commit updates. 2022-06-27 18:12:39 +00:00
BrewTestBot
05de86261a
brew vendor-gems: commit updates. 2022-06-27 18:11:06 +00:00
BrewTestBot
0332beaa31
brew vendor-gems: commit updates. 2022-06-27 18:10:36 +00:00
dependabot[bot]
c1cf8644a7
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10109 to 0.5.10125.
- [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-27 18:08:39 +00:00
dependabot[bot]
81ed808d00
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.15.0...v2.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 18:08:15 +00:00
dependabot[bot]
48ab68420f
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.11.0...v3.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 18:07:21 +00:00
Rylan Polster
55da9f293d
Cleanup Cask::Caskroom::casks 2022-06-26 14:24:05 -04:00
Sean Molenaar
93ed7646b0
utils: allow developers to differ in ruby minor versions 2022-06-26 16:27:16 +02:00
Sam Ford
283ff9e3ad
bump-formula-pr: handle url with specs hash
The existing `bump-formula-pr` regexes expect a `url` string to only
be followed by a newline. However, `url` also accepts a `specs` hash,
which can appear after the `url` string. For example:

```
url "https://www.example.com/1.2.3.tar.gz", using: :homebrew_curl
```

This commit modifies the regexes to capture anything after the `url`
string and before the newline. This works for the aforementioned
example, where the trailing hash is on the same line, but it won't
work if the hash appears on a subsequent line. For example:

```
url "https://www.example.com/1.2.3.tar.gz",
  using: :homebrew_curl
```
2022-06-24 19:26:16 -04:00
Rylan Polster
d96a8fd35e
Fix tests 2022-06-24 17:20:03 -04:00
Rylan Polster
f38db6e100
Define MacOS::Version::SYMBOLS on macOS and linux 2022-06-24 14:39:17 -04:00
Rylan Polster
6ebd5174d6
Update tests for on_* methods in formulae and casks 2022-06-24 14:39:17 -04:00
Rylan Polster
d3c3f7be9e
Add variations to Cask#to_h 2022-06-24 14:39:17 -04:00
Rylan Polster
b538ce7361
Add OnSystem module to generate on_* methods for formulae and casks 2022-06-24 14:37:50 -04:00
BrewTestBot
d131dcbe4c
Update RBI files for unicode-display_width. 2022-06-24 18:10:44 +00:00
BrewTestBot
29af3f785c
brew vendor-gems: commit updates. 2022-06-24 18:06:28 +00:00
dependabot[bot]
13a0e53303
build(deps): bump unicode-display_width in /Library/Homebrew
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/janlelis/unicode-display_width/releases)
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v2.1.0...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 18:04:01 +00:00
Rylan Polster
ac454d6563
Merge pull request #13468 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-06-24 11:35:46 -04:00
Mike McQuaid
3ef6db617a
update-report: always write non-blank lattesttag.
This handles this being unset when using `brew update --quiet`.

Fixes #13467
2022-06-24 13:37:32 +02:00
Sam Ford
2194f6e12b
Only require livecheck block URL when appropriate
`ExtractPlist` doesn't require a URL like other strategies (it takes
a `Cask` instead) but we've had to provide one in existing
`livecheck` blocks to get past this requirement in livecheck. This
commit makes it so this requirement is only enforced when a
strategy's `#find_versions` method has a required `url` parameter
(not an optional one, as in `ExtractPlist`).
2022-06-24 00:08:54 -04:00
Sam Ford
d7a26cd6d3
ExtractPlist: Modify #find_versions url usage 2022-06-24 00:08:53 -04:00
Sam Ford
077fb350a5
ExtractPlist: Add url to #find_versions object 2022-06-24 00:08:53 -04:00
Bevan Kay
916c980676
livecheck: allow custom url in extract_plist strategy 2022-06-24 00:08:53 -04:00
BrewTestBot
bc064ccd35
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-06-24 00:24:18 +00:00
Sam Ford
04203953de
Cask: Ensure #discontinued? returns a boolean
The `Cask::DSL#discontinued?` method is expected to return a boolean
value (`true`/`false`) but it will return `nil` for any casks without
a `caveats` block. `nil` is still falsy but this commit ensures that
the method will properly return a boolean value in this scenario.
2022-06-23 14:03:15 -04:00
Mike McQuaid
ef00b40a51
Merge pull request #13447 from notfromstatefarm/feature/support-custom-ssh
support forcing brew-installed SSH for git operations
2022-06-23 10:14:55 +02:00
notfromstatefarm
8d76522be2
remove HOMEBREW_SSH_PATH 2022-06-22 19:22:48 -04:00
notfromstatefarm
bcce038d33
update env_config.rb 2022-06-22 19:22:44 -04:00
notfromstatefarm
540313f18b
support custom git SSH binaries 2022-06-22 19:22:41 -04:00
BrewTestBot
793b8f471f
brew vendor-gems: commit updates. 2022-06-22 22:33:50 +00:00