16945 Commits

Author SHA1 Message Date
Mike McQuaid
aa940a21a9
Generate and push rubydoc.brew.sh
This is a replacement for the rubydoc.info site that has been a bit
unreliable for us.

Also, note we're using the community Ruby style guide now rather than
the GitHub one.
2019-03-28 21:15:50 +00:00
Mike McQuaid
f1f792e101
Merge pull request #5944 from MikeMcQuaid/rubocop-specs-cleanup
Cleanup some RSpec tests
2019-03-28 19:57:26 +00:00
Mike McQuaid
75257886f2
Cleanup some RSpec tests
Fix some Rubocop RSpec checks, update some values and improve
documentation.
2019-03-28 19:16:56 +00:00
Mike McQuaid
9dc19e8320
Merge pull request #5939 from MikeMcQuaid/cask-json-consistency
cask: improve JSON output consistency.
2019-03-28 19:11:07 +00:00
dependabot[bot]
5ac9dba4c7
Bump parallel from 1.16.0 to 1.16.1 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.16.0...v1.16.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-28 15:47:25 +00:00
Mike McQuaid
774adaf435
exceptions: remove unused scp exception.
The code was removed but the exception was not.
2019-03-28 10:34:02 +00:00
Mike McQuaid
899bf06946
Merge pull request #5943 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-5.2.3
Bump activesupport from 5.2.2.1 to 5.2.3 in /Library/Homebrew
2019-03-28 09:07:27 +00:00
Mike McQuaid
2f1c6e9ca5
Cleanup cmd/* tests
- Test `_args` methods
- Remove multiple integration tests (except where essential
  e.g. `install`, `help`)
2019-03-28 08:35:36 +00:00
Mike McQuaid
889d8da758
brew vendor-gems: commit updates. 2019-03-28 08:31:38 +00:00
dependabot[bot]
b6a2099830
Bump activesupport from 5.2.2.1 to 5.2.3 in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 5.2.2.1 to 5.2.3.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v5.2.3/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v5.2.2.1...v5.2.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-28 03:02:46 +00:00
Mike McQuaid
70b93f65ea
*cmd/*: use *system instead of exec for easier testing.
This improves both test coverage, makes it easier to use a profiler and
a debugger.
2019-03-27 21:15:24 +00:00
Chongyu Zhu
0299790aa7
xcode: upgrade for Xcode 10.2 release 2019-03-28 03:39:23 +08:00
Mike McQuaid
51e473891f
cask: improve JSON output consistency.
Replace the use of HOME or HOMEBREW_PREFIX in the output strings with
variable versions. This is particularly useful on formulae.brew.sh.
2019-03-27 15:59:38 +00:00
Mike McQuaid
cc6c6afffb
test/dev-cmd: add more parseable arguments tests. 2019-03-27 14:22:30 +00:00
Mike McQuaid
1e5cfcc028
Separate tap tests into separate, correct files. 2019-03-27 13:35:42 +00:00
Mike McQuaid
aa44509be9
Test dev-cmd *_args methods
Also, add a few missing invocations.
2019-03-27 13:35:42 +00:00
Markus Reiter
2a3b7d072d Add #unstable? method for cask versions. 2019-03-27 13:48:03 +01:00
Mike McQuaid
3bde17c9f9
Cleanup from dev-cmd test changes
- Remove added whitespace in `extend/os/linux/keg_relocate`
- Cleanup testball bottles
2019-03-27 10:31:26 +00:00
Mike McQuaid
740599370c
Merge pull request #5928 from MikeMcQuaid/dev-cmd-one-integration-test
dev-cmd: only one integration test per command.
2019-03-27 10:20:13 +00:00
Mike McQuaid
59d680a626
dev-cmd: only one integration test per command.
Integration tests are useful in detecting breakages but much slower so
let's only use one per command and install formula outside the
integration test framework (which is also slow).
2019-03-27 09:45:48 +00:00
Mike McQuaid
b9df02bd44
Merge pull request #5931 from Homebrew/dependabot/bundler/Library/Homebrew/parallel-1.16.0
Bump parallel from 1.15.0 to 1.16.0 in /Library/Homebrew
2019-03-27 09:00:11 +00:00
dependabot[bot]
763664d4cd
Bump parallel from 1.15.0 to 1.16.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.15.0...v1.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-26 21:25:06 +00:00
EricFromCanada
4fd398b862 linux.rb: define language/languages methods 2019-03-26 17:14:12 -04:00
Mike McQuaid
cf4511f72a
Merge pull request #5538 from zachauten/brew-info-display-casks
Make brew info output cask if no formula exists
2019-03-25 16:54:03 +00:00
dependabot[bot]
9a85582f82
Bump nokogiri from 1.10.1 to 1.10.2 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.1...v1.10.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-25 13:04:58 +00:00
dependabot[bot]
d9e287d397
Bump parallel from 1.14.0 to 1.15.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.14.0...v1.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-24 23:32:59 +00:00
Zach Auten
999c4743d0 Added flag for cask_reason to output cask info or just message with cask name 2019-03-24 15:28:34 -04:00
Michka Popoff
583a754d9f brew: remove sudo call
Closes #5865
2019-03-24 17:53:39 +01:00
Mike McQuaid
4cb88b7e1e
Merge pull request #5911 from blankenberg/user-dir-write-permission
In diagnostics, when directory is not writable, also hint to set permission.
2019-03-23 21:23:50 +00:00
Mike McQuaid
f0bcc24fe7
Merge pull request #5912 from MikeMcQuaid/tap-new-output-path
tap-new: improve output.
2019-03-23 13:07:12 +00:00
Mike McQuaid
3615f891f7
tap-new: improve output.
Note the tap path.

References #5901.
2019-03-23 12:41:35 +00:00
Mike McQuaid
9f33a9b1be
brew.sh: improve Docker whitelist on Azure pipelines. 2019-03-23 12:38:55 +00:00
Mike McQuaid
891c67d509
Merge pull request #5903 from native-api/show_bottle_disabled
Add "bottle_disabled" to `brew info --json`
2019-03-23 11:36:14 +00:00
Daniel Blankenberg
d717358a32 In diagnostics, when directory is not writable, also hint to the user to set permissions. 2019-03-22 22:45:41 -04:00
Zach Auten
517083474a Removed cask_reason from missing_formula.reason
- It won't output anything during a failed 'brew install'
- There's a seperate call to MissingFormula.cask_reason
  when 'brew info' is executed on a cask.
2019-03-21 17:35:38 -04:00
Zach Auten
63a0aa92d1 Removed info_spec integration test and replaced with unit test in missing_formula_spec 2019-03-21 17:18:21 -04:00
Mike McQuaid
3e64641512
Merge pull request #5898 from MikeMcQuaid/no-autoupdate-no-params
brew.sh: don’t always autoupdate with no params.
2019-03-21 19:06:29 +00:00
Ivan Pozdeev
810ae4a45d Add bottle_disabled to brew info --json 2019-03-21 21:04:31 +03:00
Mike McQuaid
c9cdc2537f
brew.sh: don’t always autoupdate with no params.
Only `brew upgrade` and `brew cask upgrade` actually do anything if no additional parameters are specified. As a result, we don’t need to always update in those cases when we’re just showing help output anyway (as has been done for `brew tap`).
2019-03-21 18:04:14 +00:00
Mike McQuaid
373c0242fe
Merge pull request #5887 from kiendang/extract-all-taps
brew extract from all taps
2019-03-21 09:39:56 +00:00
dependabot[bot]
2254f225b3
Bump parser from 2.6.0.0 to 2.6.2.0 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.6.0.0 to 2.6.2.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/compare/v2.6.0.0...v2.6.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-20 23:11:34 +00:00
kiendang
028b8b408d Remove use of bash 2019-03-20 20:19:33 +08:00
Mike McQuaid
021468c8c0
bump-formula-pr: improve no formula output.
This means the help text will be output.
2019-03-20 11:33:11 +00:00
Mike McQuaid
fbaa0c35a6
bump-formula-pr: move auto-update to brew.sh
It’s always run anyway but this at least means Homebrew/brew and tap code is all up to date before we start querying any objects.

Fixes #5876.
2019-03-20 11:06:45 +00:00
Shaun Jackman
59ee097f8d fix_dynamic_linkage: Check HOMEBREW_RELOCATE_METAVARS
Only remove RPATH when HOMEBREW_RELOCATE_METAVARS is set.

See PR https://github.com/Homebrew/brew/pull/5413
2019-03-19 08:29:45 -07:00
Mike McQuaid
803ea4ed1a
tab#to_json: allow zero parameters. 2019-03-18 15:04:37 +00:00
Mike McQuaid
14dc7d6bb8
exceptions: fix RuboCop warning with present? 2019-03-18 14:30:58 +00:00
Mike McQuaid
b23f990175
Rubocop autofixes 2019-03-18 14:30:44 +00:00
Mike McQuaid
41e6131ade
brew vendor-gems: commit updates. 2019-03-18 14:28:30 +00:00
dependabot[bot]
68cc0301d6
Bump rubocop from 0.65.0 to 0.66.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.65.0 to 0.66.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.65.0...v0.66.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 09:29:44 +00:00