Mike McQuaid
f37b0bc987
Merge pull request #3980 from GauthamGoli/arg-parser-refactor
...
cli_parser: Add class method to make options declaration more readable
2018-03-25 13:57:59 +01:00
Mike McQuaid
58017511a8
style: add optional rubocop-rspec support.
...
It's really noisy and too pedantic for us to use now but I got it
working locally and used `--fix` to generate #3981 so let's add it as an
option for now.
2018-03-25 13:34:57 +01:00
Gautham Goli
ed387572ec
cli_parser: Add class method to make options declaration more readable
2018-03-25 18:02:29 +05:30
Mike McQuaid
5e1806e796
test: rubocop-rspec style auto-corrects.
...
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Mike McQuaid
ae2dbdba52
Merge pull request #3978 from tschoonj/libepoxy-whitelist
...
Add libepoxy to gnome_devel_whitelist
2018-03-25 12:55:38 +01:00
Tom Schoonjans
2019c289cb
Add libepoxy to gnome_devel_whitelist
2018-03-25 11:35:16 +01:00
Mike McQuaid
98f6f6b7d2
Merge pull request #3977 from MikeMcQuaid/no-duplicate-env
...
system_config: never display default_hash keys.
2018-03-25 10:06:32 +01:00
Mike McQuaid
ceed7a64ba
Merge pull request #3976 from GauthamGoli/tests-args
...
tests: Use Parser to parse args
2018-03-25 10:02:40 +01:00
Mike McQuaid
ee39940196
Merge pull request #3971 from GauthamGoli/irb-args
...
irb: Use Parser to parse args
2018-03-25 10:01:47 +01:00
Mike McQuaid
46e6b33d1b
Merge pull request #3967 from amancevice/s3-scheme
...
DownloadStrategyDetector recognizes s3 URL scheme
2018-03-25 10:01:31 +01:00
Mike McQuaid
11f315834e
system_config: never display default_hash keys.
...
Otherwise you can end up with duplicate outputs.
2018-03-25 09:43:39 +01:00
Gautham Goli
191e49511b
tests: Use Parser to parse args
2018-03-25 13:48:24 +05:30
Gautham Goli
99438e8e44
Parser: Add env named argument for switch to check environment variables
2018-03-25 11:04:18 +05:30
Alexander Mancevice
a096284d03
DownloadStrategyDetector recognizes s3 URL scheme
...
DownloadStrategyDetector now detects URLs with the s3:// prefix, e.g.:
s3://my-bucket/path/to/key/tarball.tar.gz
2018-03-24 17:34:51 -04:00
Mike McQuaid
63da230425
Merge pull request #3972 from GauthamGoli/man-args
...
man: Use Parser to parse args
2018-03-24 17:17:42 +00:00
Mike McQuaid
f39cfa9358
Merge pull request #3973 from MikeMcQuaid/dependencies-refactoring
...
Refactor dependencies usage
2018-03-24 17:17:13 +00:00
Mike McQuaid
592bafe24e
Refactor dependencies usage
...
Reuse more code to avoid errors due to duplication.
2018-03-24 16:55:16 +00:00
Gautham Goli
164f47a108
irb: Use Parser to parse args
2018-03-24 22:18:50 +05:30
Mike McQuaid
121780b417
Merge pull request #3970 from GauthamGoli/edit-args
...
edit: Use Parser to parse args
2018-03-24 16:21:10 +00:00
Mike McQuaid
08b2add372
Merge pull request #3969 from GauthamGoli/release-notes-args
...
release-notes: Use Parser to parse args
2018-03-24 16:20:47 +00:00
Mike McQuaid
824b814578
Merge pull request #3968 from amancevice/checksum-eq-defense
...
Defensive check for Checksum == nil
2018-03-24 16:20:29 +00:00
Gautham Goli
78b41b07f1
man: Use Parser to parse args
2018-03-24 21:26:16 +05:30
Gautham Goli
56fb2cb67c
edit: Use Parser to parse args
2018-03-24 19:38:34 +05:30
Gautham Goli
93481ab491
release-notes: Use Parser to parse args
2018-03-24 19:21:10 +05:30
Alexander Mancevice
58dd8f4770
Defensive check for Checksum == nil
...
Protects against NoMethodError when checking a Checksum instance with a bad 'other'
2018-03-24 09:04:51 -04:00
Ethan Edwards
06f7d7d696
Allow bottles to use any DownloadStrategy
2018-03-24 10:53:49 +00:00
commitay
2ec684a123
Merge pull request #3962 from commitay/cask-doctor
...
cask doctor: add homebrew_cask_opts
2018-03-23 20:29:00 +10:00
Mike McQuaid
5005e5f5d7
Merge pull request #3959 from MikeMcQuaid/system_config_boring_ruby_warnings
...
system_config: don't output HOMEBREW_RUBY_WARNINGS
2018-03-23 09:50:22 +00:00
commitay
9a25ea8ae0
cask doctor: add homebrew_cask_opts
2018-03-23 11:41:46 +10:00
Mike McQuaid
fce9d520e7
system_config: don't output HOMEBREW_RUBY_WARNINGS
...
It's set by default and the output is pretty obvious if changed.
2018-03-22 22:04:31 +00:00
Alexander Mancevice
9b457ec51e
Upgraded use of AWS Ruby SDK for S3
...
When S3DownloadStrategy is detected in DownloadStrategyDetector an attempt
is made to install & require the aws-sdk-s3 gem.
The AWS S3 SDK is used to sign the URL and handed off to curl_download.
2018-03-22 11:22:07 -04:00
Alexander Mancevice
57e1e16fc4
Added Homebrew.install_gem!
...
Useful when gem does not install with executable
2018-03-22 10:13:34 -04:00
Mike McQuaid
8307347987
Merge pull request #3943 from bukzor/clang-build-version
...
fix clang build version on Ubuntu Artful
2018-03-22 08:38:46 +00:00
Mike McQuaid
fc7fb60b72
system_config: use some puts for clang.
2018-03-22 08:26:26 +00:00
Buck Evan
8b27b84b4b
fix clang build version on Ubuntu Artful
...
Ported from https://github.com/Linuxbrew/brew/pull/621
2018-03-21 11:53:32 -07:00
Maxim Belkin
09eab0cc76
unrolling one-liner into two do/end blocks
2018-03-21 13:10:23 -05:00
Mike McQuaid
15f01bdd14
Merge pull request #3954 from MikeMcQuaid/cleanup-tab
...
tab: cleanup various methods.
2018-03-21 15:38:11 +00:00
Mike McQuaid
d9a51d924e
Merge pull request #3953 from MikeMcQuaid/cleanup-formula-hash
...
Formula#to_hash: cleanup method.
2018-03-21 15:37:01 +00:00
ilovezfs
85ebe88094
Merge pull request #3952 from Homebrew/revert-3911-misfeature
...
Revert "build: do not skip runtime deps of buildtime deps"
2018-03-21 07:05:43 -07:00
Mike McQuaid
f3fba8185e
tab: cleanup various methods.
...
Use some newer Ruby syntax and improve readability.
2018-03-21 12:42:48 +00:00
Mike McQuaid
eb31392b48
Formula#to_hash: cleanup method.
...
Use some newer Ruby functionality and avoid calling `deps` multiple
times when not necessary.
Additionally, remove the unneeded `rubocop:disable`.
2018-03-21 12:38:47 +00:00
Mike McQuaid
799a05c977
Merge pull request #3916 from claui/improve-file-extension-detection
...
Improve detection of file extensions in CurlDownloadStrategy
2018-03-21 12:37:52 +00:00
ilovezfs
e0a5284d7b
Revert "build: do not skip runtime deps of buildtime deps"
2018-03-21 05:30:51 -07:00
Mike McQuaid
8040c82e9e
Merge pull request #3610 from GauthamGoli/arg-parser
...
cli : Add basic arg parser and use it for parsing `brew audit` args
2018-03-21 08:56:38 +00:00
Mike McQuaid
42445dab9c
Merge pull request #3941 from bukzor/curl-crash
...
fix: crash when curl is not installed
2018-03-21 08:38:56 +00:00
Markus Reiter
2876aad217
Fix MethodDeprecatedError
output.
2018-03-21 05:42:23 +01:00
commitay
540f1545c3
Merge pull request #3886 from commitay/java-10
...
java_requirement, cask dsl caveats: java 10
2018-03-21 09:00:24 +10:00
Maxim Belkin
0513d9de5c
display_items: handle nil keys
2018-03-20 12:30:14 -05:00
Maxim Belkin
81042c63fb
dylib_to_dep: use Regexp
2018-03-20 10:06:52 -05:00
Markus Reiter
3cd5ae860f
Merge pull request #3821 from rednoah/master
...
Fix broken support GPG containers with embedded signatures
2018-03-20 16:00:29 +01:00