Roland Walker
707db75505
standardize Cask (capitalized) when used as noun
...
* was already done, but inconsistently
* this style follows homebrew Formula
* covers user-facing messages, test titles, comments
* some related minor orthography is included, such
as the consistent spelling of our project name as
"homebrew-cask"
* grammar nits
2014-10-08 10:39:51 -04:00
Claudia
baddaf5fd2
Rewrite tests to make them work with Ruby 1.8
2014-10-05 20:15:12 +02:00
Claudia
ec2fdc3f51
Add tests for #5997
2014-10-05 19:52:41 +02:00
Roland Walker
e3d009989f
reformat test Casks to match layout conventions
...
in case a contributor uses a test Cask as a template
2014-10-03 17:57:05 -04:00
Roland Walker
f1604e4efb
docs and create template for new license stanza
...
some :closed licenses in the code are left undocumented for
now, and should not be used.
2014-10-01 11:18:13 -04:00
Roland Walker
fe0a053dad
Merge pull request #6208 from rolandwalker/uninstall_force
...
add `--force` option for `brew cask uninstall`
2014-09-16 19:33:17 -04:00
Roland Walker
d156cbfcb2
add --force option for brew cask uninstall
...
also update some related docs for verbs `install` and `uninstall`
2014-09-16 10:59:44 -04:00
Roland Walker
ca8417bf0e
support brew cask --version per USAGE.md
...
closes #6178
2014-09-16 10:04:47 -04:00
Roland Walker
5ae6e2f773
doc new app stanza and update tests to use it
...
Replacing `link` for almost all cases.
The `link` stanza can still appear in error messages, because
under the hood, `app` is still implemented as a pure synonym
for the `link` artifact. That will change automatically when
we factor into separate artifacts.
2014-09-13 13:03:46 -04:00
Roland Walker
ce64b38723
Merge pull request #6155 from rolandwalker/add_zap_stanza
...
functionality and docs for zap stanza and verb
2014-09-13 12:55:57 -04:00
Roland Walker
0f664ca78a
Fix brew cask alfred for Yosemite/Alfred 2.4
...
Closes #5820
References: #6059
2014-09-13 12:34:12 -04:00
Roland Walker
00921dd513
functionality and docs for zap stanza
...
* `zap` was previously supported as a noop for forward-compatibility
* Also adds restrictions against relative paths in `uninstall :files`
* Also documents safety conventions for `uninstall :files`
2014-09-13 10:21:17 -04:00
Federico Bond
ab4c5b13e5
Avoid printing Caveats title when output is empty
...
Closes #4878
2014-08-16 23:09:24 -03:00
Federico Bond
39bddf20de
Re-enable suggestion tests
2014-08-04 09:30:58 -03:00
Roland Walker
ddb9322882
Merge pull request #5011 from rolandwalker/internal_command_dump
...
create "internal use" command verbs: _dump, _help
2014-06-21 10:46:14 -04:00
Vladimír Kriška
71f3a0d968
Show file contents instead of commits
2014-06-21 01:19:07 +02:00
Roland Walker
de1858d905
conform all command verbs to a Class (not Module)
2014-06-20 15:06:29 -04:00
Roland Walker
f65d422b82
refactor brew cask cleanup
...
Divide into more tractable methods. No functional change.
Change apparent typo in test regular expression
2014-06-19 14:25:56 -04:00
Roland Walker
3cb729095d
suggested (not enforced) order for Cask stanzas
...
References: #4914
2014-06-16 13:32:08 -04:00
Roland Walker
4f3ecb1cc3
Downgrade Cask install errors to warnings
...
Including the case where a Cask is already installed.
Always continue installing when multiple Casks are specified,
only raising an exception at the end of the command (if some
portion of the attempted install actions failed). Never
exit with an error code if "already installed" was the only
problem seen during the run.
Also tweak error messages.
Fixes #1347 , #2677 , #4785
Required disabling two tests regarding suggestions on Cask
spelling errors.
2014-06-10 12:13:59 -04:00
Roland Walker
154eb2b12f
prompt for HTTPS URLs in brew cask create
2014-06-07 14:36:35 -04:00
Roland Walker
25c7ee5962
Re-enable failing "search" test
...
This test used to selectively fail only on Travis. The problem
was never isolated. However, it was apparently recently fixed,
probably in #4042 .
2014-05-08 16:05:35 -04:00
Roland Walker
e910467b39
update docs and messages for brew cask cat
2014-05-07 10:32:15 -04:00
Lincoln Lee
227ac512bc
Add brew cask cat command mentioned in #4018
2014-05-05 22:46:28 +08:00
Paul Hinze
f54eaf7082
update all references to new caskroom org home
...
global replace of:
'phinze/homebrew-cask' -> 'caskroom/homebrew-cask'
'phinze/cask' -> 'caskroom/cask'
'phinze/homebrew-testcasks' -> 'caskroom/homebrew-testcasks'
and various other specific places that needed updates
<3 the homebrew-cask community!
2014-05-03 10:29:17 -05:00
Roland Walker
5bc2b62b25
Merge pull request #3667 from rolandwalker/artifacts_in_info
...
display artifact summary in `brew cask info`
2014-03-28 09:33:23 -04:00
Roland Walker
5c8640d6fe
Merge pull request #2706 from rolandwalker/install_suggest
...
suggest replacements on "brew cask install" fail
2014-03-27 08:51:13 -04:00
Roland Walker
421eafaec8
display artifact summary in brew cask info
...
Per discussion with @drew-gross in closed issue #3280 .
Limitation: does not show link targets.
2014-03-26 08:55:58 -04:00
Roland Walker
726a650ebd
Merge pull request #3106 from rolandwalker/emojii
...
Emoji and disk usage stats at install success
2014-03-06 21:40:37 -05:00
Roland Walker
c95a7f2534
suggest replacements on "brew cask install" fail
2014-03-01 15:04:12 -05:00
Ko-Chih Wu
59e3b183e2
Fix broken brew cask alfred link
...
- Remove quotes from `defaults write` args. With quotes the value is
written as a string instead of a dictionary, which breaks the search
scope in alfred.
- Make the default scope consistent with alfred default
2014-02-28 01:00:00 -08:00
Roland Walker
6dd21fbe77
rename intellij-idea-community.rb
...
to intellij-idea-ce.rb
per naming rules in CONTRIBUTING.md
2014-02-26 09:48:48 -05:00
Roland Walker
d5872b20a2
rename intellij-idea-ultimate.rb
...
to intellij-idea.rb
per naming rules in CONTRIBUTING.md
2014-02-26 08:59:42 -05:00
Roland Walker
d639889a3a
temporary hack to for travis while test is fixed
2014-02-25 13:11:49 -05:00
Roland Walker
fe90e266f5
Merge pull request #2705 from rolandwalker/search_exact
...
Divide search output into sections
2014-02-25 12:59:53 -05:00
Võ Anh Duy
33a97a1a5f
CLI - Fetch
...
Add `fetch` command to cli like suggestion at the end of #2528
2014-02-26 00:44:22 +07:00
Roland Walker
6f6a07fc0f
mass whitespace cleanup
2014-02-22 21:13:52 -05:00
Roland Walker
d40195e8d4
Emoji and disk usage stats at install success
...
- consistent with Homebrew output
- respects Homebrew environment variables
- does not add any Homebrew code dependency
- really just for fun
2014-02-22 18:24:56 -05:00
Roland Walker
b67b2c53f2
make clear that only Alfred 2.x is supported
...
fixes #2891
2014-02-14 19:39:45 -05:00
Roland Walker
eb7f9eb078
trailing blank lines so caveats don't run together
2014-02-12 09:27:49 -05:00
Roland Walker
18a92caf57
Merge pull request #2392 from rolandwalker/list_managed_links
...
Show managed links in "brew cask list"
2014-02-12 08:11:44 -05:00
Roland Walker
8450a29a6a
Show managed links in "brew cask list"
...
Fixes #2261
2014-02-08 16:26:23 -05:00
Roland Walker
d6c8a6917d
add command brew cask cleanup
...
plus new option --outdated
2014-02-08 14:40:53 -05:00
Paul Hinze
1f5cc4e1e8
Merge pull request #2719 from lgarron/sha256
...
Change the template hash function to SHA-256.
2014-02-08 12:20:33 -06:00
Victor Robertson
7f5fbf448c
Process SystemCommand arguments in list format
...
Previously, SystemCommand commands and arguments were processed as
strings which caused problems during shell interpretation if the
arguments were not escaped properly. Now all commands are expressed
as arrays and no longer require their arguments to be escaped.
Additionally, stderr and stdout could have been interleaved in the
past and now they are always separated.
2014-02-07 06:27:05 -06:00
Lucas Garron
913f3e6f76
Change default hash to SHA-256.
2014-02-05 18:16:18 -08:00
Roland Walker
5fabf362c6
Merge pull request #2733 from rolandwalker/testing_constants
...
add HOMEBREW_TAP_FORMULA_REGEX constant in tests
2014-02-05 10:54:40 -05:00
Roland Walker
3633384036
add HOMEBREW_TAP_FORMULA_REGEX constant in tests
...
because our code tries to use it when throwing exceptions
also move HOMEBREW_BREW_FILE from doctor_test.rb to test_helper.rb
2014-02-01 12:47:05 -05:00
Roland Walker
3a1c9484a3
Divide search output into sections
...
typically "Exact Match" and "Partial Matches"
2014-01-31 20:20:30 -05:00
Roland Walker
06395054d6
doubledash hygiene for external cmd: open
2014-01-31 13:05:09 -05:00