23950 Commits

Author SHA1 Message Date
Mike McQuaid
dc1fdc9f8d
Speedup brew --version.
Port `brew --version` to Bash to speed it up.

While we're here:
- remove (now) unused `Tap` Git methods
- use `--quiet` instead of `-q` to be more verbose

Benchmarks:
```
$ hyperfine --min-runs=3 --warmup=2 "git checkout origin/master; brew --version" "git checkout speedup_brew_version; brew --version"
Benchmark #1: git checkout origin/master; brew --version
  Time (mean ± σ):      2.083 s ±  0.004 s    [User: 396.8 ms, System: 597.2 ms]
  Range (min … max):    2.080 s …  2.088 s    3 runs

Benchmark #2: git checkout speedup_brew_version; brew --version
  Time (mean ± σ):     847.9 ms ±  35.2 ms    [User: 100.0 ms, System: 247.9 ms]
  Range (min … max):   824.1 ms … 888.3 ms    3 runs

Summary
  'git checkout speedup_brew_version; brew --version' ran
    2.46 ± 0.10 times faster than 'git checkout origin/master; brew --version'
```
2021-03-04 12:59:42 +00:00
nandahkrishna
d68452f232
rubocops/patches: autocorrect some offenses 2021-03-04 12:36:18 +05:30
BrewTestBot
84c26f1585 Update RBI files for codecov. 2021-03-04 06:01:47 +00:00
BrewTestBot
731fa83e01 brew vendor-gems: commit updates. 2021-03-04 06:00:57 +00:00
dependabot[bot]
656e41ec24
build(deps): bump codecov from 0.5.0 to 0.5.1 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 05:55:17 +00:00
Dawid Dziurla
b3949f0765
dispatch-build-bottle: support Linux 2021-03-03 17:36:12 +01:00
Seeker
7e7274aaeb rubocops: use Style/UnlessLogicalOperators
Replaces `Style/UnlessMultipleConditions`
2021-03-03 01:39:11 -08:00
BrewTestBot
1377db534d Update RBI files for rubocop. 2021-03-02 17:54:04 +00:00
BrewTestBot
b15ddb8c22 brew vendor-gems: commit updates. 2021-03-02 17:53:13 +00:00
dependabot[bot]
97a23cc462
build(deps): bump rubocop from 1.10.0 to 1.11.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.10.0 to 1.11.0.
- [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.10.0...v1.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 17:48:06 +00:00
Bo Anderson
d625f91d3c
shims/scm/git: fix unintended backtick usage 2021-03-02 17:07:02 +00:00
Bo Anderson
a3ed481b9e
Revert "Revert "shims/mac/super: add ruby shims to set SDKROOT""
This reverts commit fe992cab2b943269e39e8f9f5830f4983c440e8b.
2021-03-02 17:06:05 +00:00
Bo Anderson
0a4fd2201e
Let bin/brew handle its own exporting 2021-03-02 16:59:57 +00:00
Mike McQuaid
b024954a0f
Merge pull request #10758 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.10.1
build(deps): bump rubocop-performance from 1.10.0 to 1.10.1 in /Library/Homebrew
2021-03-02 16:10:07 +00:00
Mike McQuaid
55d8c1a608
Merge pull request #10759 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.5.0
build(deps): bump codecov from 0.4.3 to 0.5.0 in /Library/Homebrew
2021-03-02 16:09:55 +00:00
Mike McQuaid
fe992cab2b
Revert "shims/mac/super: add ruby shims to set SDKROOT" 2021-03-02 15:11:14 +00:00
Bo Anderson
f43cc9693f
Merge pull request #10761 from scpeters/fix_install_dependency
formula_installer: fix typo in install_dependency
2021-03-02 15:06:01 +00:00
Mike McQuaid
28bc2b83e0
Merge pull request #10751 from MikeMcQuaid/brew-tap-new-tweaks
dev-cmd/tap-new: various tweaks.
2021-03-02 13:01:36 +00:00
Steve Peters
e3505247cb
formula_installer: fix typo in install_dependency
The linked_keg variable is referenced outside the block where
it is defined; I think it should be the installed_keg variable.
2021-03-02 01:16:55 -08:00
BrewTestBot
9a1d1b4847 Update RBI files for rubocop-performance. 2021-03-02 05:49:48 +00:00
BrewTestBot
1397f66bde brew vendor-gems: commit updates. 2021-03-02 05:48:25 +00:00
BrewTestBot
28d2d0b3f8 Update RBI files for codecov. 2021-03-02 05:46:51 +00:00
BrewTestBot
9caa90d965 brew vendor-gems: commit updates. 2021-03-02 05:46:02 +00:00
dependabot[bot]
e8c6140dbd
build(deps): bump codecov from 0.4.3 to 0.5.0 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.4.3 to 0.5.0.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.4.3...v0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 05:43:33 +00:00
dependabot[bot]
9e86f14aa3
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.10.0 to 1.10.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.10.0...v1.10.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 05:43:05 +00:00
Bo Anderson
10c8874ee5
Merge pull request #10717 from Bo98/prerelease
os/mac: fix version error for prerelease macOS
2021-03-02 03:11:41 +00:00
Mike McQuaid
37f7b9ee73
Merge pull request #10750 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.10.0
build(deps): bump rubocop-performance from 1.9.2 to 1.10.0 in /Library/Homebrew
2021-03-01 15:13:01 +00:00
Bo Anderson
d330e915d1
download_strategy: add comment about Content-Disposition handling 2021-03-01 13:59:05 +00:00
Mike McQuaid
9663567501
Fix brew style. 2021-03-01 13:43:47 +00:00
Mike McQuaid
fb1cf8f389
dev-cmd/tap-new: various tweaks.
- `--no-git` and `--branch` don't conflict as `--branch` is still used
  for the GitHub Actions branch even with `--no-git`
- fix some README markdown linting errors
- fix some YAML/GitHub Actions configuration linting errors
2021-03-01 13:40:08 +00:00
BrewTestBot
838e4face7 Update RBI files for minitest. 2021-03-01 07:41:32 +00:00
BrewTestBot
03e761079c Update RBI files for rubocop-performance. 2021-03-01 07:40:54 +00:00
BrewTestBot
35ea44df89 brew vendor-gems: commit updates. 2021-03-01 07:40:39 +00:00
BrewTestBot
b39df83bf1 brew vendor-gems: commit updates. 2021-03-01 07:39:38 +00:00
dependabot[bot]
f1d439eaae
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.9.2 to 1.10.0.
- [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.9.2...v1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 07:36:39 +00:00
dependabot[bot]
91e698d5fa
build(deps): bump minitest from 5.14.3 to 5.14.4 in /Library/Homebrew
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.14.3 to 5.14.4.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/seattlerb/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/compare/v5.14.3...v5.14.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 07:34:46 +00:00
Rylan Polster
c45e0d6c7f
Merge pull request #10738 from hyuraku/cli/named_args-refactor-if-statements
cli/named_args: refactor if statements
2021-02-28 21:55:36 -05:00
BrewTestBot
a6711b0d65 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-03-01 00:51:33 +00:00
Bo Anderson
40f3fb9c55
Revert "Temporarily change default Bintray domain" 2021-03-01 00:19:38 +00:00
hyuraku
efd4138c8e cli/named_args: refactor if statements 2021-03-01 09:10:26 +09:00
Bo Anderson
ff367939ce
Temporarily change default Bintray domain 2021-02-28 18:01:41 +00:00
Bo Anderson
236c622b20
Merge pull request #10734 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2021-02-28 03:11:56 +00:00
Bo Anderson
30ce9b92e8
utils/gems: add installed gems to $LOAD_PATH 2021-02-28 01:28:51 +00:00
BrewTestBot
0eb58dcc17 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-02-28 00:52:23 +00:00
Bo Anderson
388a66383b
download_strategy: only take basename of Content-Disposition 2021-02-27 17:54:18 +00:00
Bo Anderson
e74013aeab
formula_assertions: few more compat methods 2021-02-27 16:58:43 +00:00
Bo Anderson
a5b12a33c2
utils/gems: use Gem API rather than ENV to set paths 2021-02-27 16:23:28 +00:00
Dawid Dziurla
1d003e5d8a
formula_assertions: add assert_not_match compat
There are some formulae using this method:
https://github.com/Homebrew/homebrew-core/search?q=assert_not_match&type=
2021-02-27 09:29:58 +01:00
BrewTestBot
95d18132d3 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-02-27 00:49:15 +00:00
Bo Anderson
d955277a8b
formula_assertions: add assert_true compat method 2021-02-26 22:39:34 +00:00