Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Markus Reiter
5cbf8bdaa7
Merge pull request #3283 from reitermarkus/cask-loader
...
Add helper method for Cask fixture paths and refactor CaskLoader.
2017-10-07 18:30:32 +02:00
Markus Reiter
97333df4cb
Add helper method for Cask fixture paths and refactor CaskLoader.
2017-10-07 16:11:25 +02:00
Markus Reiter
e9c587d751
Refactor tests.
2017-10-04 18:52:34 +02:00
Markus Reiter
51a0de6368
Directly save artifacts in DSL.
2017-10-04 18:47:55 +02:00
Markus Reiter
643b2a168c
Refactor cask/cli
specs.
2017-10-03 10:56:40 +02:00
Adam Smith
270bf0506a
stylistic changes for cask info tests
2017-10-02 11:34:50 -07:00
Adam Smith
92311901c9
add available languages to cask info command
...
add language tests for dsl
add fixtures, tests for languages info output
add extra lines
2017-09-30 18:25:12 -07:00
Dan Wendorf
acf1b278ae
List cask full-names
...
`brew cask list` supports the `--full-name` flag which will include the tap
name for casks not part of the core caskroom/cask tap. For example, if
cask "foo-beta" is installed from the caskroom/versions cask, `brew cask
list --full-name` will report the name as "caskroom/versions/foo-beta".
2017-09-16 10:00:06 -07:00
Markus Reiter
ef67b77d95
Make Cask commands fail early if a Cask is not found.
2017-09-11 09:04:51 +02:00
Markus Reiter
53ecdd843f
Treat every Artifact
instance as a single artifact.
2017-09-10 23:12:32 +02:00
Markus Reiter
194a2c2ade
Make brew cask search
spec deterministic.
2017-09-10 21:56:25 +02:00
Alexey Alekhin
8e5ad9ad9b
Minor tests formatting change
2017-09-02 02:29:56 +02:00
Alexey Alekhin
68dd0ac918
Changed warning message as recommended by @reitermarkus
2017-08-31 03:03:00 +02:00
Alexey Alekhin
6ac0b9881d
Fixed test for the changed error message
2017-08-26 02:43:28 +02:00
Alexey Alekhin
29b0c7d747
Added a test for no-macthes output to non-TTY
2017-08-26 02:05:35 +02:00
Alexey Alekhin
68c837f041
Unified tests formatting for multiline output matching
2017-08-26 02:01:08 +02:00
Alexey Alekhin
3b7e0d8dbe
Added tests for cask search with online search failure
2017-08-26 01:54:24 +02:00
Markus Reiter
2ad3a87045
Silence all specs by default.
2017-07-29 20:25:37 +02:00
Markus Reiter
4e26fdfcf6
Add test for non-TTY brew cask search
.
2017-07-10 00:09:32 +02:00
Markus Reiter
dccdac55a8
Add helper for testing TTY output.
2017-07-08 00:57:08 +02:00
Markus Reiter
d29cb450f7
Output plain list when running brew cask search
without a TTY.
2017-07-07 19:42:03 +02:00
Markus Reiter
65b9e06082
Bump rubocop-cask
version.
2017-07-05 20:51:51 +02:00
Markus Reiter
9c8f7138f3
Add casks
method to iterate through arguments.
2017-06-13 19:45:29 +02:00
Markus Reiter
66ce575301
🔨 Refactor Cask exceptions.
2017-06-13 17:14:28 +02:00
Mike McQuaid
021cef4b2b
Autocorrect Rubocop Style/SpecialGlobalVars.
2017-06-12 09:11:42 +01:00
Markus Reiter
02a1e2781f
Fix tests for CLI::Options
DSL.
2017-05-22 02:51:17 +02:00
Markus Reiter
98f91fb883
Refactor CLI::Style
.
2017-05-22 02:51:16 +02:00
Markus Reiter
66e9a060de
Refactor CLI::Home
.
2017-05-22 02:51:16 +02:00
Markus Reiter
276adc9e8b
Refactor CLI::Edit
.
2017-05-22 02:51:16 +02:00
Markus Reiter
8248345a9a
Refactor CLI::Create
.
2017-05-22 02:51:16 +02:00
Markus Reiter
b7347dcc44
Refactor CLI::Cleanup
.
2017-05-22 02:51:16 +02:00
Markus Reiter
1714c73b49
Refactor CLI::Audit
.
2017-05-22 02:51:16 +02:00
Markus Reiter
a44d4ce88b
Remove Cask’s CLI#debug?
.
2017-05-22 02:51:16 +02:00
Mike McQuaid
57db2e539e
Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"
...
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07 17:28:39 +01:00
Mike McQuaid
ee253e465b
Vendor all Homebrew's gems.
...
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
2017-05-07 13:52:57 +01:00
Markus Reiter
238cd5430f
Add remote search to brew cask search
.
2017-04-25 12:29:01 +02:00
Markus Reiter
cb17a80577
Merge pull request #2362 from joshka/install-uninstall-messages
...
Install uninstall messages
2017-04-23 02:40:52 +02:00
Mike McQuaid
a6df701fad
tests: reduce some noise.
...
- Tweak the way offline skipping happens
- Skip more tests that break when offline
- Hide more stdout output from tests.
2017-04-22 12:49:14 +01:00
Joshua McKinney
437db065ca
Be a little less specific in cask output tests
...
These tests seemed a little over-specified and were failing on the CI
server. Reducing the specificity a little to try to get them to pass.
2017-03-19 19:56:41 -05:00
Joshua McKinney
d11e417105
Hide output from brew cask uninstall test
...
This test showed extraneous info in the test output
2017-03-19 13:14:16 -05:00
Joshua McKinney
3703ef1885
Show messages when (un)installing Casks
...
Addresses an issue where it can be unclear at times exactly which part
of the (un|re)installation processes is reporting an error. See
https://github.com/caskroom/homebrew-cask/issues/30968
2017-03-19 13:14:16 -05:00
Markus Reiter
ed10135da4
Replace Hbc.load
with CaskLoader.load
.
2017-03-16 19:16:42 +01:00
Markus Reiter
d7af864be0
Replace Hbc.path
with CaskLoader.path
.
2017-03-16 12:10:19 +01:00
Markus Reiter
d1995dad4b
Use a Formulary
-like approach to load Casks.
2017-03-16 12:10:19 +01:00
Valentin VĂLCIU
7532545140
add command 'cask outdated'
2017-03-15 22:58:25 +02:00
Mike McQuaid
4d88cc4c41
Merge pull request #2326 from vszakats/sprot
...
secure urls + remove -k from in-doc curl command
2017-03-15 15:11:35 +00:00
Markus Reiter
e9e6dcf893
Merge pull request #2311 from nath/highlightInstalledCasks
...
Added highlighting of installed casks to cask search
2017-03-15 14:01:28 +01:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
Nath Tumlin
48e4463f5b
Fixed test case wording
2017-03-13 19:43:08 -05:00