dependabot[bot]
ae9d4d3465
Bump term-ansicolor from 1.7.0 to 1.7.1 in /Library/Homebrew/test
...
Bumps [term-ansicolor](https://github.com/flori/term-ansicolor ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/flori/term-ansicolor/releases )
- [Changelog](https://github.com/flori/term-ansicolor/blob/master/CHANGES )
- [Commits](https://github.com/flori/term-ansicolor/compare/v1.7.0...v1.7.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 09:08:20 +00:00
Mike McQuaid
da22194195
Merge pull request #5543 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.63.0
...
Bump rubocop from 0.61.1 to 0.63.0 in /Library/Homebrew/test
2019-01-17 13:25:46 +00:00
Mike McQuaid
ad1acdc1ad
requirement: fix new RuboCop failures.
2019-01-17 09:57:50 +00:00
Mike McQuaid
6c3ab94375
brew vendor-gems: commit updates.
2019-01-17 09:49:56 +00:00
dependabot[bot]
c57c20af08
Bump rubocop from 0.61.1 to 0.63.0 in /Library/Homebrew/test
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.61.1 to 0.63.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.1...v0.63.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 09:47:33 +00:00
Mike McQuaid
609a91c345
Merge pull request #5550 from MikeMcQuaid/fix-install-gem
...
utils: re-add install_gem! version argument.
2019-01-17 09:46:06 +00:00
Mike McQuaid
3b04ac992b
Merge pull request #5545 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.63.0
...
Bump rubocop from 0.61.1 to 0.63.0 in /Library/Homebrew/vendor
2019-01-17 09:45:55 +00:00
Mike McQuaid
a75f979eec
utils: re-add install_gem! version argument.
...
This is needed for `compat/download_strategy` for now.
2019-01-17 09:29:21 +00:00
dependabot[bot]
4db95edbcd
Bump parallel from 1.12.1 to 1.13.0 in /Library/Homebrew/test
...
Bumps [parallel](https://github.com/grosser/parallel ) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/grosser/parallel/releases )
- [Commits](https://github.com/grosser/parallel/compare/v1.12.1...v1.13.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 09:06:25 +00:00
dependabot[bot]
3d3d3b9e0d
Bump rubocop from 0.61.1 to 0.63.0 in /Library/Homebrew/vendor
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.61.1 to 0.63.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.1...v0.63.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 06:44:34 +00:00
dependabot[bot]
946d6dc2a9
Bump parser from 2.5.3.0 to 2.6.0.0 in /Library/Homebrew/test
...
Bumps [parser](https://github.com/whitequark/parser ) from 2.5.3.0 to 2.6.0.0.
- [Release notes](https://github.com/whitequark/parser/releases )
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitequark/parser/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-16 16:15:52 +00:00
Maxim Belkin
e89cdf3681
Fiks HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK description
...
This change fixes a syntax error introduced in b278165da
2019-01-14 16:29:42 -06:00
Mike McQuaid
a24197bcc9
Fix some bottling logic
...
- We've never supported `devel` bottles so don't bother outputting their
status to `brew info`
- Don't `brew upgrade` or `brew reinstall` bottles if they were
previously built as a bottle unless there's no bottles defined at all
(rather than there was no compatible bottles). Fixes #5532 .
2019-01-14 16:47:07 +00:00
Mike McQuaid
52fc18d0a5
brew vendor-gems: commit updates.
2019-01-14 14:05:55 +00:00
dependabot[bot]
20c9b89917
Bump i18n from 1.5.1 to 1.5.2 in /Library/Homebrew/vendor
...
Bumps [i18n](https://github.com/svenfuchs/i18n ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/svenfuchs/i18n/releases )
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.5.1...v1.5.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 05:57:02 +00:00
Markus Reiter
e472c35880
Remove unneeded cleanup.
2019-01-13 20:29:52 +01:00
Markus Reiter
3435202f91
Fix missing require
.
2019-01-13 20:26:46 +01:00
Mike McQuaid
ab7a3c966f
Merge pull request #5530 from GauthamGoli/helptext-for-invalid-opt
...
cli_parser: Output help text on invalid option passed
2019-01-12 21:09:06 +00:00
Mike McQuaid
b71fcedb43
cli_parser_spec: tweak/fix help output text test,
2019-01-12 19:17:07 +00:00
Mike McQuaid
0a0e2fa0c1
cli_parser: output help failure text to stderr.
2019-01-12 19:16:44 +00:00
Mike McQuaid
bf4ac4bca3
Merge pull request #5529 from MikeMcQuaid/better-handle-update-env
...
Better handle missing environment variables when updating
2019-01-12 17:01:21 +00:00
Mike McQuaid
63cfb0ff61
Better handle missing environment variables when updating
...
Try to re-exec the Homebrew binary to get the environment variables we
need and give up if that doesn't work.
2019-01-12 15:59:08 +00:00
Gautham Goli
9c7fe3dcb9
cli_parser: Output help text on invalid option passed
2019-01-12 18:52:07 +05:30
Mike McQuaid
4f17e2384a
Merge pull request #5528 from MikeMcQuaid/no-bottle-fallback
...
Add HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK variable
2019-01-12 12:23:57 +00:00
Mike McQuaid
3771d2d447
Merge pull request #5527 from MikeMcQuaid/fix-search-regex-warning
...
cmd/search: fix truncated regex warning.
2019-01-12 12:23:25 +00:00
Mike McQuaid
b278165dab
Add HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK variable
...
If set, Homebrew will fail if on the failure of installation from a
bottle rather than falling back to building from source.
2019-01-12 12:08:18 +00:00
Mike McQuaid
9135d16d54
cmd/search: fix truncated regex warning.
...
`ohai` doesn't really work for this case.
Fixes #5520 .
2019-01-12 11:57:37 +00:00
Mike McQuaid
b2614ddcb6
update: make git rebase be quiet.
...
`--quiet` doesn't seem to be working as expected.
2019-01-12 11:55:06 +00:00
Jonathan Chang
85b65e977e
compat: correct MacOS.prefer_64_bit? deprecation
2019-01-09 18:07:16 -05:00
Mike McQuaid
b16e9c8864
Merge pull request #5518 from MikeMcQuaid/tweak-parallel-tests
...
spec_helper: tweak parallel tests handling.
2019-01-09 20:53:07 +00:00
Mike McQuaid
3c270b3a9a
spec_helper: tweak parallel tests handling.
...
- only hide filtered runs in parallel (where they are super noisy)
- only send SimpleCov coverage once to Coveralls
2019-01-09 18:59:12 +00:00
Mike McQuaid
9156d6def4
config: better handle missing variables.
...
We don’t really have a better solution than this because of how the auto-updater’s Bash code worked on the version they are updating from. Users will never hit this more than once.
Fixes #5513
2019-01-09 17:03:02 +00:00
Mike McQuaid
ea0fca9511
cleanup: make cache directory for clean file.
...
This means the `.cleaned` file is correctly created for periodic
cleanup handling.
2019-01-08 21:19:49 +00:00
Mike McQuaid
a7d72351cf
utils: don't look for bundler executable.
...
This exists sometimes and not others it seems.
2019-01-08 20:33:39 +00:00
Mike McQuaid
fda7202a7f
Merge pull request #5507 from MikeMcQuaid/formula-install-options-build-arch
...
extend/ARGV: don't warn on --bottle-arch=.
2019-01-08 19:56:31 +00:00
Mike McQuaid
96207c05d3
Merge pull request #5506 from MikeMcQuaid/no-penryn
...
hardware: no special penryn CFLAGS.
2019-01-08 19:40:03 +00:00
Mike McQuaid
d9a9ceae70
Merge pull request #5477 from MikeMcQuaid/deprecations
...
Update deprecations
2019-01-08 19:28:05 +00:00
Mike McQuaid
e1eb4710e4
extend/ARGV: don't warn on --build-arch=.
...
Fixes #5504 .
2019-01-08 19:24:00 +00:00
Mike McQuaid
b1e60f9c76
hardware: no special penryn CFLAGS.
...
These are the same as `core2` (at least for `gcc`).
Fixes #5502 .
2019-01-08 19:14:29 +00:00
Mike McQuaid
170c5493a4
Update deprecations
...
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Mike McQuaid
e0342ac7cd
Merge pull request #5505 from sjackman/march-native-linux
...
Use -march=native for non-bottle source builds [Linux]
2019-01-08 19:10:48 +00:00
Shaun Jackman
23ea066a0f
Use -march=native for non-bottle source builds [Linux]
2019-01-08 09:39:37 -08:00
Mike McQuaid
92cb62dace
utils: fix bad parameters.
2019-01-08 16:29:27 +00:00
Mike McQuaid
bf6cd48994
Merge branch 'master' into fix-deprecated-gem-options
2019-01-08 16:24:24 +00:00
Claudia
0b1ec2a414
Fix deprecated Rubygems options
...
In February 2013, Rubygems 2.0.0 deprecated [1] the `--[no-]ri` and `--[no-]rdoc` options, replacing them with the new `--[no-]document` option.
Almost five years later, Rubygems finally dropped support [2] for the long-deprecated `--[no-]ri` and `--[no-]rdoc` options.
This removal causes `bundle install` to **fail for fresh Homebrew checkouts** if Rubygems 3.0.x or newer is installed, which will happen if the user runs `gem update --system` on Ruby 2.3.0 or later. [3]
This also affects the system Ruby built into macOS 10.13 and 10.14.
Steps to reproduce:
```
$ sudo /usr/bin/gem update -N --system
[…]
Installing RubyGems 3.0.2
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted @ rb_sysopen - /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/gem
$ gem --version 2>/dev/null
3.0.2
$ cd "$(mktemp -d)"
$ git clone --depth=1 https://github.com/Homebrew/brew.git
[…]
$ cd brew
$ export HOMEBREW_PATH=bin # in case shellcheck is not installed
$ bin/brew style Library/Homebrew/extend/ENV/std.rb
==> Installing or updating 'rubocop' gem
Error: invalid option: --no-ri
```
(Note: The above steps will not touch an existing Homebrew installation, and won’t even require Homebrew to be installed.)
This commit replaces the deprecated options with the new `--no-document` option, which has been around since Rubygems 2.0.0. It is therefore safe for use on all supported platforms.
[1]: https://blog.rubygems.org/2013/02/24/2.0.0-released.html
[2]: https://github.com/rubygems/rubygems/pull/2354
[3]: https://rubygems.org/gems/rubygems-update/versions
2019-01-08 17:04:30 +01:00
Mike McQuaid
efc3c0c4c0
Use bundle install
in more places.
...
This provides a more consistent version for `rubocop` than relying on
`Homebrew.install_gem_setup_path!` (and we really want `brew style` to
provide consistent output).
2019-01-08 15:08:21 +00:00
Mike McQuaid
03afa5a75f
Revert "Bump rubocop from 0.61.1 to 0.62.0 in /Library/Homebrew/test"
...
This reverts commit c04d9cf60272ff734f16ce5c333b63ce4a3afaf8.
2019-01-08 13:41:42 +00:00
Mike McQuaid
003d5f815f
Revert "Bump rubocop from 0.61.1 to 0.62.0 in /Library/Homebrew/vendor"
...
This reverts commit f8a6a34699b19d0ef1fd421a797c0a3fa644e28a.
2019-01-08 13:41:42 +00:00
Claudia
a72af2c8a6
Disable cop for #set_cpu_flags, #set_cpu_cflags
...
In `extend/ENV/std.rb`, the methods `set_cpu_flags` and
`set_cpu_cflags` have been violating the `Naming/AccessorMethodName`
cop.
A recent modification in #7e13b3749 woke up the cop. That means we’re
likely dealing with legacy code here, predating the introduction of
RuboCop into Homebrew.
This commit disables the cop for either method. I believe refactoring
wouldn’t currently be worth the effort, especially given that
`#set_cpu_cflags` is mostly called without arguments.
2019-01-08 08:13:25 +01:00
Mike McQuaid
6cd4c3171c
Merge pull request #5494 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/jaro_winkler-1.5.2
...
Bump jaro_winkler from 1.5.1 to 1.5.2 in /Library/Homebrew/vendor
2019-01-07 08:41:52 +00:00