Gabriel
41f39939ca
Extract linux spec cases & add hash support to default #uses_from_macos
2019-06-03 15:52:53 -03:00
Gabriel
332acbbfc3
Add more spec cases
2019-06-03 15:52:53 -03:00
Gabriel
7a9bfb4c9f
Fix spec
2019-06-03 15:52:53 -03:00
Gabriel
38653f0cbc
Add default #uses_from_macos behaviour spec
2019-06-03 15:52:53 -03:00
Gabriel
aafe87524d
Extends SoftwareSpec with #uses_from_macos
2019-06-03 15:52:53 -03:00
Gabriel
01c5bc48d2
Create extended os formula specs
2019-06-03 15:52:53 -03:00
Gabriel
f2abaf6862
Add #uses_from_macos specs
2019-06-03 15:52:52 -03:00
Markus Reiter
0a0672fade
Don't URL-encode cookies.
2019-05-31 23:39:59 +02:00
Cheng XU
ba517e07e2
fix brew style
error
...
Spec path should end with cask/cmd/cache*_spec.rb.
describe Cask::Cmd::Cache, :cask do
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-05-23 15:50:55 +08:00
Cheng XU
8ad48f56e8
add test for brew cask --cache
2019-05-23 15:28:00 +08:00
Maik Riechert
e113fd70be
add HOMEBREW_CURL_RETRIES
2019-05-18 13:23:08 +01:00
Christian Moritz
3bb0f8c665
fix copying top level symlinks to folders in directory unpack_strategy
2019-05-17 00:54:34 +02:00
Mike McQuaid
191898ced5
Merge pull request #6127 from issyl0/brew_cask_info_space_between_multiple_casks
...
Add a blank line between `brew cask info` output for multiple casks
2019-05-14 08:21:41 +01:00
Mike McQuaid
a17b87368a
Merge pull request #5961 from Moisan/bump-revision
...
Add bump-revision command
2019-05-14 08:11:21 +01:00
Isabell (Issy) Long
7a367980b6
Add a blank line between brew cask info
output for multiple casks
...
- `brew info` adds a blank line between info output for multiple
formulae. This replicates that display for `brew cask info`, as
requested in Issue 6126.
2019-05-13 19:45:08 +01:00
Julian Mayer
a061a8d9f7
add optional checking whether appcast contains the version stanza to "brew cask audit"
2019-05-07 17:06:54 +02:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Thierry Moisan
c5640acae5
Add bump-revision bump command
...
bump-revision will increase by one the revision or add "revision 1" if
it doesn't exist.
2019-04-24 22:17:59 -04:00
Mike McQuaid
fc6bd2ea1c
Fixup more frozen string handling.
2019-04-20 14:07:29 +09:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations.
2019-04-19 21:46:20 +09:00
Mike McQuaid
ef2e297d3b
Disable RubyGems by default.
...
This speeds up all Ruby invocations where we don't need RubyGems by
around 10%. Where we do need RubyGems: include it manually.
2019-04-18 17:45:03 +09:00
Mike McQuaid
1aaffda62f
Merge pull request #6027 from vitorgalvao/remove_to_slashes
...
hbc: remove all *_to_slashes
2019-04-18 11:59:10 +09:00
Vítor Galvão
0ee226769a
hbc: remove all *_to_slashes
2019-04-17 16:31:35 +01:00
Mike McQuaid
ae63381bd9
cli/parser: use cli/args and tweak freeze behaviour.
2019-04-17 22:16:58 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
18630c7032
extend/ARGV: remove unused methods.
2019-04-17 21:08:26 +09:00
Mike McQuaid
8229e592d7
cask/cmd/info_spec: needs network connection.
...
Tag it accordingly.
2019-04-17 17:34:33 +09:00
Mike McQuaid
1281c4a663
Merge pull request #5983 from zachauten/continue-upgrading-casks-after-failure
...
'brew cask upgrade' will continue upgrading casks after a failure
2019-04-14 10:01:32 +01:00
Mike McQuaid
0750971870
Merge pull request #5893 from reitermarkus/version-unstable
...
Add `#unstable?` method for cask versions.
2019-04-14 10:00:57 +01:00
Mike McQuaid
3b842ef41f
Merge pull request #6014 from vitorgalvao/caskroom-home
...
cask home: update to brew.sh
2019-04-14 10:00:15 +01:00
EricFromCanada
e0558dc7c7
trim line breaks
2019-04-13 21:37:48 -04:00
EricFromCanada
89f0fcedbe
whitespace fixes
2019-04-13 21:32:04 -04:00
EricFromCanada
fa6404e0f5
grammar fixes
2019-04-13 21:29:32 -04:00
Vítor Galvão
67ca3d372a
cask home cmd: update homepage to brew.sh
2019-04-13 19:47:14 +01: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
Michael
2fbe4fe3b7
Update create_spec.rb
2019-04-07 02:10:01 +02:00
Xu Cheng
363355ae47
CompilerSelector: prefer the gcc verion offered by the gcc formula
...
When GCC is used (default for Linux), we should prefer the gcc offered
by the gcc formula. As such even if users install a gcc with higher
version from `gcc@*` formula, it will not be picked up to build other
formulae. This would also allow users to safely delete `gcc@*` formula.
Closes #5953 .
2019-03-31 21:42:05 +08:00
Mike McQuaid
75257886f2
Cleanup some RSpec tests
...
Fix some Rubocop RSpec checks, update some values and improve
documentation.
2019-03-28 19:16:56 +00:00
Mike McQuaid
2f1c6e9ca5
Cleanup cmd/* tests
...
- Test `_args` methods
- Remove multiple integration tests (except where essential
e.g. `install`, `help`)
2019-03-28 08:35:36 +00:00
Mike McQuaid
cc6c6afffb
test/dev-cmd: add more parseable arguments tests.
2019-03-27 14:22:30 +00:00
Mike McQuaid
1e5cfcc028
Separate tap tests into separate, correct files.
2019-03-27 13:35:42 +00:00
Mike McQuaid
aa44509be9
Test dev-cmd *_args
methods
...
Also, add a few missing invocations.
2019-03-27 13:35:42 +00:00
Markus Reiter
2a3b7d072d
Add #unstable?
method for cask versions.
2019-03-27 13:48:03 +01:00
Mike McQuaid
3bde17c9f9
Cleanup from dev-cmd test changes
...
- Remove added whitespace in `extend/os/linux/keg_relocate`
- Cleanup testball bottles
2019-03-27 10:31:26 +00:00
Mike McQuaid
59d680a626
dev-cmd: only one integration test per command.
...
Integration tests are useful in detecting breakages but much slower so
let's only use one per command and install formula outside the
integration test framework (which is also slow).
2019-03-27 09:45:48 +00:00
Mike McQuaid
cf4511f72a
Merge pull request #5538 from zachauten/brew-info-display-casks
...
Make brew info output cask if no formula exists
2019-03-25 16:54:03 +00:00
Zach Auten
999c4743d0
Added flag for cask_reason to output cask info or just message with cask name
2019-03-24 15:28:34 -04:00
Mike McQuaid
3615f891f7
tap-new: improve output.
...
Note the tap path.
References #5901 .
2019-03-23 12:41:35 +00:00
Zach Auten
63a0aa92d1
Removed info_spec integration test and replaced with unit test in missing_formula_spec
2019-03-21 17:18:21 -04:00