Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Issy Long
3a83b5492c
rubocop: Clean up Style/BlockDelimiters
excludes and autofix offenses
...
- The defaults of using "do ... end" for multi-line blocks everywhere is
good, better than switching everything to braces everywhere.
2023-03-08 23:54:22 +00:00
Issy Long
734a651f93
rubocop: Enable Layout/MultilineMethodCallIndentation
& fix offenses
...
- Part of trying to reduce the number of `Excludes:` we have in our
RuboCop configs.
- The fixes here all seemed reasonable, with some minimal tweaks for
line length and less floatiness. Apart from `test/dev-cmd/bottle_spec.rb`
where RuboCop wanted to do some ridiculously floaty indentation and there
wasn't an obvious alternative place to break the lines, so I opted for
in-line disables instead.
2023-03-03 22:18:51 +00:00
Douglas Eichelberger
b60eba1aa4
Resolve resource_spec violation
2023-01-22 17:26:44 -08:00
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