Seeker
f476bcafcb
upgrade: show formula caveats after casks have been updated
2021-01-11 11:43:11 -08:00
Seeker
b9854bd4cf
rubocops: add unless_multiple_conditions
2021-01-08 10:33:54 -08:00
Markus Reiter
3ee66d8c0d
Add type annotations related to upgrade.
2020-11-16 19:45:15 +01:00
Markus Reiter
7893d316ab
Mention --greedy
when no casks were upgraded.
2020-11-16 04:35:55 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
7f14e55f99
Add missing cask options to brew upgrade
.
2020-10-08 11:07:35 +02:00
Markus Reiter
90f145114c
Pass Cask::Config
to Caskroom.casks
.
2020-10-01 01:03:13 +02:00
Markus Reiter
5f005f67cf
Refactor global Cask::Config
.
2020-10-01 00:57:10 +02:00
Markus Reiter
8fc4ac0ad7
Document Cask::Cmd
.
2020-08-26 03:13:59 +02:00
Bo Anderson
e3372e2a14
Lazily require some heavy files
2020-08-20 02:05:17 +01:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02:00
miccal
3b2a7a0340
cask/cmd/upgrade: output cask upgrades on new line
2020-08-06 17:25:46 +08:00
miccal
a4f676c556
cask/cmd/update: output message consistency
2020-08-06 16:16:44 +08:00
William Ma
72b0859b8c
Remove invalid HOMEBREW_CASK_OPTS options
2020-08-05 12:22:12 -04:00
William Ma
907d4d7f74
Add shared methods for uninstalling, reinstalling casks
2020-08-05 11:04:40 -04:00
Markus Reiter
b1ca2f7e3c
Add shared method for upgrading casks.
2020-08-05 13:55:04 +02:00
Kien Dang
69189721db
Prepend cask name to cask upgrade error message
2020-07-31 21:51:47 +08:00
Markus Reiter
fbf4b0432d
Rescue more errors during cask upgrade
.
2019-11-22 02:50:44 +01:00
Issy Long
341ea60807
Auto-fix Style/RedundantBegin offenses
...
- This also required auto-fixes for Layout/EmptyLinesAroundBlockBody and
Layout/InconsistentIndentation once the auto-fixer had got rid of the
"redundant begin"s.
2019-10-13 16:04:27 +01:00
Mike McQuaid
41461b2c00
upgrade: tweak --dry-run wording.
2019-07-28 14:50:59 +01:00
Doug Hogan
7f6ef77d0e
Address PR comments: remove test and use return ... if
2019-07-27 07:36:11 -07:00
Doug Hogan
55fcd01bed
cask/cmd/upgrade: add --dry-run option.
2019-07-26 23:20:56 -07:00
Markus Reiter
e2369fcde0
Output all upgradable casks before upgrading.
2019-05-31 19:16:04 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09: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
Zach Auten
75b9eec7ef
Renamed print_caveats, updated an info_spec test to macos only
2019-03-11 21:20:02 -04: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
190ff7558a
Use saved cask config for reinstall/upgrade/uninstall.
2019-02-15 10:09:14 +01:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00: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
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02: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
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
zdcthomas
5cca3315cf
fixes trailing whitespace
2018-09-05 09:19:39 -06:00
zdcthomas
f71f74da4a
removes auto updates warning if greedy flag is included
2018-09-05 09:19:39 -06:00
Mike McQuaid
1ae2326984
Rename Cask::CLI to Cask::Cmd.
2018-09-04 09:56:58 +01:00
Mike McQuaid
1d86d7a7c7
cask: move cask/cli to cask/cmd.
2018-09-04 09:56:57 +01:00