27089 Commits

Author SHA1 Message Date
BrewTestBot
9aaac23506
brew vendor-gems: commit updates. 2022-12-26 18:05:45 +00:00
dependabot[bot]
9e73df4958
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.17.3 to 2.17.4.
- [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.17.3...v2.17.4)

---
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-12-26 18:02:41 +00:00
dependabot[bot]
fda7d9c8d1
build(deps): bump simplecov from 0.21.2 to 0.22.0 in /Library/Homebrew
Bumps [simplecov](https://github.com/simplecov-ruby/simplecov) from 0.21.2 to 0.22.0.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.21.2...v0.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 18:01:36 +00:00
Sean Molenaar
f30779c6bf
Update package/scripts/postinstall 2022-12-23 19:36:13 +01:00
BrewTestBot
72eb947b77
Update RBI files for racc.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-23 18:12:17 +00:00
BrewTestBot
21a4efdebe
brew vendor-gems: commit updates. 2022-12-23 18:06:47 +00:00
dependabot[bot]
e364135c4b
build(deps): bump racc from 1.6.1 to 1.6.2 in /Library/Homebrew
Bumps [racc](https://github.com/tenderlove/racc) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/tenderlove/racc/releases)
- [Changelog](https://github.com/ruby/racc/blob/master/ChangeLog)
- [Commits](https://github.com/tenderlove/racc/compare/v1.6.1...v1.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 18:03:08 +00:00
Nanda H Krishna
fe0eb9b5b0
Fix style issues 2022-12-22 23:52:26 -05:00
BrewTestBot
213679f19c
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-22 19:55:46 +00:00
BrewTestBot
3b8942a6d0
brew vendor-gems: commit updates. 2022-12-22 19:49:22 +00:00
dependabot[bot]
aae05bfcb1
build(deps): bump rubocop from 1.40.0 to 1.41.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.40.0 to 1.41.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.40.0...v1.41.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 19:45:42 +00:00
apainintheneck
c2e8bf3e83 Deprecate path args to audit cmd
`brew audit` doesn't work as expected when users
pass in formula/cask paths so we are deprecating it.
2022-12-22 10:00:42 -08:00
Mike McQuaid
760ab63978
Merge pull request #14266 from dtrodrigues/github-api-version
add explicit version for GitHub API
2022-12-22 10:46:46 +00:00
BrewTestBot
f70b0bf8f2
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-12-22 00:27:33 +00:00
Nanda H Krishna
768ebe5750
Fix access to livecheck constants in formulae 2022-12-21 05:27:23 -05:00
Kevin
740f9ddcc6
Merge pull request #14260 from apainintheneck/cleanup-search-module
Cleanup search module
2022-12-20 18:09:34 -08:00
Branch Vincent
db6d3156f2
python: reinstate pip's --no-binary 2022-12-19 23:25:53 -08:00
Nanda H Krishna
30c3fc546f
Merge pull request #14262 from nandahkrishna/resource-livecheck-formula-latest
Enable use of latest formula version in resource `livecheck` URLs
2022-12-20 01:02:37 -05:00
Carlo Cabrera
4bcd166956
Merge pull request #14239 from orf/enable-wheel-cache
Allow pip to use the local wheel cache while installing dependencies
2022-12-20 13:15:43 +08:00
Michael Cho
1209fc046f
formula: show stderr by default when generating completions 2022-12-19 20:09:23 -08:00
Michael Cho
a0e9352ad2
cmd/formulae.sh: read cached JSON when using API 2022-12-19 19:41:48 -08:00
apainintheneck
f41089fff4 Use module_function in search.rb 2022-12-19 19:27:48 -08:00
Sam Ford
f03a400e28
Extract latest_version string to a constant 2022-12-19 18:15:51 -05:00
BrewTestBot
6ce716e591
brew vendor-gems: commit updates. 2022-12-19 18:06:36 +00:00
dependabot[bot]
419ff5adca
build(deps): bump did_you_mean from 1.6.2 to 1.6.3 in /Library/Homebrew
Bumps [did_you_mean](https://github.com/ruby/did_you_mean) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/ruby/did_you_mean/releases)
- [Changelog](https://github.com/ruby/did_you_mean/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby/did_you_mean/compare/v1.6.2...v1.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 18:01:21 +00:00
Michael Cho
04a61fbca4
items.sh: return early when no Taps directory 2022-12-19 09:28:12 -08:00
Dustin Rodrigues
5e9223d059
add explicit version for GitHub API 2022-12-19 12:00:12 -05:00
Mike McQuaid
3a5e115977
Merge pull request #14258 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-expectations-3.12.1
build(deps): bump rspec-expectations from 3.12.0 to 3.12.1 in /Library/Homebrew
2022-12-19 13:31:23 +00:00
Adrian Ho
a76451602d root auto-taps should be done as Homebrew user
Closes https://github.com/Homebrew/brew/issues/14263.
2022-12-19 18:06:09 +08:00
Nanda H Krishna
f2fbbfe70c
Enable use of latest formula version in resource livecheck URLs 2022-12-19 00:12:16 -05:00
Bevan Kay
2614a29419
fix style 2022-12-19 14:43:16 +11:00
Bevan Kay
84f288be79
fix style 2022-12-19 14:39:48 +11:00
Bevan Kay
01f865f93a
update test 2022-12-19 14:35:31 +11:00
Bevan Kay
1ddd130ef9
add comment to .drop(), don't add blank lines to services array 2022-12-19 14:35:20 +11:00
apainintheneck
47b3f6fe6e Stop including/extending search.rb
- Instead use class methods.
- This is better than use it as a mixin
  when only a small number of methods are
  used in each class or module.
- It also allows us to conditionally
  require it in `brew install`.
- Removed unused search require in descriptions.rb.
2022-12-17 11:08:13 -08:00
apainintheneck
0ae416d0ee Refactor Search#search_descriptions
- Move cask logic back into method from extend/os and check
  whether to display it based on args since formula?
  is passed by default on Linux now
- Use #search_descriptions in `brew desc` instead of
  duplicating logic
- Remove need for extend/os/search
2022-12-17 10:03:41 -08:00
apainintheneck
ba664fa1b4 Move Search#search_casks out of extend/os
This doesn't need to be isolated anymore because
there is a check for the formula and cask args
and formula is passed by default on Linux now.
2022-12-17 09:27:33 -08:00
BrewTestBot
f8797e88b9
Update RBI files for rspec-expectations.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-16 18:12:50 +00:00
BrewTestBot
9609e46d50
brew vendor-gems: commit updates. 2022-12-16 18:05:04 +00:00
dependabot[bot]
840daaa2a3
build(deps): bump rspec-expectations in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.12.0...v3.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-16 18:01:19 +00:00
apainintheneck
3aac0fef7e Simplify cask search
The cask_tokens and cask_names arrays here
were almost identical so we'll just use
cask_tokens for both.
2022-12-14 19:27:59 -08:00
apainintheneck
0193caac2e Merge branch 'speed-up-cask-full-names' into add-casks-to-install-search 2022-12-14 00:01:57 -08:00
apainintheneck
363df2a648 Speed up cask search
Add new method to get all cask names
without using Cask.all which is slow
in this case.
2022-12-14 00:00:34 -08:00
apainintheneck
cb64bc4df3 Move pkg type logic into search_name
Now the search_name method takes the command line
args and only returns package types that line up
with those args.

That means it will only return casks if casks are valid
and same with formulae.
2022-12-13 22:50:00 -08:00
Kevin
0afc41ceef
Explain edge case in install/cmd
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-13 20:31:33 -08:00
Mike McQuaid
77c0d38c35
brew style --fix 2022-12-13 11:37:06 +00:00
Mike McQuaid
40f85af824
brew.sh: fix shellcheck. 2022-12-13 11:37:05 +00:00
Mike McQuaid
e71d1e2dd4
rubocop/lines: cleanup weird interpolation. 2022-12-13 11:37:05 +00:00
Mike McQuaid
4e03afeeb6
utils/github/api: curl format token, not a ruby one. 2022-12-13 11:37:05 +00:00
Bo Anderson
917a1e7bff
rubocops/shell_commands: fix missing require 2022-12-13 11:37:05 +00:00