Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
0d54978ba8
Merge pull request #6036 from MikeMcQuaid/enable-frozen-string-literal
...
Use FrozenStringLiteralComment instead of flag.
2019-04-22 13:07:08 -07:00
Markus Reiter
ce15622584
Add *_to_slashes
methods to compat
.
2019-04-20 23:58:48 +02: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
d1ea6f38d3
Fix mutable constants violations.
2019-04-19 21:46:20 +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
1281c4a663
Merge pull request #5983 from zachauten/continue-upgrading-casks-after-failure
...
'brew cask upgrade' will continue upgrading casks after a failure
2019-04-14 10:01:32 +01:00
Mike McQuaid
3b842ef41f
Merge pull request #6014 from vitorgalvao/caskroom-home
...
cask home: update to brew.sh
2019-04-14 10:00:15 +01:00
EricFromCanada
15c38a2d8b
formatting fixes
2019-04-13 21:29:32 -04:00
EricFromCanada
fa6404e0f5
grammar fixes
2019-04-13 21:29:32 -04:00
Vítor Galvão
67ca3d372a
cask home cmd: update homepage to brew.sh
2019-04-13 19:47:14 +01:00
Zach Auten
41b5b788d5
'brew cask upgrade' will continue upgrading casks after a failure
...
'cask upgrade' command collects all exceptions thrown
from individual casks during the upgrade process. If
there were more than one cask that raised exceptions
during the upgrade process, a MultipleCaskErrors
exception will be thrown.
Issue #5203
2019-04-12 19:26:33 -04:00
Carlos Eduardo
f9a67019d6
Improve error message on cask doctor
...
Add fix command on brew cask doctor in case staging directory is not writable.
2019-04-09 13:08:06 -03:00
Michael
7ac157703f
change ' to " to allow
2019-04-06 09:30:59 +01:00
Zach Auten
e9b17b8593
Replaced 'unless nil' with 'if'
2019-03-16 12:59:15 -04:00
Zach Auten
75b9eec7ef
Renamed print_caveats, updated an info_spec test to macos only
2019-03-11 21:20:02 -04:00
Zach Auten
18a20986e7
Addressed style issues
2019-03-06 18:06:50 -05:00
Zach Auten
dd4daa247f
Merge branch 'master' of https://github.com/Homebrew/brew into brew-info-display-casks
2019-03-06 17:56:22 -05:00
Zach Auten
fe643758d7
Updated get_info
...
- get_info builds info string by appending helper functions
- removed unnecessary returns
- fixed indentation in missing_formula
- reduced size of regex in info_spec
- missing_formula will indicate when it finds a cask with same name
2019-03-06 00:27:48 -05:00
Zach Auten
330ae8c6fa
print_caveats and get_info return heredocs
2019-02-24 21:53:04 -05:00
Zach Auten
ed80b60834
Fixed installation info output and imports
2019-02-21 21:08:57 -05:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause.
2019-02-21 12:55:49 +00:00
Zach Auten
554106d2e0
Updated missing formula cask reason
...
- search_for_cask in missing_formula renamed to is_a_cask_reason
- is_a_cask calls new getInfo method in cask/cmd/info.rb to return info
string
- self.info in info.rb now calls getInfo and puts return value
- added ohai_title to return the ohai printout for only titles, so that
ohai printout could be added to the getInfo return string without
calling puts.
- refactored ohai to use ohai_title
- updated info_spec.rb cask info test to be more specific when
matching stderr.
- is_a_cask_reason will respect 'silent'
- refactored print_caveats to return instead of print
2019-02-18 03:33:57 -05:00
Markus Reiter
713453cc2f
Merge pull request #5745 from reitermarkus/cask-edit
...
Allow editing broken casks.
2019-02-16 10:20:56 +01:00
Markus Reiter
5536432c4f
Allow editing broken casks.
2019-02-15 22:05:28 +01:00
Markus Reiter
cd03c0f86d
Retry merging once after 5 seconds.
2019-02-15 19:48:12 +01:00
Markus Reiter
68e0c5f904
Check for write access instead of HOMEBREW_DEVELOPER
.
2019-02-15 16:27:37 +01:00
Markus Reiter
57fefff942
Add brew cask automerge
command.
2019-02-15 16:27:37 +01:00
Markus Reiter
190ff7558a
Use saved cask config for reinstall/upgrade/uninstall.
2019-02-15 10:09:14 +01:00
Mike McQuaid
efc3c0c4c0
Use bundle install
in more places.
...
This provides a more consistent version for `rubocop` than relying on
`Homebrew.install_gem_setup_path!` (and we really want `brew style` to
provide consistent output).
2019-01-08 15:08:21 +00:00
Markus Reiter
04908dcb19
Fix RuboCop for Casks.
2018-11-12 05:01:33 +01:00
Mike McQuaid
109e974c38
Cleanup rubocop-cask references.
2018-11-08 15:54:47 +00:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
EricFromCanada
20167e5f1b
Adjust comments to tidy API docs output.
2018-10-18 21:42:43 -04:00
Markus Reiter
a838b372de
Fix brew cask style
with relative paths.
2018-10-17 13:51:51 +02:00
Markus Reiter
8aab6dc03d
Run rubocop
in temporary directory to skip reading parent config.
2018-10-16 14:55:00 +02:00
Markus Reiter
711bb4977f
Merge pull request #5056 from reitermarkus/accessibility_access
...
Remove the `accessibility_access` stanza.
2018-10-08 18:24:18 +02:00
Markus Reiter
16618d0fc7
Use ActiveSupport’s #pluralize
and #to_sentence
.
2018-10-07 23:10:56 +02:00
Markus Reiter
59e3a532ff
Remove the accessibility_access
stanza.
2018-10-07 21:53:31 +02:00
L. E. Segovia
6d7e49b02b
Cask: check if xattr works before quarantining
...
Fixes Homebrew/homebrew-cask#52128 .
2018-09-26 20:55:54 +00:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Markus Reiter
dfb6ada805
Merge pull request #4902 from MikeMcQuaid/active-support-blank
...
Use ActiveSupport Object#blank? and #present?
2018-09-16 20:02:00 +02:00
Mike McQuaid
955214abc0
Use ActiveSupport Object#blank? and #present?
2018-09-14 17:02:19 +01:00
L. E. Segovia
123dda09f0
Cask: constrain quarantine support status
...
Quarantine is available ONLY if the script exits with '2'.
It is definitely NOT available if Swift doesn't exist or if
it exits with '5' (incompatible SDK). All other cases are
from now on treated as unsupported.
Also print to standard error only when explictly required (via an
exception).
2018-09-14 15:48:16 +00:00
Eric Mark Martin
c62d2e6918
Cask: rename block argument f -> cask
2018-09-09 13:37:42 -04:00
Eric Mark Martin
28061369dc
Cask: show previous verison in cask upgrade
2018-09-09 00:47:31 -04:00
Mike McQuaid
132aa14320
Merge pull request #4838 from reitermarkus/cask-module
...
Rename `Hbc` module to `Cask`.
2018-09-06 09:15:44 +01:00
Mike McQuaid
0770e0bb67
Merge pull request #4814 from zdcthomas/upgrade_greedy_verbose_response
...
removes auto updates warning if greedy flag is included
2018-09-06 09:07:59 +01:00
Mike McQuaid
11ac4db05e
Merge pull request #4796 from amyspark/quarantine-swift-clt
...
Cask: check that the tools for quarantining are available
2018-09-06 08:56:04 +01:00