apainintheneck
c7d53a2d9c
Add cop to police os checks
...
The methods `OS.linux?` and `OS.mac?` should only be used
in `extend/os` and this cop makes sure of that.
2022-11-19 22:01:13 -08:00
Bo Anderson
81f262ece3
utils/gems: use env shebang when installing gems
2022-11-19 00:58:05 +00:00
BrewTestBot
75eb7c56f5
Update RBI files for bootsnap.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-11-18 17:38:01 +00:00
BrewTestBot
6fb0d1dbdf
brew vendor-gems: commit updates.
2022-11-18 17:31:29 +00:00
dependabot[bot]
01b572b331
build(deps): bump bootsnap from 1.13.0 to 1.14.0 in /Library/Homebrew
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.13.0 to 1.14.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.13.0...v1.14.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-11-18 17:24:22 +00:00
Bo Anderson
a4f082dfe0
Merge pull request #14155 from Bo98/bundler-2.3.26
...
Update Bundler to 2.3.26
2022-11-18 17:23:15 +00:00
Mike McQuaid
984d9d712d
Merge pull request #14141 from apainintheneck/speed-up-deleted-reason
...
Speed up `deleted_reason` method
2022-11-18 09:18:37 +00:00
apainintheneck
2601cc410b
Only optimize for the core tap
2022-11-17 21:15:43 -08:00
Bo Anderson
e21c926f9b
Update Bundler to 2.3.26
2022-11-17 16:35:08 +00:00
BrewTestBot
f0815b86d2
Update RBI files for regexp_parser.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-11-17 14:52:47 +00:00
BrewTestBot
1ac34a047b
brew vendor-gems: commit updates.
2022-11-17 14:46:05 +00:00
dependabot[bot]
fa9eab8d13
build(deps): bump regexp_parser from 2.6.0 to 2.6.1 in /Library/Homebrew
...
Bumps [regexp_parser](https://github.com/ammar/regexp_parser ) from 2.6.0 to 2.6.1.
- [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.6.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: regexp_parser
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 14:42:06 +00:00
BrewTestBot
90f056218c
Update RBI files for rubocop-performance.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-11-16 18:12:53 +00:00
BrewTestBot
46088f22e0
brew vendor-gems: commit updates.
2022-11-16 18:06:28 +00:00
dependabot[bot]
c6f1907486
build(deps): bump rubocop-performance in /Library/Homebrew
...
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance ) from 1.15.0 to 1.15.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.15.0...v1.15.1 )
---
updated-dependencies:
- dependency-name: rubocop-performance
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 18:02:50 +00:00
Mike McQuaid
efa04015a1
Merge pull request #14149 from danielbayley/dev-cmd-ruby
...
dev-cmd/`ruby`: add `--version`
2022-11-16 13:39:49 +00:00
Daniel Bayley
4bf2b3df4a
dev-cmd/ruby
: add --version
2022-11-16 13:09:31 +00:00
Alexander Bayandin
c013762945
Merge pull request #14148 from bayandin/fix-m2-detection
...
CPU: fix M2 family detection
2022-11-16 12:09:57 +00:00
Alexander Bayandin
f9b4bf9316
CPU: cleanup sysctl_int method
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-11-16 10:51:59 +00:00
Bo Anderson
bca9eb05d1
dev-cmd/unbottled: simulate target tag
2022-11-16 00:07:31 +00:00
Alexander Bayandin
449b872916
CPU: fix M2 detection
2022-11-15 11:02:56 +00:00
apainintheneck
c787df5294
Optimize deleted_reason for all taps
2022-11-15 00:09:52 -08:00
Mike McQuaid
b7391069d4
Merge pull request #14138 from danielbayley/cmd-install-dry-run
...
Fix `install` <cask> `--dry-run`
2022-11-14 12:19:11 +00:00
apainintheneck
2bc54e56e4
Optimize CoreTap in .deleted_reason
...
This limits the previous change to only the
core tap in `MissingFormula.deleted_reason`.
The reason for this is that the `git log` command
only becomes a performance issue when the number
of monthly commits is high which really only happens
with the core tap.
2022-11-12 00:01:06 -08:00
apainintheneck
5241439f43
Speed up MissingFormula.deleted_reason
...
The current way we find out where a formula was deleted is
using `git log` to query the last months worth of formula.
For core formula that is 11,000+ commits which makes this slow.
This quits early by diffing the current branch with a commit
from a month ago and checks if that file has been deleted in the
meantime. Then, it procedes with the above `git log` command.
Note: This will miss formula that were introduced less than a month
ago and removed in the meantime though that is seemingly very rare.
2022-11-11 14:39:50 -08:00
EricFromCanada
216a045b36
rubydoc: fixes for output
2022-11-11 16:16:54 -05:00
Daniel Bayley
b9ee9b868d
Fix install
<cask> --dry-run
2022-11-11 17:33:11 +00:00
Mike McQuaid
e1b2f68a6d
Merge pull request #14134 from p-linnane/fix-env-typo
...
docs: Fix env variable typo
2022-11-11 13:41:50 +00:00
razamatan
e7f723e543
uses_from_macos: add mandoc to allowed list
...
- see https://github.com/Homebrew/homebrew-core/pull/115411
2022-11-10 21:56:23 -08:00
Patrick Linnane
f81857140f
docs: Fix env variable typo
2022-11-10 07:33:52 -08:00
Mike McQuaid
a92c9eed82
style: check more shell scripts.
...
We were missing a few here so add them. Also, fix the changes in
`on-create-command.sh` that this catches.
2022-11-09 17:29:38 +00:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04.
2022-11-09 14:45:43 +00:00
Bo Anderson
d3852122ab
Merge pull request #14122 from Bo98/multiple-macos
...
Allow multiple macOS requirements
2022-11-09 12:13:38 +00:00
Bo Anderson
9eac310468
Allow multiple macOS requirements
2022-11-09 01:19:46 +00:00
BrewTestBot
ccb51a519d
Update RBI files for zeitwerk.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-11-08 18:13:03 +00:00
BrewTestBot
1807e1a147
brew vendor-gems: commit updates.
2022-11-08 18:07:43 +00:00
dependabot[bot]
9423e78242
build(deps): bump zeitwerk from 2.6.4 to 2.6.6 in /Library/Homebrew
...
Bumps [zeitwerk](https://github.com/fxn/zeitwerk ) from 2.6.4 to 2.6.6.
- [Release notes](https://github.com/fxn/zeitwerk/releases )
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fxn/zeitwerk/compare/v2.6.4...v2.6.6 )
---
updated-dependencies:
- dependency-name: zeitwerk
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 18:01:07 +00:00
Mike McQuaid
68b944a94f
Merge pull request #14112 from hyuraku/move-two-methods-to-utils/github
...
move two methods from download_strategy to utils/github
2022-11-08 14:11:47 +00:00
Mike McQuaid
8ce692cab4
Merge pull request #14117 from hyuraku/add-manpages.rb
...
Add manpages.rb
2022-11-08 14:10:53 +00:00
hyuraku
20c67b1b20
repair style
2022-11-08 21:11:10 +09:00
hyuraku
55de5deb0b
fix typo
2022-11-08 21:03:20 +09:00
hyuraku
6423c27e8b
change the condition on GitHub.multiple_short_commits_exist?
2022-11-08 21:02:11 +09:00
hyuraku
561602fa51
use Manpages method on dev-cmd/update_maintainers
2022-11-08 20:36:10 +09:00
hyuraku
d89344b41d
add manpage.rb to generating homebrew manual
2022-11-08 20:33:30 +09:00
Sean Molenaar
133c639ba9
Merge pull request #14113 from SMillerDev/feature/service/require_root
...
Service: add method to define a root requirement
2022-11-08 11:56:31 +01:00
hyuraku
5522cd106f
use url_to instead of url string
2022-11-08 18:54:18 +09:00
Sean Molenaar
fb9cc17c43
formula.rb: add deprecation
2022-11-08 09:07:24 +01:00
Sean Molenaar
a23d969df8
formula: comment out deprecation
2022-11-08 09:06:40 +01:00
hyuraku
903cac3651
refactor GitHub.multiple_short_commits_exist?
2022-11-07 23:44:42 +09:00
hyuraku
43eca95ce4
reset require-utils/github location
2022-11-07 23:12:27 +09:00