dependabot[bot]
78c3a81476
build(deps): bump minitest from 5.17.0 to 5.18.0 in /Library/Homebrew
...
Bumps [minitest](https://github.com/seattlerb/minitest ) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/seattlerb/minitest/releases )
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc )
- [Commits](https://github.com/seattlerb/minitest/compare/v5.17.0...v5.18.0 )
---
updated-dependencies:
- dependency-name: minitest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 00:42:07 +00:00
Douglas Eichelberger
54fad14ff3
Fix module_function errors
2023-03-06 15:11:10 -08:00
Douglas Eichelberger
1c44a8861d
Fix type errors
2023-03-06 15:03:19 -08:00
Douglas Eichelberger
d56e2884aa
Enable typing in cmd/
2023-03-06 15:01:08 -08:00
Mike McQuaid
df1e1d6f07
Merge pull request #14903 from dduugg/fix-update-report
...
Fix "undefined local variable" error in update-report
2023-03-06 21:55:41 +00:00
BrewTestBot
367ed77046
Update RBI files for ruby-progressbar.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-03-06 21:53:58 +00:00
BrewTestBot
a120f4dd80
brew vendor-gems: commit updates.
2023-03-06 21:47:33 +00:00
Issy Long
48802daf01
sorbet: Regenerate homegrown RBI files with brew typecheck --update
...
- I needed to add some more `require`s to the `tty.rb` generator script
since it failed to recognise `env_config` and Sorbet's `T` setup if I
ran it not via `brew ruby`, and I couldn't get `brew ruby` to work
within `safe_system` in the `typecheck` dev-cmd.
2023-03-06 21:46:05 +00:00
Issy Long
1295904986
sorbet: Autogenerate the RBI file for utils/tty.rb
...
- Sort of. It's not via Parlour, because I read the docs and all it says
about dynamically generating things is "of course it's better to do
that", no examples. I tried my best, but Bo's work on `attr.rb` was
mind-boggling.
- Instead, let's add a simple but functional generator script that I
actually understand, as an alternative to maintaining these RBI files
for dynamic methods manually, so that we can get rid of some use of
`srb rbi hidden-definitions` since that's deprecated.
- TODO: Run this script as part of `brew typecheck --update` so it gets
updated with all the other RBI files periodically.
- Follow up to PR 14651.
2023-03-06 21:46:04 +00:00
dependabot[bot]
d475072d19
build(deps): bump ruby-progressbar from 1.12.0 to 1.13.0 in /Library/Homebrew
...
Dependabot couldn't find the original pull request head commit, 2e9d4139c55ae471c340cc329631cd9117c9d20a.
2023-03-06 21:41:31 +00:00
Douglas Eichelberger
396954c3a8
Initialize lvars as empty arrays
2023-03-06 13:40:04 -08:00
Douglas Eichelberger
e57e50f228
Fix undefined error in update-report
2023-03-06 13:40:04 -08:00
BrewTestBot
57f56fa086
Update manpage and completions.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-03-06 21:34:55 +00:00
BrewTestBot
77fdca2c67
Update maintainers.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-03-06 21:34:46 +00:00
BrewTestBot
d0a6786427
Update sponsors.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-03-06 21:34:33 +00:00
Sam Ford
19a696fc8f
Merge pull request #14904 from dduugg/fix-master
...
brew style --fix
2023-03-06 16:33:53 -05:00
Mike McQuaid
bb73c3d19e
Merge pull request #14864 from hyuraku/remove-cask/cmd/zap
...
Remove `cask/cmd/zap`
2023-03-06 21:33:42 +00:00
Wes Higbee
f9b73ca621
Fixes per
...
brew style Library/Homebrew/**/cat*
2023-03-06 14:17:11 -06:00
Wes Higbee
66c268b190
rearrange output to easily copy command suggestion
2023-03-06 13:43:28 -06:00
Wes Higbee
12d93c480f
include formula/cask args in brew info --github suggestion
2023-03-06 13:34:05 -06:00
Douglas Eichelberger
098076a16a
brew style --fix
2023-03-06 08:27:31 -08:00
Wes Higbee
1e95de4757
split up suggestions
2023-03-06 07:51:36 -06:00
Wes Higbee
ba7ffb2db8
mention alternative in brew cat failure message
2023-03-06 07:44:27 -06:00
hyuraku
4ab4dcdc82
repair spec style
2023-03-06 22:29:52 +09:00
hyuraku
122b24e9ff
repair zap spec
2023-03-06 22:27:54 +09:00
hyuraku
e0416e0f65
add zap option spec to cask_installer spec
2023-03-06 22:27:53 +09:00
hyuraku
ed2c1d3716
repair cmd/uninstall with zap option
2023-03-06 22:27:53 +09:00
hyuraku
7c1bd961c6
remove cask/cmd/zap and cask/cmd/zap_spec
2023-03-06 22:27:53 +09:00
Mike McQuaid
9e370b0a3d
Merge pull request #14847 from dduugg/no-to_sentence
...
Move Array#to_sentence monkey-patch from ActiveSupport to extend/
2023-03-06 12:37:02 +00:00
Mike McQuaid
b05bd61ddd
Merge pull request #14878 from issyl0/a-little-more-rubocop-tidying
...
rubocop: Trim exclude paths without offenses; move some more config
2023-03-06 12:36:10 +00:00
Mike McQuaid
9c2a333394
Merge pull request #14883 from SMillerDev/feat/cask/audit_pkg_signing2
...
cask: retry audit for correct signing of pkg installers
2023-03-06 12:34:41 +00:00
Mike McQuaid
5689065c9e
Merge pull request #14880 from dduugg/fix--env
...
Fix type error in brew --env
2023-03-06 12:33:11 +00:00
Mike McQuaid
b08029edc9
Merge pull request #14885 from apainintheneck/irb-add-cask-monkey-patch
...
irb: add cask monkey patch
2023-03-06 12:28:12 +00:00
Issy Long
7a334070b8
Merge pull request #14893 from issyl0/sorbet-bumps
2023-03-06 12:23:59 +00:00
Issy Long
2aeeaf706e
Merge pull request #14891 from issyl0/cask-rubocops-unnecessary-requires
2023-03-06 12:23:49 +00:00
Issy Long
5a68566097
Merge pull request #14886 from issyl0/rubocop-cask-url-verified-disallow-protocol
2023-03-06 12:22:22 +00:00
Issy Long
aea33909c4
Merge pull request #14884 from issyl0/rubocop-rspec-todos
2023-03-06 12:21:06 +00:00
Issy Long
984e8d1503
Merge pull request #14877 from issyl0/rubocop-layout/multiline-method-indentation
...
rubocop: Enable `Layout/MultilineMethodCallIndentation` & fix offenses
2023-03-06 12:18:29 +00:00
apainintheneck
11a0ea1833
irb: enable global options
...
The --debug and --quiet options weren't working before
with the REPL because IRB didn't recognize them.
2023-03-05 10:22:34 -08:00
Issy Long
6a704f2f40
sorbet: Bump more files to typed: true
...
- This was done through the `brew typecheck --suggest-typed --update`
command.
2023-03-05 18:18:59 +00:00
Issy Long
1d65c942c3
rubocops/cask: Clean up unnecessary requires
...
- I suspect these were copy-pasted from other cops, like I did in
https://github.com/Homebrew/brew/pull/14886#discussion_r1125569999 .
- The "forwardable" require is unnecesary if the cop doesn't
`extend Forwardable` and use `def_delegator`.
- The "uri" require is unnecessary if the cop doesn't call `URI` methods.
2023-03-05 17:13:46 +00:00
Issy Long
d995afc000
test/rubocops/cask/url: Ensure that autocorrection works
2023-03-05 17:08:43 +00:00
Issy Long
4e067565dd
rubocops/cask/url: Fix test expectations; regexp for starts_with?
2023-03-05 16:55:47 +00:00
Issy Long
4791224acf
rubocops/cask/url: Remove unnecessary require "forwardable"
2023-03-05 16:38:10 +00:00
Issy Long
f4a0bc7af3
rubocops/cask: Appease Sorbet with the correct inheritance
...
- The `on_url_stanza` method is now used in two cops, `Url` and
`UrlLegacyCommaSeparators`. Make the latter inherit from the former
to make Sorbet happy.
- The style and typecheck checks now pass fine.
2023-03-05 16:33:11 +00:00
Issy Long
b1ef41c25d
Merge pull request #14889 from issyl0/contributions-improve-committers-dedup
...
utils/github: Fix double counting of author/committer numbers
4.0.5
2023-03-05 16:11:33 +00:00
Sam Ford
74e1e4cb15
Merge pull request #14890 from samford/livecheck/skip-preprocess_url-for-new-strategies
...
livecheck: Skip #preprocess_url for new strategies
2023-03-05 11:09:29 -05:00
Sam Ford
f997557c3f
livecheck: Skip #preprocess_url for new strategies
...
I forgot to add the new `Json`, `Xml`, and `Yaml` strategies to the
list of strategies where `#preprocess_url` should be skipped and this
was causing issues for a user in their tap. This is unfortunately
another bug that wasn't surfaced when I tested all the related checks
in our first-party taps.
2023-03-05 10:05:06 -05:00
Issy Long
edeefebf61
utils/github: Fix double counting of author/committer numbers
...
- The usage of this in `brew contributions` wasn't correct for a user
with 5 authored commits to homebrew/cask that had been committed by
other people, the numbers would turn out as 5 authored, 5 committed.
- I decided to do this properly by getting the SHAs for author and
committer and determine the differences between the two arrays.
This also accounts for when authored commits are 0, or committed
commits, or both.
- Add tests, because I don't want to fix this a third time!
2023-03-05 14:41:04 +00:00
Mike McQuaid
8051e8818a
Merge pull request #14866 from MikeMcQuaid/update-report-all-formulae-api
2023-03-05 08:10:57 +00:00