Mike McQuaid
9b725a5851
cask/dsl/version: reject invalid characters.
...
There was a `invalid_characters` method already but it was not being
used.
2021-03-30 14:15:14 +01:00
Rylan Polster
af40e072b0
style: remove RSpec/NamedSubject violations
2021-02-01 20:30:51 -05:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables
2021-01-29 19:50:24 +00:00
Markus Reiter
d5b184d17a
Add types for SystemCommand
.
2020-11-23 05:48:43 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Vítor Galvão
497a160cda
cask version MAJOR_MINOR_PATCH_REGEX: allow any word character instead of only digits
2019-12-07 14:04:55 +00:00
Mike McQuaid
3dc82bc8bf
Commit 'brew style --fix' results.
2019-07-23 17:09:57 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Vítor Galvão
0ee226769a
hbc: remove all *_to_slashes
2019-04-17 16:31:35 +01:00
Markus Reiter
2a3b7d072d
Add #unstable?
method for cask versions.
2019-03-27 13:48:03 +01:00
Claudia
5be80a78f6
Use Homebrew-controlled domain for Cask dummy URLs
...
In a number of Cask specs, the value of the `homepage` stanza is currently set
to https://example.com . As of 2018-11-28, the TLS certificate served by
example.com seems to be expired, possibly due to an oversight on ICANN’s side.
While the certificate is certainly going to be renewed soon, it would be
desirable for Homebrew’s test result to be less dependent on ICANN’s actions.
This commit changes the homepages of all test Casks to http://brew.sh , whose
domain and TLS certificate are both controlled by Homebrew.
2018-11-28 20:51:55 +01:00
Claudia
7b320fc03b
Move shared Cask examples closer to its clients
...
In Cask specs, we have recently introduced a couple of specialized
`shared_examples` directories. Those new directories are organized
below their respective packages (for instance,
`cask/artifact/shared_examples` and `cask/cmd/shared_examples`).
This commit moves the rest of the shared examples accordingly.
See also:
https://github.com/Homebrew/brew/pull/5247
2018-11-06 07:19:41 +01:00
commitay
da7d46aa14
remove appcast checkpoint audit
2018-10-08 10:54:30 +10: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
Reto Kromer
456571b15d
fix more insecure protocols
2018-08-06 16:50:42 +02:00
Markus Reiter
54aa412015
Use LazyObject
for Hbc::URL
.
2018-07-30 21:07:42 +02:00
Markus Reiter
28384ba518
Rename Hbc::SystemCommand
to SystemCommand
.
2018-07-22 21:11:47 +02:00
commitay
c5bbf28dd6
cask dsl versions: add minor_patch
2018-06-15 22:40:33 +10:00
commitay
c3ac638b9f
appcast: remove calculate_checkpoint
2018-06-11 13:15:32 +10:00
Mike McQuaid
5e1806e796
test: rubocop-rspec style auto-corrects.
...
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Markus Reiter
97333df4cb
Add helper method for Cask fixture paths and refactor CaskLoader.
2017-10-07 16:11:25 +02:00
Markus Reiter
a92b6318eb
Remove UnderscoreSupportingURI
.
2017-10-03 08:29:20 +02:00
Markus Reiter
ae4bafdb36
Simplify CurlDownloadStrategy.
2017-08-08 18:10:13 +02:00
ilovezfs
986887b413
Revert "Refactor SVN and cURL download strategies."
2017-08-07 14:31:56 -07:00
Markus Reiter
dc5a2c1764
Simplify CurlDownloadStrategy.
2017-08-07 21:31:17 +02:00
Kiyoshi '13k' Murata
c4b010b6d7
Fix curl invocation in Hbc::DSL::Appcast.
...
Fixes #2592
2017-06-01 06:02:50 -03:00
Markus Reiter
6bc1d0b5c1
Add missing :cask
metadata to specs.
2017-03-06 04:31:16 +01:00
Markus Reiter
9fc6c7b2be
Move Cask specs into brew tests
.
2017-03-05 23:08:14 +01:00