4194 Commits

Author SHA1 Message Date
Seeker
3893cb312e rubocops/text: improve test descriptions 2021-01-14 18:08:05 -08:00
Rylan Polster
4710be2fb3 parser: add some more tests 2021-01-14 20:45:26 -05:00
Rylan Polster
74c1010256 parser: add tests for named methods 2021-01-14 15:14:10 -05:00
Mike McQuaid
2f018d1a98
cask/cmd/info_spec: remove skipped test.
Unfortunately skipping this test makes it show up in the PR diff every
time. Let's just delete it for now instead.
2021-01-14 16:10:07 +00:00
Seeker
33edb9f901 rubocops: point to offending OS-specific block in resource blocks 2021-01-13 23:18:32 -08:00
Jonathan Chang
641afdd2de rubocops: permit mirror in OS-specific resources 2021-01-14 17:04:40 +11:00
Seeker
663b972f44
Merge pull request #10306 from SeekingMeaning/git-repo-pwd
utils/git_repository: use `Pathname.pwd` if no `repo` specified
2021-01-13 16:14:27 -08:00
Rylan Polster
da811373d3 Add named_args DSL for commands 2021-01-13 17:09:42 -05:00
Rylan Polster
701989968d
Merge pull request #10268 from Rylan12/completions-opt-out
completions: make opt-in only
2021-01-13 16:08:30 -05:00
Seeker
4f02c1c8a8 utils/git_repository: use Pathname.pwd if no repo specified 2021-01-13 13:02:37 -08:00
Misty De Meo
847897fdac Popen spec: ensure Rubocop is happy
These were introduced in #10305 but only started going red
after that PR was merged.
2021-01-13 11:21:10 -08:00
Misty De Meo
c197e9a27d
Merge pull request #10315 from mistydemeo/cask_is_unavailable_hotfix
Cask tests: temporarily disable broken test
2021-01-13 11:14:33 -08:00
Seeker
be6dd72c16
Merge pull request #10305 from SeekingMeaning/safe-popen-tests
utils/popen: add `safe` argument to `popen_read` and `popen_write`
2021-01-13 10:51:46 -08:00
Misty De Meo
79aff82c39 Cask: skip test that is currently broken in master 2021-01-13 10:42:46 -08:00
Rylan Polster
4b8477ba70 Completions, Settings: move to Homebrew namespace 2021-01-13 11:20:28 -05:00
Sam Ford
7bbd091fb1
Livecheck: Use let instead of constants in tests 2021-01-13 09:35:56 -05:00
Sam Ford
6c4041c026
Livecheck: Do not convert URL symbol to string 2021-01-13 09:35:54 -05:00
Sam Ford
ec93e91909
Merge pull request #10208 from samford/livecheck-skip-archived-stable-urls
Livecheck: Skip archived stable URLs in formulae
2021-01-13 08:42:58 -05:00
Jonathan Chang
71f7ef0058
Merge pull request #10300 from jonchang/rubocop-v1-api
rubocops: migrate to rubocop v1 API
2021-01-13 21:20:55 +11:00
Markus Reiter
028e733e79
Merge pull request #10260 from reitermarkus/audit-livecheck
Improve audit for `livecheck` in casks.
2021-01-13 08:46:57 +01:00
Markus Reiter
92b58666ef Improve audit for livecheck in casks. 2021-01-13 08:12:11 +01:00
Seeker
82901036f9
Merge pull request #10298 from SeekingMeaning/ast
utils/ast: move helper functions from `FormulaAST` to `AST`
2021-01-12 22:32:23 -08:00
Sam Ford
12e5f4dce1
Livecheck: Refactor #skip_conditions into a module
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-01-12 18:34:33 -05:00
Sam Ford
aae91cacae
Livecheck: Skip Internet Archive stable URLs 2021-01-12 18:04:26 -05:00
Sam Ford
f36d1a7fb6
Livecheck: Skip Google Code Archive stable URLs 2021-01-12 18:04:26 -05:00
Sam Ford
84e058f6ca
Livecheck: Refactor memoized helpers 2021-01-12 18:04:26 -05:00
Seeker
99a7e2192c
Merge pull request #10296 from SeekingMeaning/utils-named-subject
test/utils/*: use `described_class` or named `subject`
2021-01-12 13:38:55 -08:00
Rylan Polster
f1f3fdc315 settings: add module for managing git config settings 2021-01-12 16:27:25 -05:00
Seeker
40d85ecb40 popen_spec: add tests for safe_popen_read and safe_popen_write 2021-01-12 09:56:05 -08:00
Jonathan Chang
ac8eb00443 rubocops/cask/*: use rubocop v1 API 2021-01-12 19:16:38 +11:00
Jonathan Chang
0366e2f7f7 rubocops/options: use rubocop v1 API 2021-01-12 19:16:38 +11:00
Jonathan Chang
23b8d0ccb8 rubocops/desc: use rubocop v1 API 2021-01-12 19:16:38 +11:00
Jonathan Chang
929e481dce rubocops/keg_only: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
df8e030174 rubocops/patches: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
bb497ebfe0 rubocops/caveats: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
c3f797d9ac rubocops/components_order: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
f57c96465c rubocops/conflicts: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
92e07f5c0b rubocops/homepage: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
63bebf542f rubocops/dependency_order: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
098ade1319 rubocops/urls: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
a778dc3bdb rubocops/class: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
3bda457478 rubocops/text: use rubocop v1 API 2021-01-12 19:11:43 +11:00
Jonathan Chang
c18ffa84ca rubocops/deprecate_disable: use rubocop v1 API 2021-01-12 19:11:42 +11:00
Jonathan Chang
9046d778e0 rubocops/checksum: use rubocop v1 API 2021-01-12 19:11:42 +11:00
Jonathan Chang
b8fb568021 rubocops/lines: use rubocop v1 API 2021-01-12 19:11:42 +11:00
Seeker
14b4916dda utils/ast: move helper functions from FormulaAST to AST 2021-01-11 20:35:14 -08:00
Seeker
022bcbb269 test/utils/*: use described_class or named subject 2021-01-11 12:31:39 -08:00
Rylan Polster
e7b369273a completions: link official taps automatically 2021-01-11 12:27:57 -05:00
Seeker
2ebfb4221c utils/ast: add FormulaAST class 2021-01-10 09:25:46 -08:00
Zaid Kokaja
d98de86e76 Update expected test output to match new JSON 2021-01-09 23:17:47 -05:00