2812 Commits

Author SHA1 Message Date
Shaun Jackman
e8b22690a0 Fix Language::Java::java_home_env for Linux
/usr/libexec/java_home is specific to macOS.
Language::Java::java_home_cmd is not implemented on Linux and raises
NotImplementedError.

Add private Language::Java::java_home_shell and use it instead of java_home_cmd.
Add public Language::Java::java_home for use by formulae.
2018-11-29 12:50:31 -08:00
Claudia
5be80a78f6
Use Homebrew-controlled domain for Cask dummy URLs
In a number of Cask specs, the value of the `homepage` stanza is currently set
to https://example.com. As of 2018-11-28, the TLS certificate served by
example.com seems to be expired, possibly due to an oversight on ICANN’s side.

While the certificate is certainly going to be renewed soon, it would be
desirable for Homebrew’s test result to be less dependent on ICANN’s actions.
This commit changes the homepages of all test Casks to http://brew.sh, whose
domain and TLS certificate are both controlled by Homebrew.
2018-11-28 20:51:55 +01:00
Mike McQuaid
2562d270b5
Merge pull request #5033 from amyspark/gitjiro-improved
Cask: complete Git-Jiro's HTTPS audit check
2018-11-24 11:43:09 +00:00
L. E. Segovia
5a2743b50d
Merge branch 'master' into gitjiro-improved 2018-11-24 01:01:40 +00:00
Markus Reiter
158a34bdad
Merge pull request #5316 from reitermarkus/rubocop
Deduplicate RuboCop config.
2018-11-23 00:20:19 +01:00
Mike McQuaid
1365010f93
Merge pull request #5280 from apjanke/fix-java-req-version-parsing
JavaRequirement: fix version parsing to handle Java 9 and higher
2018-11-19 14:03:10 +00:00
dependabot[bot]
d161b74fbd
Bump codecov from 0.1.13 to 0.1.14 in /Library/Homebrew/test
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.1.13 to 0.1.14.
- [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.1.13...v0.1.14)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-13 22:45:31 +00:00
Markus Reiter
cea9942a1d Fix code style. 2018-11-13 05:04:35 +01:00
Markus Reiter
04908dcb19 Fix RuboCop for Casks. 2018-11-12 05:01:33 +01:00
dependabot[bot]
cd2f95549d
Bump parallel_tests from 2.26.2 to 2.27.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.26.2 to 2.27.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.26.2...v2.27.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-09 22:02:18 +00:00
Andrew Janke
e1e40a4b1a JavaRequirement: fix version parsing to handle Java 9 and higher 2018-11-08 22:48:17 -05:00
Mike McQuaid
109e974c38
Cleanup rubocop-cask references. 2018-11-08 15:54:47 +00:00
Mike McQuaid
491ceb6c4c
Import rubocop-cask (with clean brew style) 2018-11-08 15:54:46 +00:00
Mike McQuaid
376eac2b8d
rubocops: rename files for consistency.
Make the filenames consistent with the class names.
2018-11-08 14:42:55 +00:00
Markus Reiter
f289d59b0e
Merge pull request #5247 from reitermarkus/quit
Improve application quitting.
2018-11-08 15:10:28 +01:00
Claudia
35b8c3d6e2
Increase timeout tolerance.
Co-Authored-By: reitermarkus <me@reitermark.us>
2018-11-07 21:13:12 +01:00
Markus Reiter
785ffb1b2c Refactor tests for uninstall stanza. 2018-11-07 18:44:52 +01:00
Markus Reiter
f61b963744 Improve application quitting. 2018-11-07 18:44:52 +01:00
Gautham Goli
2736aed1fd
reinstall: Use CLI::Parser to parse args 2018-11-07 22:33:32 +05:30
Mike McQuaid
6b1d439a87
Merge pull request #5165 from Wojonatior/feature/homebrew_install_cleanup
Implement the HOMEBREW_INSTALL_CLEANUP env to trigger cleanup on reinstall/install/upgrade
2018-11-06 10:29:42 +00:00
Claudia
7b320fc03b
Move shared Cask examples closer to its clients
In Cask specs, we have recently introduced a couple of specialized
`shared_examples` directories. Those new directories are organized
below their respective packages (for instance,
`cask/artifact/shared_examples` and `cask/cmd/shared_examples`).

This commit moves the rest of the shared examples accordingly.

See also:
https://github.com/Homebrew/brew/pull/5247
2018-11-06 07:19:41 +01:00
Markus Reiter
20f5dfef73 Update Gemfile.lock. 2018-11-04 17:31:03 +01:00
Mike McQuaid
549b02f20a
Manual brew style fixes. 2018-11-02 17:29:26 +00:00
Mike McQuaid
737b84b54b
brew style --fix fixes. 2018-11-02 17:29:23 +00:00
Markus Reiter
3dbbcd11cc Remove unused test cask. 2018-11-01 19:46:58 +01:00
Mike McQuaid
cbb2e1b3dd
Merge pull request #5206 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.26.2
Bump parallel_tests from 2.26.0 to 2.26.2 in /Library/Homebrew/test
2018-10-30 13:23:12 +00:00
Steven Peters
7116b74705 dev-cmd/bottle: require arg for --root-url 2018-10-29 14:54:37 -07:00
dependabot[bot]
6d9143fab5
Bump parallel_tests from 2.26.0 to 2.26.2 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.26.0 to 2.26.2.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.26.0...v2.26.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 17:28:23 +00:00
Jarek Wojciechowski
452d1db109 Merge branch 'master' into feature/homebrew_install_cleanup 2018-10-29 11:24:56 -04:00
Jarek Wojciechowski
51ca60d6d5 add formula cleanup to install and reinstall 2018-10-29 11:23:32 -04:00
Mike McQuaid
18bac4fa5d
Merge pull request #5204 from GauthamGoli/immutable-args
cli_parser: Make Homebrew.args immutable once CLI args have been processed
2018-10-29 13:39:58 +00:00
dependabot[bot]
8978ce778b
Bump parser from 2.5.1.2 to 2.5.3.0 in /Library/Homebrew/test
Bumps [parser](https://github.com/whitequark/parser) from 2.5.1.2 to 2.5.3.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.5.1.2...v2.5.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 06:56:48 +00:00
Gautham Goli
6d3aa18f6a
cli_parser: Make Homebrew.args immutable once CLI arguments have been processed 2018-10-29 02:31:57 +05:30
commitay
cbae07cd0f options_cop: make audits non-strict 2018-10-27 22:20:17 +10:00
Mike McQuaid
987546148d
Merge pull request #5186 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.26.0
Bump parallel_tests from 2.25.0 to 2.26.0 in /Library/Homebrew/test
2018-10-26 15:41:09 +01:00
Mike McQuaid
2911e74624
Merge pull request #5184 from GauthamGoli/short-flag-options
cli_parser: Add support for short flag options
2018-10-26 15:38:12 +01:00
dependabot[bot]
aa59c16947
Bump parallel_tests from 2.25.0 to 2.26.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.25.0 to 2.26.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.25.0...v2.26.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-26 01:35:07 +00:00
Shaun Jackman
b1a4ed04c4
Merge pull request #5180 from sjackman/needs-svn
test/spec_helper: Fix :needs_svn
2018-10-25 14:15:42 -07:00
Gautham Goli
f7ec07680c
cli_parser: Add support for short flag options 2018-10-25 21:43:49 +05:30
Shaun Jackman
a7ad7eee78 test/spec_helper: Fix :needs_svn
which("svn") detects shims/scm/svn even when svn is not installed.
2018-10-25 08:54:23 -07:00
dependabot[bot]
6b33c786dc
Bump parallel_tests from 2.24.0 to 2.25.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.24.0...v2.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-25 06:09:15 +00:00
Gautham Goli
e32da937a6
cli_parser: Add custom description support for global switches 2018-10-24 17:27:31 +05:30
Jarek Wojciechowski
18f8adbd5c test and add HOMEBREW_INSTALL_CLEANUP to upgrade 2018-10-23 15:46:07 -04:00
Shaun Jackman
97a2c620a2
Merge pull request #5018 from sjackman/relocation-formulae
relocation_formulae: Poured bottles depend on gcc [Linux]
2018-10-23 11:15:42 -07:00
Shaun Jackman
605e61095a relocation_formulae: Poured bottles depend on gcc [Linux] 2018-10-23 09:03:20 -07:00
Viktor Szakats
44578adfdb audit: use debian canonical mirror 2018-10-23 15:52:00 +00:00
dependabot[bot]
30ed316bb0
Bump parallel_tests from 2.23.0 to 2.24.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.23.0...v2.24.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 03:25:31 +00:00
Mike McQuaid
57968a29a5
Merge pull request #5106 from MikeMcQuaid/vendor-rubocop-rspec
Vendor rubocop-rspec
2018-10-20 12:43:00 +01:00
Mike McQuaid
864be6d82f
Merge pull request #5105 from MikeMcQuaid/brew-info-verbose-analytics-table
info: make verbose analytics use tabular output.
2018-10-20 12:34:40 +01:00
Mike McQuaid
99749cbe9c
Merge pull request #5101 from MikeMcQuaid/requirements_cleanup
Cleanup Requirements
2018-10-20 12:13:26 +01:00