30574 Commits

Author SHA1 Message Date
dependabot[bot]
8a2960ee76
build(deps-dev): bump rdiscount in /Library/Homebrew
Bumps [rdiscount](https://github.com/davidfstr/rdiscount) from 2.2.7.2 to 2.2.7.3.
- [Changelog](https://github.com/davidfstr/rdiscount/blob/master/CHANGELOG.md)
- [Commits](https://github.com/davidfstr/rdiscount/compare/2.2.7.2...2.2.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-31 23:45:08 +00:00
Douglas Eichelberger
db97ff2dce Use define_method instead 2023-12-31 11:29:57 -08:00
Mike McQuaid
bc566b5cd0
Merge pull request #16382 from cho-m/uses_from_macos-linux-required
rubocops/uses_from_macos: audit when `depends_on :linux`
2023-12-31 17:32:17 +00:00
Michael Cho
2f3f017a6e
rubocops/uses_from_macos: audit when depends_on :linux 2023-12-30 18:30:05 -05:00
Michael Cho
10659a1d61
update-python-resources: show pip install failure when --verbose
Also use `--disable-pip-version-check` to remove pip update notices
2023-12-30 12:16:09 -05:00
Michael Cho
04d8ae20f3
Merge pull request #16367 from cho-m/pypi-use-formula-py
utils/pypi: use python from formula
2023-12-30 10:57:49 -05:00
Michael Cho
b62c77e8da
formula_creator: keep std_configure_args
Match `homebrew-core` preferences where we usually keep
`std_configure_args` even if some args are unrecognized and
where we pass any additional args before `std_configure_args`.
2023-12-28 16:00:28 -05:00
Douglas Eichelberger
ffd761d2e9 Create dedicated Attrable mixin for attr_ methods 2023-12-28 11:46:27 -08:00
Patrick Linnane
c0e6892c63
os/mac/hardware/cpu: update M3 values 2023-12-28 09:39:21 -08:00
Bo Anderson
84c2360629
Merge pull request #16405 from dduugg/regexp-match
Some minor regexp matching perf improvements
2023-12-28 15:52:31 +00:00
Mike McQuaid
67217f6e97
Merge pull request #16402 from Homebrew/dependabot/bundler/Library/Homebrew/plist-3.7.1
build(deps): bump plist from 3.7.0 to 3.7.1 in /Library/Homebrew
2023-12-28 08:16:44 +00:00
apainintheneck
b61d74f176 api: require base64
This was required previously by the `plist` gem and we were requiring
it indirectly. It got removed in v1.7.1 of that gem because it will
no longer be included in the standard library as of Ruby 3.4.

Since we're not currently running on Ruby 3.3 and 3.4 is not out yet,
we can punt on this for now but we'll need to figure out a better
alternative before upgrading to Ruby 3.4.

Related:
- https://github.com/patsplat/plist/pull/63
2023-12-27 20:04:15 -08:00
Douglas Eichelberger
caf8259ae6 Code review changes 2023-12-27 15:29:33 -08:00
Douglas Eichelberger
3abbf4447e Some minor regexp match perf improvements 2023-12-27 13:16:36 -08:00
Mike McQuaid
dbb800b7d3
Merge pull request #16404 from dduugg/resolve-sorbet-violation 2023-12-27 08:01:41 +00:00
Mike McQuaid
500a6b1a08
Merge pull request #16403 from dduugg/trim-rubocop-rails 2023-12-27 07:59:29 +00:00
Douglas Eichelberger
a218ebb6ca Fix Sorbet/TrueSigil exclusion 2023-12-26 16:52:34 -08:00
Douglas Eichelberger
db869921e3 Remove irrelevant Rails cops 2023-12-26 13:10:18 -08:00
BrewTestBot
428450dd94
Update RBI files for plist.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-12-26 18:41:49 +00:00
BrewTestBot
2d2282196f
brew vendor-gems: commit updates. 2023-12-26 18:38:11 +00:00
dependabot[bot]
b46a48df72
build(deps): bump plist from 3.7.0 to 3.7.1 in /Library/Homebrew
Bumps [plist](https://github.com/patsplat/plist) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/patsplat/plist/releases)
- [Changelog](https://github.com/patsplat/plist/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/patsplat/plist/compare/v3.7.0...v3.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-26 18:35:22 +00:00
Mike McQuaid
719c892f64
Merge pull request #16395 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.20.1
build(deps-dev): bump rubocop-performance from 1.20.0 to 1.20.1 in /Library/Homebrew
2023-12-26 14:01:59 +00:00
BrewTestBot
7ad1bea27e
Update RBI files for rubocop-performance.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-12-26 13:51:21 +00:00
Mike McQuaid
e2e6f25740
Merge pull request #16399 from razvanazamfirei/audit-formula-fix
audit: fix formula path
2023-12-26 13:46:01 +00:00
BrewTestBot
35075cbfee
brew vendor-gems: commit updates. 2023-12-26 13:45:51 +00:00
dependabot[bot]
60520ebf66
build(deps-dev): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.20.0 to 1.20.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.20.0...v1.20.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-26 13:42:56 +00:00
Mike McQuaid
0c420df366
Merge pull request #16397 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-4.4.0
build(deps-dev): bump parallel_tests from 4.3.0 to 4.4.0 in /Library/Homebrew
2023-12-26 13:42:29 +00:00
Razvan Azamfirei
2dc3741f08
audit: fix formula path 2023-12-26 08:19:49 +02:00
BrewTestBot
1b1d5e806f
Update RBI files for parallel_tests.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-12-25 18:37:22 +00:00
BrewTestBot
ff9fb560a8
Update RBI files for rubocop-rails.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-12-25 18:35:21 +00:00
BrewTestBot
555ebab98c
brew vendor-gems: commit updates. 2023-12-25 18:32:11 +00:00
BrewTestBot
8959d4b0a8
brew vendor-gems: commit updates. 2023-12-25 18:31:42 +00:00
dependabot[bot]
2446f1ffa4
build(deps-dev): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 4.3.0 to 4.4.0.
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: parallel_tests
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 18:29:15 +00:00
dependabot[bot]
47259f0a18
build(deps-dev): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.23.0 to 2.23.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.23.0...v2.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 18:28:52 +00:00
Bo Anderson
afe453da28
Merge pull request #16389 from Bo98/xcode-15.1
os/mac/xcode: support Xcode 15.1
2023-12-23 16:46:18 +00:00
Bo Anderson
338d626ffb
Merge pull request #16392 from Bo98/westmere
os/mac/hardware: use Westmere on >= Ventura
2023-12-23 16:45:35 +00:00
Bo Anderson
fba5a874fc os/mac/hardware: use Westmere on >= Ventura 2023-12-23 04:58:53 +00:00
Bo Anderson
61a73014d3 os/mac/xcode: support Xcode 15.1 2023-12-23 00:55:50 +00:00
Bo Anderson
04ad24efe8 os/mac/xcode: add fast path for Xcode version detection 2023-12-23 00:49:36 +00:00
apainintheneck
857ab132a2 cmd/config: limit tap info output
We really only need to see info that is surprising or out of the norm.
For that reason, we can skip showing the tap remote and the tap branch
if they are what we expect them to be.
2023-12-22 10:39:29 -08:00
Mike McQuaid
0b804d4ab0
Merge pull request #16384 from apainintheneck/fix-cask-all
Fix Cask::Cask.all bug
2023-12-22 08:52:01 +00:00
apainintheneck
536b37c766 cmd/config: Add core cask tap to output
This information is occasionally useful when debugging so we should
include it by default to make our lives easier.
2023-12-21 22:54:38 -08:00
apainintheneck
b79778229c Resolve Cask::Cask.all todo
Now it takes the :eval_all parameter that means we can remove
ARGV handling inside Cask::Cask.all.
2023-12-21 21:55:16 -08:00
apainintheneck
5a674c232f Fix Cask::Cask.all bug
We were only loading casks from files with this command which,
of course, didn't work for casks that can only be loaded from
the API (when the core cask tap is not tapped). This changes
things to align more with what we do for formulae.
2023-12-21 21:39:58 -08:00
Issy Long
fb124f92ed
Ignore non-zap trash methods 2023-12-22 00:41:56 +00:00
Issy Long
b9f13fc35d
Better detection and replacement of non-alphabetized arrays
- Use `sort_by` to sort the array, rather than comparing each element
  to the next.
- This doesn't error with complaints about clobbering at all when run on
  `homebrew/cask`, hurray. And it also handles interpolations correctly,
  rather than ignoring them.

Co-authored-by: Bevan Kay <email@bevankay.me>
2023-12-22 00:26:38 +00:00
Issy Long
f34accfcde
Make the test expect_offense calls consistent with other tests 2023-12-22 00:20:02 +00:00
Issy Long
f4754baa00
Ignore zap trash stanzas with interpolation
- Interpolating the version into a path is a common pattern, but the interpolations
  trip up the alphabetization autocorrect quite spectacularly, so let's
  ignore them (for now?).
2023-12-22 00:19:03 +00:00
Michael Cho
53accccfb2
formula_cellar_checks: detect cpuid in static libs 2023-12-21 12:08:18 -05:00
Mike McQuaid
f093c27a17
Merge pull request #16376 from MikeMcQuaid/cask_on_system_conditionals_fix
rubocops/cask/on_system_conditionals: allow blocks.
2023-12-21 10:12:00 +00:00