Seeker
5def0701ba
formula: rename opt_or_installed_prefix_keg
to any_installed_keg
2020-09-01 09:39:20 -07:00
Seeker
5acdcd26d0
formula: rename installed_prefix
to latest_installed_prefix
2020-09-01 09:32:32 -07:00
Mike McQuaid
2bdf0d6068
spec_helper: increase tests timeout.
...
When GitHub Actions is congested some tests can take longer than this
(particularly as we're running in parallel). Globally double the time
we allow for all tests.
2020-08-25 10:20:17 +01:00
Markus Reiter
21c502e05f
Remove unused metadata from bundle
spec.
2020-08-24 08:31:07 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
William Ma
2f68aad417
home: Deprecate brew cask home
2020-08-14 11:02:30 -04:00
William Ma
cf961caa27
caskroom: Add --caskroom command
2020-08-03 12:35:03 -04:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Markus Reiter
e14506e589
Pass args
in uninstall
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
bf9659423a
Increase timeout for some integration tests.
2020-07-28 09:50:15 +02:00
Mike McQuaid
2ff56c9e71
Merge pull request #7927 from MLH-Fellowship/integrate-cask
...
Allow references to casks when running upgrade and outdated
2020-07-27 15:11:32 +01:00
Mike McQuaid
047738069f
Speed up timing-out tests.
...
- make `brew readall` only check Homebrew/brew syntax with no tap
passed.
- pass specified tap to `brew readall` test for speed
- only shell out once in `FormulaInfo` test for speed
2020-07-27 14:01:22 +01:00
Dustin Rodrigues
ec81d43519
increase readall test timeout
2020-07-25 22:53:25 -04:00
Markus Reiter
d048c324f9
Increase timeout for brew readall
integration test.
2020-07-22 01:11:57 +02:00
William Ma
fa0f6f4d5b
outdated: Update tests for deprecation warning
2020-07-20 16:16:18 -04:00
Mike McQuaid
4e10341277
Merge pull request #7752 from SMillerDev/cask/readall
...
Support casks in readall
2020-07-01 12:19:30 +01:00
Mike McQuaid
7d53104c46
cmd/search_spec: split Linux/macOS tests.
2020-07-01 11:55:25 +01:00
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
...
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
William Ma
27abc8c50b
home: Print info for each formula/cask opened
2020-06-23 09:44:17 -04:00
William Ma
78ccb05166
Fix style issues
2020-06-22 16:07:18 -04:00
William Ma
0e61ca6715
update tests to match new output format
2020-06-22 15:55:51 -04:00
William Ma
bd2f5c3b32
test cache: split regex into multiple lines
2020-06-22 11:42:15 -04:00
William Ma
cf6ff4d84c
cache: add test for casks
2020-06-22 11:24:49 -04:00
William Ma
0495281325
home: write tests using cask as argument
2020-06-22 10:46:59 -04:00
Mike McQuaid
aa81982aba
brew style --fix
2020-06-02 09:49:23 +01:00
Mike McQuaid
ca47992a6c
Fix rubocop-performance brew style.
2020-05-22 08:52:26 +01:00
Mike McQuaid
c91f397605
cli: fix options handling.
...
Fix breaking options on taps again (second time in two weeks, sob).
To avoid doing this again: also add a test for this case (that I've
verified would have caught these cases).
2020-05-07 10:33:02 +01:00
Mike McQuaid
f567302ebf
deps_spec: check args.
2020-05-04 12:59:56 +01:00
Mike McQuaid
85e65f6d9c
Move some cmd to dev-cmd.
...
None of these made sense as end-user commands.
2020-04-14 14:29:38 +01:00
Mike McQuaid
d52e870b07
rubocop: remove NewFormulaAudit.
...
This is no longer used anywhere.
2020-04-13 16:01:26 +01:00
Mike McQuaid
66155ea370
cli/parser: add named/min_named helpers.
2020-03-05 09:25:14 +00:00
Mike McQuaid
8a9dcad2c7
Move more command handling logic to commands.rb.
2020-02-02 17:05:45 +01:00
Mike McQuaid
3a9f585ebb
Move more code to utils/analytics.
2019-11-22 09:10:29 +00:00
Mike McQuaid
eb0be5f6fe
test: re-enable portable Ruby tests.
...
Let's try to get these working again.
2019-11-06 15:36:28 +00:00
Issy Long
341ea60807
Auto-fix Style/RedundantBegin offenses
...
- This also required auto-fixes for Layout/EmptyLinesAroundBlockBody and
Layout/InconsistentIndentation once the auto-fixer had got rid of the
"redundant begin"s.
2019-10-13 16:04:27 +01:00
Mike McQuaid
2d51b8189b
test: disable some tests on Linux portable ruby.
2019-10-10 16:17:06 +01:00
Markus Reiter
e719744248
Refactor brew style
.
2019-10-05 00:20:06 +02:00
Markus Reiter
a49282c318
Simplify return value logic.
2019-10-04 23:39:26 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09: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
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
Mike McQuaid
3615f891f7
tap-new: improve output.
...
Note the tap path.
References #5901 .
2019-03-23 12:41:35 +00:00
Mike McQuaid
17f3ee1957
Improve Bundler cleanup
...
Rather than trying to be smart and doing this ourselves in `brew cleanup` let’s just installed Bundler somewhere it doesn’t try to clean itself up and use `bundle install --cleanup` when we need cleanup done.
Also, use `ohai` and `odie` when possible as they look nicer.
2019-02-27 14:02:46 +00:00
Mike McQuaid
4ace1af297
help: improve command --help output.
2019-01-30 21:39:29 +00:00
Mike McQuaid
9eabcdad7d
Make install/reinstall/upgrade options more consistent.
2019-01-29 19:25:59 +00:00
Mike McQuaid
618f75c071
Merge pull request #5619 from GauthamGoli/install-args
...
install: Use CLI::Parser to parse args
2019-01-29 14:11:22 +00:00
Mike McQuaid
49d3849507
cmd/install_spec: test new invalid option behaviour.
2019-01-29 10:48:39 +00:00
Mike McQuaid
eed1444d61
Update deprecations and cleanup
...
- Move `odeprecated` to `odisabled`
- Remove `odisabled`
- Enable automatic cleanup on install/reinstall/upgrade.
2019-01-23 21:57:40 +00:00
Gautham Goli
9d287483b7
cat: Use CLI::Parser to parse args
2019-01-19 19:36:55 +05:30