22 Commits

Author SHA1 Message Date
Bo Anderson
eac32f0b20
Additional fixes for Ruby 3 compatibility 2022-10-18 01:54:59 +01:00
Bo Anderson
abfbb46678
Freeze formula definition once first instance is created 2022-08-31 20:40:42 +01:00
Sam Ford
e69345b942
Update livecheck_resource test values 2022-07-04 12:41:58 -04:00
Mohammad Zain Abbas
f4197fc96e
Minor documentation changes 2022-07-04 10:13:01 -04:00
Mohammad Zain Abbas
7ab79e5423
Update Library/Homebrew/test/resource_spec.rb
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-07-02 13:01:30 +05:00
Mohammad Zain Abbas
090d71163b
Update Library/Homebrew/test/resource_spec.rb
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-07-02 13:01:15 +05:00
Mohammad Zain Abbas
a874d833f9
Update Library/Homebrew/test/resource_spec.rb
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-07-02 13:01:07 +05:00
Mohammad Zain Abbas
ed37ee55a9 brew style fixes for livecheck tests in resource 2022-06-30 17:27:48 +02:00
Mohammad Zain Abbas
b3b17ee7bf Updated tests for livecheck block in resources 2022-06-30 17:06:32 +02:00
Mohammad Zain Abbas
ff63136c6f Added tests for livecheck in resource_spec.rb 2022-06-30 16:06:36 +02:00
Issy Long
6b76fd012a
Fix (auto-correct) RuboCop RSpec/BeNil offenses 2022-03-01 00:10:10 +00:00
Rylan Polster
af40e072b0
style: remove RSpec/NamedSubject violations 2021-02-01 20:30:51 -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
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Bo Anderson
c241dccbc8 test/resource_spec: fix flaky test 2020-03-28 00:10:42 +00:00
Jonathan Chang
7ddc185b35 Fix various typos 2019-08-19 16:12:34 +10:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09: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
Reto Kromer
d630f0885b more secure protocols 2018-08-06 16:23:07 +02:00
ilovezfs
7c07ec5fc1 resource: allow patches to be applied 2018-01-22 01:10:14 -08:00
Markus Reiter
2ad3a87045 Silence all specs by default. 2017-07-29 20:25:37 +02:00
Markus Reiter
babc375372 Convert Resource test to spec. 2017-02-22 07:25:25 +01:00