Mike McQuaid
359fb27cfe
Manually fix RuboCop RSpec autofix failures.
2018-09-20 13:40:38 +01:00
Mike McQuaid
79c2ccd0bc
Generate rubocop_todo.yml for RuboCop RSpec
2018-09-20 13:36:42 +01:00
Mike McQuaid
78eba5b815
Autofix RuboCop RSpec failures
2018-09-20 13:36:42 +01:00
Mike McQuaid
da404fcb4e
Install and use RuboCop RSpec by default.
2018-09-20 13:36:41 +01:00
FX Coudert
1a381206c6
docs/Installation: support Sierra or higher
2018-09-20 13:05:42 +02:00
FX Coudert
0967c3e549
os/mac: support Mojave, drop El Capitan
2018-09-20 12:52:37 +02:00
FX Coudert
2901c36798
Merge pull request #4941 from fxcoudert/mojave
...
super/cc: further bump -mmacosx-version-min on Mojave
2018-09-20 12:20:50 +02:00
Mike McQuaid
97dca89e7e
Merge pull request #4949 from MikeMcQuaid/dbm_crash
...
cache_store: handle corrupt DBM database.
2018-09-20 11:16:02 +01:00
Mike McQuaid
a11fe57cd2
cache_store: handle corrupt DBM database.
...
When the DBM database cannot be read by the current version of Ruby's
DBM library (due to corruption or another incompatibility) it segfaults
or freezes which takes down the entire Homebrew Ruby process.
This isn't desirable so instead perform a shell out with the Homebrew
Ruby to see if it can read the DBM database before we try to use the
information. If this hangs or crashes: silently delete the database and
recreate it.
2018-09-20 10:57:27 +01:00
FX Coudert
481ffcf4e1
super/cc: bump -mmacosx-version-min on High Sierra and later
2018-09-20 10:37:35 +02:00
Markus Reiter
1ff42f9058
Merge pull request #4909 from reitermarkus/non-developer
...
Run tests with `HOMEBREW_DEVELOPER` unset.
2018-09-19 21:34:23 +02:00
Mike McQuaid
0ef821765b
Merge pull request #4940 from Homebrew/dependabot/bundler/docs/sass-3.6.0
...
Bump sass from 3.5.7 to 3.6.0 in /docs
2018-09-19 19:08:34 +01:00
Markus Reiter
e5aaf36f7d
Add spec for FormulaInstaller#audit_installed
.
2018-09-19 20:07:15 +02:00
Markus Reiter
7a991985a4
Run tests with HOMEBREW_DEVELOPER
unset.
2018-09-19 19:43:45 +02:00
dependabot[bot]
a4e1e2f90b
Bump sass from 3.5.7 to 3.6.0 in /docs
...
Bumps [sass](https://github.com/sass/ruby-sass ) from 3.5.7 to 3.6.0.
- [Release notes](https://github.com/sass/ruby-sass/releases )
- [Commits](https://github.com/sass/ruby-sass/compare/3.5.7...3.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-19 17:22:08 +00:00
Mike McQuaid
ae7ee0a44c
Merge pull request #4939 from Homebrew/dependabot/bundler/docs/faraday-0.15.3
...
Bump faraday from 0.15.2 to 0.15.3 in /docs
2018-09-19 17:15:58 +01:00
dependabot[bot]
d5c4a6b993
Bump faraday from 0.15.2 to 0.15.3 in /docs
...
Bumps [faraday](https://github.com/lostisland/faraday ) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/lostisland/faraday/releases )
- [Changelog](https://github.com/lostisland/faraday/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday/compare/v0.15.2...v0.15.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-19 15:46:05 +00:00
Chongyu Zhu
e6b80ae7fd
xcode: update expected version on High Sierra with Xcode 10 (10A255)
2018-09-19 23:30:24 +08:00
Mike McQuaid
b614cad3b5
Merge pull request #4938 from MikeMcQuaid/travis-cleanup
...
Cleanup Travis and CI configuration.
2018-09-19 15:36:21 +01:00
Mike McQuaid
59c858a8e8
Cleanup Travis and CI configuration.
...
Use the environment variables set by `brew test-bot`. Eventually we'll
disable Travis CI running CodeCov so move `TRAVIS` references to
`HOMEBREW_TRAVIS_CI` so it doesn't need whitelisted.
Also, fix `azure-pipelines.yml` so it's testing the correct version of
Homebrew/brew (the one checked out in the `pwd`).
2018-09-19 15:01:33 +01:00
William Woodruff
2246780f0b
Merge pull request #4853 from woodruffw/error-pipe-check-closed
...
utils/fork: Check if error pipe is closed
2018-09-19 10:00:01 -04:00
Chongyu Zhu
6002fa7f13
xcode: update expected Clang version on Mojave with Xcode 10 (10A255)
2018-09-19 18:46:58 +08:00
Markus Reiter
d8f53486f5
Merge pull request #4934 from reitermarkus/system_command-merged_output
...
Add `SystemCommand::Result#merged_output`.
2018-09-19 04:26:49 +02:00
William Woodruff
a59b708de9
exceptions: Language nit in ChildProcessError
2018-09-18 22:22:33 -04:00
William Woodruff
649a630826
utils/fork: Check if error pipe is closed
...
Document special interrupt case.
2018-09-18 22:21:12 -04:00
Markus Reiter
91b0794329
Add SystemCommand::Result#merged_output
.
2018-09-19 04:02:59 +02:00
Markus Reiter
f1a2fa5601
Merge pull request #4935 from reitermarkus/gemfile
...
Update `Gemfile.lock`.
2018-09-19 03:58:20 +02:00
Markus Reiter
9b667af552
Merge pull request #4915 from alexbostock/code-coverage
...
Improve code coverage
2018-09-19 03:46:59 +02:00
Markus Reiter
846fa45c03
Update Gemfile.lock
.
2018-09-19 03:35:11 +02:00
commitay
02219f91d1
Merge pull request #4862 from commitay/dependency-order
...
make dependency_order_cop a regular audit
2018-09-19 07:51:42 +10:00
Mike McQuaid
9d491463e3
Merge pull request #4933 from MikeMcQuaid/ronn-gemfile
...
test/Gemfile: add ronn.
2018-09-18 21:42:46 +01:00
Mike McQuaid
7c4b9f2274
Merge pull request #4932 from MikeMcQuaid/update-reset-repos
...
update-reset: allow specifying repositories.
2018-09-18 21:36:26 +01:00
Mike McQuaid
49273c1997
test/Gemfile: add ronn.
...
This now gets installed into the same place with or without a Bundler
installation but this saves an extra install for `brew test-bot` or
people running `brew man` after `brew tests`.
2018-09-18 21:23:43 +01:00
Mike McQuaid
3063b7fade
update-reset: allow specifying repositories.
...
This makes it easier to use this in e.g. CI to quickly reset various
repositories to their upstream versions.
2018-09-18 21:14:21 +01:00
Shaun Jackman
47bebcdeca
Merge pull request #4929 from sjackman/custom-prefix
...
Utils::Analytics.custom_prefix_label: Fix typo
2018-09-18 10:45:23 -07:00
Shaun Jackman
6bd0379449
Utils::Analytics.custom_prefix_label: Fix typo
...
Change generic-prefix to custom-prefix.
2018-09-18 09:49:19 -07:00
Mike McQuaid
c1e26f5677
Merge pull request #4913 from MikeMcQuaid/activesupport-file-atomic
...
Use ActiveSupport File.atomic_write
2018-09-18 09:45:26 +01:00
Mike McQuaid
ead23d1f4c
Use ActiveSupport File.atomic_write
...
nd delete our own implementation.
2018-09-18 09:20:40 +01:00
Mike McQuaid
4d1de3334c
Merge pull request #4912 from MikeMcQuaid/activesupport-hash-deep-merge
...
Use ActiveSupport Hash#deep_merge
2018-09-18 09:19:24 +01:00
commitay
ccb08f1258
Merge pull request #4927 from commitay/shutup-rubocop
...
Library/.rubocop.yml: disable `RescueEnsureAlignment`
2018-09-18 14:13:43 +10:00
commitay
b3e39014c9
Library/Homebrew/.rubocop.yml: remove RescueEnsureAlignment
2018-09-18 13:21:17 +10:00
commitay
737c9ad816
Library/.rubocop.yml: disable RescueEnsureAlignment
2018-09-18 10:30:59 +10:00
Markus Reiter
4897ec02d0
Merge pull request #4919 from reitermarkus/rubocop
...
Update to RuboCop 0.59.1.
2018-09-18 00:36:59 +02:00
alexbostock
188aca1075
Remove blank line
2018-09-17 21:13:19 +01:00
alexbostock
122738709a
Add a_json_string matcher and improve tests
2018-09-17 20:49:43 +01:00
Mike McQuaid
d639559c4d
Merge pull request #4917 from yurikoles/fix-cleanup-doc
...
add quotes surrounding $(brew --cache) in help for cleanup command
1.7.5
2018-09-17 15:52:01 +01:00
Mike McQuaid
0c6331878f
Use ActiveSupport Hash#deep_merge
...
And delete our own implementation.
2018-09-17 14:53:01 +01:00
Yurii Kolesnykov
de2700c9b6
add quotes to brew --cache in help for cleanup command
2018-09-17 12:13:29 +03:00
alexbostock
e733657f04
Separate and improve tests
2018-09-17 09:50:02 +01:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00