Mike McQuaid
08ab1672cc
Merge pull request #6049 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.10.3
...
[Security] Bump nokogiri from 1.10.2 to 1.10.3 in /Library/Homebrew
2019-04-22 13:01:33 -07:00
dependabot[bot]
d23f324acb
[Security] Bump nokogiri from 1.10.2 to 1.10.3 in /Library/Homebrew
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.10.2 to 1.10.3. **This update includes security fixes.**
- [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.2...v1.10.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 18:18:00 +00:00
dependabot[bot]
39d62762eb
Bump unf_ext from 0.0.7.5 to 0.0.7.6 in /Library/Homebrew
...
Bumps [unf_ext](https://github.com/knu/ruby-unf_ext ) from 0.0.7.5 to 0.0.7.6.
- [Release notes](https://github.com/knu/ruby-unf_ext/releases )
- [Changelog](https://github.com/knu/ruby-unf_ext/blob/master/CHANGELOG.md )
- [Commits](https://github.com/knu/ruby-unf_ext/compare/v0.0.7.5...v0.0.7.6 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 06:36:22 +00:00
dependabot[bot]
3ffc01175f
Bump rspec-expectations from 3.8.2 to 3.8.3 in /Library/Homebrew
...
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations ) from 3.8.2 to 3.8.3.
- [Release notes](https://github.com/rspec/rspec-expectations/releases )
- [Changelog](https://github.com/rspec/rspec-expectations/blob/master/Changelog.md )
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.8.2...v3.8.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 06:35:49 +00:00
Markus Reiter
cf73363312
Merge pull request #6044 from reitermarkus/compat
...
Add `*_to_slashes` methods to `compat`.
2019-04-21 02:24:37 +02:00
Markus Reiter
ce15622584
Add *_to_slashes
methods to compat
.
2019-04-20 23:58:48 +02:00
Mike McQuaid
58e57f2d49
config: don't show HOMEBREW_DISPLAY.
...
This is set by XQuartz and not needed information for us.
2019-04-20 16:22:10 +09:00
Mike McQuaid
fc6bd2ea1c
Fixup more frozen string handling.
2019-04-20 14:07:29 +09:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
f76b083b91
Use FrozenStringLiteralComment instead of flag.
...
Unfortunately we cannot use `--frozen-string-literal` with Ruby 2.3 due
to https://bugs.ruby-lang.org/issues/12031 and our usage of ERB.
2019-04-20 13:25:33 +09:00
Mike McQuaid
e68fc530c0
Merge pull request #6040 from claui/endorse-adoptopenjdk
...
Endorse AdoptOpenJDK instead of Oracle OpenJDK
2019-04-20 13:14:26 +09:00
Mike McQuaid
efa60e499d
Merge pull request #6039 from MikeMcQuaid/freeze-mutable-objects
...
Freeze more mutable constants.
2019-04-20 08:26:07 +09:00
Claudia
f155ede7fb
Endorse AdoptOpenJDK instead of Oracle OpenJDK
...
This commit changes the message that appears when Homebrew detects
that a Java requirement is unmet.
The new message will say:
```
Install AdoptOpenJDK with Homebrew Cask:
brew cask install adoptopenjdk
```
And for Java 8:
```
Install AdoptOpenJDK 8 with Homebrew Cask:
brew cask install homebrew/cask-versions/adoptopenjdk8
```
2019-04-19 18:00:31 +02:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations.
2019-04-19 21:46:20 +09:00
Mike McQuaid
420e63ebcd
Freeze more mutable constants.
...
This rule adjustment is experimental in RuboCop as it may double-freeze
objects but this isn't an error (and freezing too much is better than
too little).
2019-04-19 18:08:05 +09:00
Mike McQuaid
d42f562d45
Merge pull request #6038 from GauthamGoli/extract-args-fix
...
extract: Replace ARGV.named with args.remaining
2019-04-19 17:40:55 +09:00
Gautham Goli
8374c3713a
extract: Replace ARGV.named with args.remaining
2019-04-19 13:13:43 +05:30
Mike McQuaid
7706e225a9
Merge pull request #6037 from MikeMcQuaid/test-improve-timeout-handling
...
test: kill all subprocesses on timeout.
2019-04-19 15:43:12 +09:00
Mike McQuaid
4b369962d3
test: kill all subprocesses on timeout.
...
Fixes #5885 .
2019-04-19 14:42:26 +09:00
Mike McQuaid
8f5be03cb8
Merge pull request #6029 from MikeMcQuaid/frozen-string-literal
...
Enable/fix optional Ruby frozen string literal usage
2019-04-19 13:25:43 +09:00
Mike McQuaid
8fdd278cd3
Merge pull request #6031 from iMichka/sudo3
...
brew: remove sudo call only in docker context
2019-04-19 10:32:22 +09:00
Mike McQuaid
86f43f79ee
Enable/fix optional Ruby frozen string literal usage
...
Combined with https://github.com/Homebrew/homebrew-test-bot/pull/247
this will test Homebrew's use of frozen strings in CI. After this we
will then enable it for Homebrew developers and eventually all Homebrew
users.
2019-04-19 10:30:41 +09:00
Mike McQuaid
513dfa20f6
Merge pull request #6032 from MikeMcQuaid/disable-gems
...
Disable RubyGems by default.
2019-04-19 10:14:07 +09:00
Mike McQuaid
7ab5fef7f2
brew.rb: remove unless ||.
2019-04-19 10:12:03 +09:00
Michka Popoff
49aad7ddb3
brew: remove sudo call only in docker context
...
Follow up from #6018
2019-04-18 17:16:05 +02:00
Mike McQuaid
892d0ac5fe
style: don’t run shellcheck on specified ruby file.
2019-04-18 21:42:42 +09:00
Mike McQuaid
9e7b98d3e2
Don't check system Ruby is new enough when unnecessary.
...
We know this is the case in macOS >=10.13.3 so save a Ruby process call.
2019-04-18 21:42:28 +09:00
Mike McQuaid
ef2e297d3b
Disable RubyGems by default.
...
This speeds up all Ruby invocations where we don't need RubyGems by
around 10%. Where we do need RubyGems: include it manually.
2019-04-18 17:45:03 +09:00
Mike McQuaid
640234caa1
Merge pull request #6030 from MikeMcQuaid/ruby-no-threads
...
Remove usage of Thread.new
2019-04-18 16:03:18 +09:00
Mike McQuaid
7fbfb02625
Remove usage of Thread.new
...
I benchmarked these both locally and neither use of `Thread.new`
provides any measurable speedup (and in the `readall` case appears to
slow things down) on my 8 core machine.
2019-04-18 14:46:40 +09:00
Mike McQuaid
1aaffda62f
Merge pull request #6027 from vitorgalvao/remove_to_slashes
...
hbc: remove all *_to_slashes
2019-04-18 11:59:10 +09:00
Mike McQuaid
4ad8d7608e
Merge pull request #6021 from MikeMcQuaid/argv-cleanup
...
Update ARGV and CLI parsing
2019-04-17 21:51:27 +01:00
Michka Popoff
f35f17ccf4
Merge pull request #6018 from iMichka/sudo2
...
brew: remove sudo call
2019-04-17 20:50:06 +02:00
Vítor Galvão
0ee226769a
hbc: remove all *_to_slashes
2019-04-17 16:31:35 +01:00
Mike McQuaid
ae63381bd9
cli/parser: use cli/args and tweak freeze behaviour.
2019-04-17 22:16:58 +09:00
Mike McQuaid
e9806b6b55
cli/args: add class to handle arguments.
2019-04-17 22:16:58 +09:00
Mike McQuaid
34a8ab74af
global: provide unpatched ARGV.
2019-04-17 22:16:58 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
b5b24be48a
Merge pull request #6024 from MikeMcQuaid/no-cleanup-periodic-file
...
cleanup: don’t cleanup periodic clean file.
2019-04-17 13:48:22 +01:00
Mike McQuaid
18630c7032
extend/ARGV: remove unused methods.
2019-04-17 21:08:26 +09:00
Mike McQuaid
0b272ad26e
cleanup: don’t cleanup periodic clean file.
...
Cleaning up this file means that cleanup will run again prematurely.
2019-04-17 21:06:47 +09:00
Mike McQuaid
4d6de005d8
Merge pull request #6025 from MikeMcQuaid/release-notes-stderr
...
release-notes: use stderr for header output.
2019-04-17 13:04:39 +01:00
Mike McQuaid
f6337c543a
Merge pull request #6023 from MikeMcQuaid/config-no-default-logs
...
system_config: don’t output default HOMEBREW_LOGS.
2019-04-17 13:04:29 +01:00
Mike McQuaid
a4a198a6ec
Merge pull request #6022 from MikeMcQuaid/cask-info-spec-network
...
cask/cmd/info_spec: needs network connection.
2019-04-17 13:04:16 +01:00
Mike McQuaid
8229e592d7
cask/cmd/info_spec: needs network connection.
...
Tag it accordingly.
2019-04-17 17:34:33 +09:00
Mike McQuaid
b03558e296
system_config: don’t output default HOMEBREW_LOGS.
...
This cuts down a bit on noise. While we’re here, optimise the checks too.
2019-04-17 17:02:33 +09:00
Mike McQuaid
888c384801
release-notes: use stderr for header output.
...
This makes the use of `brew release-notes | pbcopy` a bit easier.
2019-04-17 17:00:24 +09:00
Michka Popoff
1c016ecee7
brew: remove sudo call
...
except for "brew services" command
2019-04-16 20:35:41 +02:00
Jonathan Chang
b4f73e6164
Merge pull request #6016 from jonchang/update-policy
...
docs: update Acceptable Formula for options/guis
2.1.1
2019-04-15 20:06:28 +10:00
Claudia Pellegrino
eeecb62568
Update docs/Acceptable-Formulae.md
...
Co-Authored-By: jonchang <jchang641@gmail.com>
2019-04-15 18:58:18 +10:00