Rylan Polster
27e31c7f18
Check for nil?
instead of blank?
in cask DSLs
2022-08-16 11:04:59 -04:00
Rylan Polster
686e02b7ce
Add arm:
and intel:
arguments to cask sha256
stanza
2022-08-16 00:48:24 -04:00
Rylan Polster
76ae20a12f
Re-add on_arch_conditional
DSL
2022-08-09 11:34:52 -04:00
Rylan Polster
dd72f1ac95
Add arch
cask DSL
2022-08-05 17:12:55 -04:00
Rylan Polster
99447bb1c0
OnSystem
: provide ::MacOSAndLinux
and ::MacOSOnly
2022-06-30 12:57:35 -04:00
Rylan Polster
a9e62b9e38
include OnSystem
to define DSL methods
2022-06-29 11:38:55 -04:00
Rylan Polster
5ec19adf58
Rename Override
module to SimulateSystem
2022-06-28 15:35:20 -04:00
Rylan Polster
b538ce7361
Add OnSystem
module to generate on_*
methods for formulae and casks
2022-06-24 14:37:50 -04:00
Sam Ford
d7a26cd6d3
ExtractPlist: Modify #find_versions url usage
2022-06-24 00:08:53 -04:00
Sam Ford
04203953de
Cask: Ensure #discontinued? returns a boolean
...
The `Cask::DSL#discontinued?` method is expected to return a boolean
value (`true`/`false`) but it will return `nil` for any casks without
a `caveats` block. `nil` is still falsy but this commit ensures that
the method will properly return a boolean value in this scenario.
2022-06-23 14:03:15 -04:00
Markus Reiter
0b6b05d1aa
Implement nested url do
API.
2021-04-02 01:41:44 +02:00
Cassidy Marble
267040e5df
bugfix: Add args and options to lazy url block
2021-03-12 10:26:59 -07:00
Bo Anderson
323ff660fa
rubocop: use consistent array/hash indentation
2021-02-11 13:27:42 +00:00
EricFromCanada
6fc116318e
fixes for grammar and wording
2021-01-26 16:19:47 -05:00
Michka Popoff
5e91802470
checksum: simplify, use only sha256
...
We use only one sha type right now.
Needed for https://github.com/Homebrew/brew/pull/10186
2021-01-07 20:46:13 +01:00
Markus Reiter
3b366d05b9
Fix code style.
2020-12-12 17:43:23 -05:00
Seeker
6794a78087
livecheck: add support for casks
2020-12-12 17:43:21 -05:00
Markus Reiter
6e5cf565e3
Ignore verified
for url do
blocks.
2020-12-12 06:01:26 +01:00
Markus Reiter
76a3c0338b
Add unversioned?
method to Cask::URL
.
2020-12-07 21:40:47 +01:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes.
2020-12-02 10:43:04 +00:00
Markus Reiter
7a83f34dd1
Support casks in brew fetch
.
2020-11-19 19:46:59 +01:00
Markus Reiter
0184e271d8
Fix RuboCop offenses.
2020-11-17 11:09:55 +01:00
Jonathan Chang
5ce561c4d1
rubocop: fix Naming/MemoizedInstanceVariableName
2020-11-10 23:28:31 +11:00
Markus Reiter
d66ca60cdb
Only warn if repo of discontinued cask is archived.
2020-11-08 18:08:02 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
8b97c27c21
brew style manual fixes
2020-09-01 14:26:45 +01:00
Markus Reiter
5d6c682f81
Document Cask::DSL
.
2020-08-26 03:13:59 +02:00
Markus Reiter
77d25da5e5
Fix missing methods in cask DSL.
2020-08-19 23:05:21 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02:00
Markus Reiter
9ea1dcf4ca
Fix auditing of cask languages.
2020-08-12 00:45:01 +02:00
Waldir Pimenta
ffed8fdbb3
Add a desc
stanza to the cask DSL
2020-08-08 23:02:23 +01:00
Markus Reiter
abaf9c40ae
Fix code style.
2020-07-22 01:09:14 +02:00
Markus Reiter
8d148b1fbc
Remove special-casing of MacOS::languages
.
2020-07-22 01:09:14 +02:00
Dario Vladovic
3a21ca8956
Implement mdimporter
cask stanza
2020-04-06 15:24:14 +02:00
Tim Masliuchenko
22d821323c
Feedbacks
2019-10-23 16:28:00 +03:00
Tim Masliuchenko
3ef5e06943
Add Manpage artifact
2019-10-22 15:21:49 +03: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
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
d64429a736
rubocop: enable Style/IfUnlessModifier.
2019-02-21 12:55:49 +00:00
Markus Reiter
190ff7558a
Use saved cask config for reinstall/upgrade/uninstall.
2019-02-15 10:09:14 +01:00
Markus Reiter
59e3a532ff
Remove the accessibility_access
stanza.
2018-10-07 21:53:31 +02:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
...
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00