hyuraku
f1eacb04f0
move check_binary_arches to extend/os
2023-01-25 22:26:49 +09:00
Mike McQuaid
daecb93d22
Merge pull request #14416 from lucaong/avoid-mutating-script-argument
...
Avoid mutating the script argument in place
2023-01-25 13:26:00 +00:00
Mike McQuaid
41765e6512
Merge pull request #14411 from hyuraku/move_default_prefix_to-extend-os
...
separate default_prefix to `extend/os` files
2023-01-25 13:16:12 +00:00
hyuraku
42960c3e74
repair if condition
2023-01-25 17:23:44 +09:00
Douglas Eichelberger
71e8135864
Enable RSpec/LeakyConstantDeclaration
2023-01-24 20:07:22 -08:00
Douglas Eichelberger
19a205b760
Enable RSpec cops without violations
2023-01-24 19:57:44 -08:00
Luca Ongaro
490679da45
Improve test
2023-01-25 00:19:37 +01:00
Luca Ongaro
1fc1c82aed
Fix code style and add tests
2023-01-25 00:08:15 +01:00
Luca Ongaro
f5765a73da
Avoid mutating the script argument in place
...
Mutating the argument in place, and in particular deleting the
`:executable` entry, leads to a bug when the same code path leading to
read_script_arguments is invoked twice, like in
https://github.com/Homebrew/homebrew-cask/pull/139749
This commit makes a shallow copy of the argument, so that it can be
safely mutated in the rest of the method.
2023-01-24 23:34:47 +01:00
BrewTestBot
d52f3cd820
Update RBI files for concurrent-ruby.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-01-24 18:14:41 +00:00
BrewTestBot
4d822cb771
brew vendor-gems: commit updates.
2023-01-24 18:07:34 +00:00
dependabot[bot]
d09c079d58
build(deps): bump concurrent-ruby in /Library/Homebrew
...
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby ) from 1.1.10 to 1.2.0.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases )
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.10...v1.2.0 )
---
updated-dependencies:
- dependency-name: concurrent-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 18:01:28 +00:00
BrewTestBot
6ee7b79b3d
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-01-24 15:09:13 +00:00
BrewTestBot
d490ca2af1
brew vendor-gems: commit updates.
2023-01-24 15:00:42 +00:00
dependabot[bot]
1f632ae19e
build(deps): bump rubocop from 1.43.0 to 1.44.0 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.43.0 to 1.44.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.43.0...v1.44.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 14:55:07 +00:00
Bo Anderson
142734aec9
dev-cmd/vendor-gems: set SDKROOT for older macOS
2023-01-24 13:24:31 +00:00
hyuraku
8289089482
add remove_const to cancel warning
2023-01-24 21:57:39 +09:00
hyuraku
97bba59e73
add require extend/os
2023-01-24 21:45:18 +09:00
hyuraku
e2f0075ee8
move default_prefix to extend/os
2023-01-24 21:02:24 +09:00
Mike McQuaid
d636f5bc0a
Merge pull request #14408 from dduugg/rspec-disable
...
Inline RSpec/InstanceVariable todos
2023-01-24 10:41:18 +00:00
Mike McQuaid
b8a9fe4d33
Merge pull request #14384 from MikeMcQuaid/homebrew_install_from_api_dev
...
brew.sh: test `HOMEBREW_INSTALL_FROM_API` on developers.
2023-01-24 10:18:43 +00:00
Mike McQuaid
daf5b276e2
Merge pull request #14407 from Rylan12/api-search
...
Fix `brew search` for `HOMEBREW_INSTALL_FROM_API`
2023-01-24 10:16:44 +00:00
Mike McQuaid
c3294f9356
test: add instance variable comments.
2023-01-24 10:15:25 +00:00
Carlo Cabrera
86161e8c32
Fix test failures
2023-01-24 14:19:28 +08:00
Carlo Cabrera
8c5e6e10a7
rubocops/lines: update hard-coded compiler check
...
1. `llvm-g{cc,++}` has been gone for a long time. We don't need to check
for this anymore.
2. Also check for calling the compiler as `cc`, `c89`, `c99`, or `c++`.
2023-01-24 14:04:51 +08:00
Douglas Eichelberger
8aadd14cea
Use block style instead
2023-01-23 11:56:55 -08:00
Douglas Eichelberger
49ca993074
git grep -l rubocop:todo test/ | xargs gsed -i 's|rubocop:todo|rubocop:disable|g'
2023-01-23 11:51:12 -08:00
Douglas Eichelberger
c45efc6eff
rubocop --autocorrect --disable-uncorrectable
2023-01-23 11:49:04 -08:00
Douglas Eichelberger
33905405e1
rm test/.rubocop_todo.yml
2023-01-23 11:45:36 -08:00
Rylan Polster
cc615ef7fb
Fix brew search
for HOMEBREW_INSTALL_FROM_API
2023-01-23 13:32:54 -05:00
Mike McQuaid
f22f3eaa0b
Merge pull request #14400 from dduugg/rspec-cop-fix
...
Resolve RSpec/VerifiedDoubles todos
2023-01-23 13:36:37 +00:00
Mike McQuaid
3be12ca066
Merge pull request #14396 from apainintheneck/add-closed-pr-check-to-bump-cmds
...
Add closed PR check to bump cmds
2023-01-23 13:35:52 +00:00
Mike McQuaid
81a0b0fd2a
Merge pull request #14402 from dduugg/patch-2
...
Delete config.rbi
2023-01-23 13:29:12 +00:00
Mike McQuaid
7d599ead77
Merge pull request #14397 from apainintheneck/fail-on-pkg-not-found-in-install
...
cmd/install: fail when pkg not found
2023-01-23 13:28:26 +00:00
Mike McQuaid
80b36ea176
Merge pull request #14395 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-01-23 13:27:06 +00:00
Douglas Eichelberger
0f224b2428
Delete config.rbi
2023-01-22 21:26:56 -08:00
Douglas Eichelberger
f14cd8960a
Remove version_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
f365870a42
Resolve utils/analytics_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
0bfcf91a16
Resolve software_spec_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
b60eba1aa4
Resolve resource_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
a346725de2
Resolve linkage_cache_store_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
21b4251a67
Resolve language/python/virtualenv_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
06d037eadf
Resolve formula_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
b2ffa09ee9
Resolve formula_pin_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
eeac95b98a
Resolve exceptions_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
72069df68d
Resolve description_cache_store_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
94effcc64f
Resolve dependency_expansion_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
89c7117b30
Resolve dependable_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
ea832538f7
Resolve compiler_selector_spec violation
2023-01-22 17:26:44 -08:00
Douglas Eichelberger
d30ba99612
Resolve compiler_failure_spec violation
2023-01-22 17:26:44 -08:00