Markus Reiter
d22cfd3866
Always use Pathname.new
in pkg_test.rb
.
2017-02-04 20:27:59 +01:00
Markus Reiter
fc712b0089
Make descriptions a bit clearer.
2017-02-04 20:27:59 +01:00
Thomas Maurer
6594650eb1
Pass invalid option names to formula installer
...
This is the same that happens in the command 'install'. By passing
the invalid option names, we enable the formula installer to output
warnings if necessary.
2017-02-04 18:10:37 +01:00
Thomas Maurer
22a37b2f5d
Add failing reinstall test with invalid install option
2017-02-04 13:23:41 +01:00
Markus Reiter
0802ad734f
Simplify CaskLoader
.
2017-02-03 22:00:28 +01:00
Markus Reiter
4eef60c6a6
Remove TestCask
class.
2017-02-03 21:52:51 +01:00
Alyssa Ross
70b1c6de0b
Merge pull request #1943 from alyssais/missing_requires
...
formulary: handle ScriptError in formula
2017-02-03 19:13:05 +00:00
Markus Reiter
77401b787f
Reorder testing_env
.
2017-02-03 17:27:36 +01:00
Markus Reiter
98b6766f4e
Require formulary
and tap
in Homebrew::TestCase
.
2017-02-03 17:27:36 +01:00
Markus Reiter
d0c5b98a62
Don’t require formulary
in testing_env
.
2017-02-03 17:27:36 +01:00
Markus Reiter
ac92144654
Add comment about FSLeakLogger
to Homebrew::TestCase
.
2017-02-03 17:27:36 +01:00
Markus Reiter
b765853969
Use constant array of constants in Homebrew::TestCase
.
2017-02-03 17:27:36 +01:00
Markus Reiter
f35c6c8cf1
Don’t use before_setup
and after_teardown
.
2017-02-03 17:27:36 +01:00
Markus Reiter
e40c63f77c
Use array of constants to set up test directories.
2017-02-03 17:27:36 +01:00
Markus Reiter
01c1372074
Merge pull request #1897 from trevorpowell/master
...
Proposed fix for "Failed to eject" errors with DMGs
2017-02-03 11:45:18 +01:00
Markus Reiter
04637e8d37
Merge pull request #1883 from reitermarkus/override-macos-version
...
Allow overriding `MacOS.version`.
2017-02-03 11:31:43 +01:00
Alyssa Ross
ade8128a18
formulary: handle ScriptError in formula
...
I added a new `FormulaUnreadableError` subclass of
`FormulaUnavailableError` so existing `rescue`s of
`FormulaUnavailableError` handle this as well.
The new subclass will output the name of the formula with the error
(because this isn't always obvious from the original exception message)
followed by the original error message.
Fixes #1927 .
2017-02-01 18:34:20 +00:00
Markus Reiter
b6f3399cb3
Merge pull request #1930 from vitorgalvao/set-permissions-sudo
...
cask: staged: no sudo in set_permissions
2017-01-31 19:32:00 +01:00
Trevor Powell
e11b8b68cd
Update dmg.rb based on feedback
...
Try "diskutil eject" twice before "diskutil unmount force".
2017-01-30 22:31:09 -06:00
Mike McQuaid
664d0c67d5
Merge pull request #1931 from MikeMcQuaid/update-performs-migrations
...
update: note migrations may be performed.
2017-01-30 10:15:06 +00:00
Xu Cheng
f3df412e77
cleanup: consider version_scheme
...
`brew cleanup` should cleanup formulae which have the older
version scheme.
2017-01-30 17:16:56 +08:00
Markus Reiter
6215c6a5e1
Don’t use assert_nil
in tab_test
.
2017-01-30 00:18:52 +01:00
Mike McQuaid
73fd972391
Merge pull request #1914 from MikeMcQuaid/test-gem-updates
...
*/Gemfile*: remove rake, version pins, master simplecov.
2017-01-29 17:49:49 +00:00
Mike McQuaid
276d8805ca
update: note migrations may be performed.
...
As requested in https://github.com/Homebrew/homebrew-core/issues/9316 .
2017-01-29 17:30:44 +00:00
Mike McQuaid
f7b1991626
Use dedicated upload_coverage script.
2017-01-29 17:23:05 +00:00
Vítor Galvão
c0b84a0479
cask: staged: no sudo in set_permissions
2017-01-28 18:29:59 +00:00
Dominyk Tiller
10e81b1672
rubocop: automatically update rubocop_todo.yml
2017-01-28 14:13:00 +00:00
Dominyk Tiller
8b5dc01604
Library/.rubocop.yml: fix renamed EndAlignment setting
2017-01-27 21:42:45 +00:00
Dominyk Tiller
9b2951fb29
Library/.rubocop.yml: fix renamed CaseIndentation setting
2017-01-27 21:40:16 +00:00
Dominyk Tiller
c2b3f1db27
style: update rubocop to 0.47.1
2017-01-27 21:32:50 +00:00
Markus Reiter
ad4fd014e1
Merge pull request #1919 from miccal/patch-1
...
Update brew-cask.1.md to include _stanza internal command
2017-01-27 18:01:05 +01:00
Mike McQuaid
fc0d46c0a0
Merge pull request #1923 from Homebrew/revert-1916-cellar-check-etc
...
Revert "formula_cellar_checks: check for prefix/etc."
2017-01-27 15:34:31 +00:00
Mike McQuaid
aec3d1fe3d
Revert "formula_cellar_checks: check for prefix/etc."
2017-01-27 14:09:19 +00:00
Mike McQuaid
eff70115b5
pull: better handle missing bottles.
...
If we make a PR in which we're building many formulae (e.g.
https://github.com/Homebrew/homebrew-core/pull/9249 ) then we may want
to pull those that built and publish their bottles and discard those
that did not. Instead of saying bottles will be published when they
won't and then blowing up just avoid publishing them and print a warning
instead.
2017-01-27 09:36:47 +00:00
Mike McQuaid
e444488bfe
Merge pull request #1915 from MikeMcQuaid/keg-only-caveats-newline
...
caveats: add newline after keg only reason.
2017-01-27 08:55:37 +00:00
Mike McQuaid
858b406da1
Merge pull request #1917 from MikeMcQuaid/homebrew-audit-tweak
...
audit: improve homepage audit reliability.
2017-01-27 08:46:19 +00:00
Miccal Matthews
d68fc389e3
Update brew-cask.1.md
2017-01-27 09:26:57 +08:00
Markus Reiter
39ce9c890e
Try uploading coverage report in .simplecov
.
2017-01-26 23:11:37 +01:00
Mike McQuaid
78d584f42f
Merge pull request #1918 from MikeMcQuaid/update-reset-force
...
update-reset: checkout with --force.
2017-01-26 18:29:55 +00:00
Markus Reiter
dd0bc83eca
Move require "bundler/setup“
to top of cask-tests
.
2017-01-26 18:28:08 +01:00
Mike McQuaid
3c91f5858a
update-reset: checkout with --force.
...
Otherwise it won't overwrite unmerged changes.
2017-01-26 16:29:39 +00:00
Mike McQuaid
34e03532a0
audit: improve homepage audit reliability.
...
Try first with an (exact, actual) browser user agent from Safari and
then try again with the default Homebrew `curl` user agent.
2017-01-26 16:19:38 +00:00
Markus Reiter
e65150412c
Add require "bundler/setup“
to cask-tests
.
2017-01-26 16:57:30 +01:00
Mike McQuaid
1aa179ad9a
formula_cellar_checks: check for prefix/etc.
...
This directory indicates that configuration files have been installed
into the wrong location.
2017-01-26 15:26:42 +00:00
Mike McQuaid
7a2c5c0f2f
caveats: add newline after keg only reason.
2017-01-26 15:18:32 +00:00
Mike McQuaid
0fc4a52c6c
*_test: use assert_nil when appropriate.
...
This is warned by the newer MiniTest.
2017-01-26 12:02:17 +00:00
Mike McQuaid
92b48ac42e
brew-cask-tests: import Rakefile logic.
...
This avoids a `rake` dependency in the Gemfile and an unnecessary shell
out.
2017-01-26 12:01:54 +00:00
Mike McQuaid
b5f1db5f29
*/Gemfile*: remove rake, version pins, master simplecov.
...
We’re upgrading SimpleCov to 0.13.0 so let’s update the rest of our
gems while we’re at it.
2017-01-26 12:01:24 +00:00
Markus Reiter
1f97e3186a
Merge pull request #1911 from reitermarkus/cleanup-cask-tests
...
Cleanup Cask test directory.
2017-01-25 15:31:22 +01:00
Markus Reiter
d8416c969b
Remove :console
task from Cask’s Rakefile.
2017-01-25 14:34:57 +01:00