14311 Commits

Author SHA1 Message Date
Mike McQuaid
6119c78c5c
Cleanup other vendored gems.
Exclude subdirectories and specific files. This makes adding/removing files on newly vendored versions much easier.
2018-12-17 13:27:41 +00:00
Mike McQuaid
1903a8bfb0
vendor/bundle/config: always cleanup. 2018-12-17 13:27:41 +00:00
Mike McQuaid
5fb9c255a5
i18n: vendor gem. 2018-12-17 13:27:40 +00:00
dependabot[bot]
aaabb81fea
Bump i18n from 1.1.1 to 1.2.0 in /Library/Homebrew/vendor
Bumps [i18n](https://github.com/svenfuchs/i18n) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/svenfuchs/i18n/releases)
- [Changelog](https://github.com/svenfuchs/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.1.1...v1.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-17 06:00:51 +00:00
Mike McQuaid
92fdcae23b
Vendor concurrent-ruby-1.1.4. 2018-12-16 12:16:58 +00:00
dependabot[bot]
e3c2ad3812
Bump concurrent-ruby from 1.1.3 to 1.1.4 in /Library/Homebrew/vendor
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.3 to 1.1.4.
- [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.3...v1.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-15 19:28:18 +00:00
Bryce Glover
33c3faa125 [JavaRequirement#satisfies_version] java_version_s: Fix regular expression.
The match obtained by applying the regular expression used to index into
the `stderr` member of the result of calling `system_command` in the relevant
variable assignment could yield unexpected results.  The regular expression in-
volved was not strict enough and contained an unescaped period, which could
match any character, not just the expected literal decimal point.  This commit
corrects this oversight by escaping the relevant character, thus addressing
@apjanke's remark in https://github.com/Homebrew/brew/pull/5280#issuecomment-437165119 on the existence of a:

> …possible bug - that `.` looks like it should be escaped as `\.` to match a
> literal ".".) …
2018-12-14 13:45:55 -05:00
Mike McQuaid
a4eaae367b
Merge pull request #5401 from vitorgalvao/cask-audit-homepage
Cask: use browser user agent when checking for homepage HTTPS availability
2018-12-14 15:02:56 +00:00
Shaun Jackman
d75f5dacfa test: Fix ENV.cxx11
ENV.cxx11 in a test block fails on Linux with
Error: ibex: failed
An exception occurred within a child process:
NoMethodError: undefined method `non_apple_gcc_version'
See for example brew test ibex on Linux.
2018-12-13 15:46:12 -08:00
Vítor Galvão
b33d29f49a Cask: use browser UA when checking for homepage HTTPS availability 2018-12-13 15:24:40 +00:00
Shaun Jackman
f59c417909 test/cmd/uninstall: Prevent can't modify frozen object
Fix the error:
  RuntimeError:
    can't modify frozen object
  # ./test/cmd/uninstall_spec.rb:63:in `block (3 levels) in <top (required)>'

This issue arose after merging PR https://github.com/Homebrew/brew/pull/5300.
2018-12-12 11:52:28 -08:00
Chongyu Zhu
6f8d81e780
GitDownloadStrategy: disable automatic tag following 2018-12-12 19:42:12 +08:00
Gautham Goli
cffa796634
cleanup: Use CLI::Parser to parse args 2018-12-12 02:02:19 +05:30
Mike McQuaid
dbc43a7a2b
Merge pull request #5300 from GauthamGoli/uninstall-args
uninstall: Use CLI::Parser to parse args
2018-12-11 08:49:22 +00:00
Mike McQuaid
454b7e93ae
Merge pull request #5393 from sjackman/superenv
shims/super/cc: Add HOMEBREW_CACHE to white list
2018-12-11 08:48:23 +00:00
Gautham Goli
78b2b7fac0
Merge pull request #5270 from GauthamGoli/info-args
info: Use CLI::Parser to parse args
2018-12-11 11:10:18 +05:30
Shaun Jackman
b40849421c shims/super/cc: Add HOMEBREW_CACHE to white list
Compiling rust projects requires -I$HOMEBREW_CACHE/cargo_cache/...
2018-12-10 12:33:54 -08:00
Shaun Jackman
8461cf24f1 rubocop: Use include? rather than match 2018-12-10 10:23:39 -08:00
Gautham Goli
f82a202995
uninstall: Use CLI::Parser to parse args 2018-12-10 23:49:19 +05:30
Gautham Goli
3b808c43cc
info: Use CLI::Parser to parse args 2018-12-10 23:22:13 +05:30
Mike McQuaid
f15f665b98
audit: ensure postgresql previous version exists.
This will avoid https://github.com/Homebrew/homebrew-core/issues/34879
in future.
2018-12-09 19:31:19 +00:00
Mike McQuaid
38493a35a2
Merge pull request #5373 from EricFromCanada/man-page-text
docs: update other man page sections
2018-12-07 15:00:49 +00:00
Mike McQuaid
ab0b2304f7
audit: allow {open,libre}ssl@* to use :provided_by_macos. 2018-12-07 10:27:17 +00:00
Mike McQuaid
2a346241c2
link: prevent :provided_by_macos links everywhere.
We've not seen complaints about these and they are the default behaviour
on High Sierra and Mojave so it's easier to apply them consistently
everywhere.
2018-12-06 13:59:28 +00:00
Mike McQuaid
864a6b53d3
Merge pull request #5381 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.61.1
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/test
2018-12-06 08:59:02 +00:00
dependabot[bot]
45dc521de7
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.0 to 0.61.1.
- [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.0...v0.61.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 08:21:00 +00:00
dependabot[bot]
e73d307915
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/vendor
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.0 to 0.61.1.
- [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.0...v0.61.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 08:20:40 +00:00
Mike McQuaid
db6bdf4375
Merge pull request #5371 from vitorgalvao/remove-cask-sha256-only-check
Cask: Remove check on sha-only change
2018-12-05 20:59:17 +01:00
Mike McQuaid
a6b5f7f7e1
Merge pull request #5378 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.61.0
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/vendor
2018-12-05 17:55:09 +01:00
Mike McQuaid
2d2b86ba84
Merge pull request #5377 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.61.0
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/test
2018-12-05 17:54:57 +01:00
Mike McQuaid
6930af0634
Merge remote-tracking branch 'origin/master' into dependabot/bundler/Library/Homebrew/vendor/rubocop-0.61.0 2018-12-05 16:33:15 +00:00
Mike McQuaid
9347c0272a
Vendor concurrent-ruby 1.1.3. 2018-12-05 16:32:24 +00:00
dependabot[bot]
2110641b4c
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/vendor
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.60.0 to 0.61.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.60.0...v0.61.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-05 12:44:28 +00:00
dependabot[bot]
1d46a5cee3
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.60.0 to 0.61.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.60.0...v0.61.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-05 12:44:21 +00:00
Markus Reiter
bcf8cfc97c Remove atomic_write workaround. 2018-12-05 02:09:20 +01:00
Markus Reiter
7129a4852a Update activesupport to 5.2.2. 2018-12-05 02:09:20 +01:00
Markus Reiter
26e7820943 Update concurrent-ruby to 1.1.3. 2018-12-05 02:09:20 +01:00
Shaun Jackman
81021e6a60
Merge pull request #5365 from iMichka/bottle
brew bottle --keep-old: Combining :any and :any_skip_relocation yields :any
2018-12-04 08:56:14 -08:00
EricFromCanada
799086f548 docs: update man page text 2018-12-04 10:47:38 -05:00
Michka Popoff
af92fe2f17 bottle: Fix bottling for Linux
When there is no previous linux bottle, and the bottle block looks like this:
bottle do
  sha256 "5cbcce4556b41ece91f01778068f481514bc3a0d5447ddbff048797236cc9b29" => :mojave
  sha256 "15748ef1ffefa088f7c958e6935c6eec794781858e6190196e18e94ab768adc2" => :high_sierra
  sha256 "49eb0e5d27b8868b2dba20efbde3ef75becc0cbf5ea230c00e5745e2df697cb6" => :sierra
end

then the bottling fails with:
Error: --keep-old was passed but there are changes in:
cellar: old: "/home/linuxbrew/.linuxbrew/Cellar", new: :any_skip_relocation
==> FAILED

This change allows to run the bottling step for these cases.
2018-12-03 23:34:26 +01:00
Vítor Galvão
dff0320f8c Cask: Remove check on sha-only change 2018-12-03 17:13:09 +00:00
Shaun Jackman
79b1d4178e bottle: Ignore matches to source code
Ignore matches to source code, which is not required at run time.
These matches may be caused by debugging symbols.
2018-12-03 08:22:29 -08:00
Shaun Jackman
704e8570e5
Merge pull request #5366 from sjackman/bottle
bottle: Skip matches to files in build deps
2018-12-03 08:00:24 -08:00
Shaun Jackman
6d90c81a79 Add shims/super/gcc-8 and shims/super/g++-8 2018-12-02 14:13:24 -08:00
Shaun Jackman
cbeb077b2e bottle: Skip matches to files in build deps
Files in build dependencies are not required at run time.
2018-12-02 13:29:43 -08:00
Bryce Glover
387fb2fde0 man: Mention neither HOMEBREW_DEBUG_INSTALL nor HOMEBREW_DEBUG_PREFIX any
more.

     `brew`'s `man` page's 'ENVIRONMENT' section is intended to list only those
environment variables that users can set, not any that Homebrew sets as part of
its operation.
2018-11-30 13:00:10 -05:00
Shaun Jackman
c79deae996
Merge pull request #5333 from sjackman/java-home
Fix Language::Java::java_home_cmd for Linux
2018-11-30 08:10:47 -08:00
Mike McQuaid
5758c93667
Merge pull request #5358 from MikeMcQuaid/diagnostic-xcode-prefix
os/mac/diagnostic: output non-default Xcode prefix.
2018-11-30 16:27:03 +01:00
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