64 Commits

Author SHA1 Message Date
Mike McQuaid
021cef4b2b Autocorrect Rubocop Style/SpecialGlobalVars. 2017-06-12 09:11:42 +01:00
Mike McQuaid
2269518768 Merge pull request #2746 from MikeMcQuaid/cleanup-tests
tests: cleanup tests.
2017-06-08 16:16:55 +03:00
Mike McQuaid
7d5b8a5cea tests: cleanup tests.
Remove pending tests that are never run on CI (i.e. require `--online`),
remove fixtures for those tests and just make `--official-cmd-taps`
run by `--online` instead.
2017-06-07 16:25:07 +01:00
Markus Reiter
b40e4afac5 Fix parsing --require-sha and HOMEBREW_CASK_OPTS. 2017-06-06 16:40:03 +02:00
Kiyoshi '13k' Murata
c4b010b6d7 Fix curl invocation in Hbc::DSL::Appcast.
Fixes #2592
2017-06-01 06:02:50 -03:00
Mike McQuaid
7a38bab333 Fixup all RuboCop warnings. 2017-05-29 18:43:18 +01:00
Markus Reiter
0bb2773b17 Deprecate --caskroom flag. 2017-05-24 23:54:36 +02:00
Markus Reiter
b91d0254bb Add test for --binaries default value. 2017-05-24 20:34:20 +02: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
Markus Reiter
9e821863d0 Pass along CLI::Binaries. 2017-05-22 02:51:16 +02:00
Reinhard Pointner
5c59b3352f Support GPG (signed data) container in Homebrew Cask (test case) 2017-05-11 16:27:45 +08: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
Markus Reiter
5bf0745ece Merge pull request #2514 from reitermarkus/refactor-cask-metadata
Refactor cask metadata directory methods.
2017-04-22 22:01:53 +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
Markus Reiter
75ceed39e6 Merge pull request #2520 from reitermarkus/pkgutil-plist
Partly revert “Fix `uninstall :pkgutil` leaving empty `.app` directories.”.
2017-04-21 17:37:42 +02:00
Markus Reiter
80e09c8dec Partly revert “Fix uninstall :pkgutil leaving empty .app directories.”. 2017-04-21 16:46:39 +02:00
Markus Reiter
5c51c4e23b Fix test for chmod +x on binaries. 2017-04-21 14:52:35 +02:00
Markus Reiter
1cd125e7e7 Refactor cask metadata directory methods. 2017-04-21 01:28:21 +02:00
Vítor Galvão
7c048b6f71 cask: remove pre_bug_report links 2017-03-31 20:24:23 +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
Markus Reiter
c4d8b1696c Merge pull request #2309 from axiac/cask-outdated
add command 'cask outdated'
2017-03-16 11:37:49 +01:00
Markus Reiter
2c8544832e Add test for command help strings. 2017-03-16 09:00:57 +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
Nath Tumlin
b42ccece49 Style changes 2017-03-13 19:15:41 -05:00
Nath Tumlin
2080c360e2 Added tests for highlight installed and fixed style errors 2017-03-13 17:52:32 -05:00
Markus Reiter
2b4c3ee1d7 Default to sudo: false for installer/uninstall :script. 2017-03-13 11:38:37 +01:00
Numbermaniac
b704b48b2f Change instances of caskroom.io to caskroom.github.io 2017-03-12 23:23:22 +11:00
Markus Reiter
bb3e509ee0 Merge pull request #2315 from reitermarkus/hombrew-typo
Fix “Hombrew” typo.
2017-03-11 15:46:25 +01:00
Markus Reiter
49416d10b7 Fix “Hombrew” typo. 2017-03-11 12:00:35 +01:00
Markus Reiter
642e355b4f Save flags in with_full_permissions. 2017-03-11 10:47:39 +01:00
Markus Reiter
9393b16930 Fix uninstall :pkgutil leaving empty .app directories. 2017-03-11 10:47:39 +01:00