49 Commits

Author SHA1 Message Date
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04. 2022-11-09 14:45:43 +00:00
Rylan Polster
f66b5ff208
Include test deps when loading a formula from the API 2022-09-21 02:53:58 -04:00
Mike McQuaid
7349c2b996
brew style --fix 2022-09-13 09:43:09 +01:00
Shaun Jackman
b9e1a51266
test: Update tests that mock gcc@5 2022-09-06 14:16:16 +01:00
Rylan Polster
ebf109ade5
Fix tests 2022-07-25 19:22:15 +02:00
Rylan Polster
edc14c3786
Fix style 2022-07-25 08:56:10 +02:00
Rylan Polster
bae5abda82
Remove uses_from_macos dep duplication in FormulaAPILoader 2022-07-25 08:49:19 +02:00
Rylan Polster
7392f9811e
Formulary: use variations hash when installing from API 2022-07-24 22:59:42 +02:00
Rylan Polster
15cf890ed7
Fix caveats when loading from the API 2022-06-16 20:24:22 -04:00
Rylan Polster
0ea9f5ec80
Add tests for convert_to_string_or_symbol 2022-06-16 16:45:38 -04:00
Rylan Polster
3cf86dad30
Handle deprecate/disable symbols when loading from the API 2022-06-16 16:22:59 -04:00
Rylan Polster
78aa927ba8
Fix dependency check test again 2022-06-16 15:27:19 -04:00
Rylan Polster
2adfdae482
Fix dependency check test 2022-06-16 14:52:21 -04:00
Rylan Polster
8c8c6964c8
Add more API test coverage 2022-06-16 14:27:39 -04:00
Rylan Polster
dd516e4355
Expand Formulary test coverage 2022-06-16 13:58:23 -04:00
Rylan Polster
0113774e90
Add test 2022-06-15 18:09:51 -04:00
Rylan Polster
ccd46af7c6
Cleanup 2022-06-14 16:42:10 -04:00
Mike McQuaid
0cda6a0657
Only use patchelf.rb
Remove support for using the `patchelf` formula for writing as it's been
off by default for a long time now.
2021-10-19 15:15:56 +01:00
Rylan Polster
5d536d66fc
Rename HOMEBREW_JSON_CORE to HOMEBREW_INSTALL_FROM_API 2021-08-27 00:24:15 -04:00
Rylan Polster
60203afdd5
Merge env variables into HOMEBREW_JSON_CORE 2021-06-18 12:10:26 -04:00
Rylan Polster
8b04bcb994
Only allow mapping with environment variable
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-16 10:27:15 -04:00
Rylan Polster
75c1a23f63
Rename method to ::map_name_to_bottle 2021-06-15 11:21:59 -04:00
Rylan Polster
44bc942703
Fix tests 2021-06-14 12:59:03 -04:00
Rylan Polster
e9631d969c
Formulary: add ::map to map formula refs 2021-06-14 12:01:01 -04:00
Bo Anderson
f174d4363f
extend/pathname: limit write override to a refinement 2021-05-04 14:20:20 +01:00
Mike McQuaid
d73351251c
Deprecate, disable, delete code for next major/minor version.
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Michka Popoff
0a292c7041
linux: use preferred_gcc instead of gcc 2021-02-09 21:48:48 +01:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
24eff8f81a Pass args in SoftwareSpec instead of using global args. 2020-07-30 03:21:12 +02:00
Mike McQuaid
4f75a77b08
Update deprecations
Add more deprecations, disable deprecations and remove disabled code.
2020-05-18 13:50:46 +01:00
Michelle Nguyen
2264c08cee
Fetch formula resources before unlinking during upgrade.
Fixes #6374.
2020-05-11 09:37:56 +01:00
Mike McQuaid
5dd8ead51a
Rename Formula#installed? to Formula#latest_version_installed?
This naming has always been a bit weird and confusing so let's change
it and provide a `compat` fallback for later deprecation.
2019-12-03 11:42:42 +00:00
Mike McQuaid
02ded996a4
formulary_spec: remove deprecated tap-pin usage. 2019-10-15 09:13:11 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Shaun Jackman
605e61095a relocation_formulae: Poured bottles depend on gcc [Linux] 2018-10-23 09:03:20 -07:00
Mike McQuaid
78eba5b815
Autofix RuboCop RSpec failures 2018-09-20 13:36:42 +01:00
Shaun Jackman
1b688a3a25 Relocate bottles on Linux using patchelf
Ensure patchelf is installed to pour bottles and build bottles.
2018-07-12 10:21:26 -07:00
Markus Reiter
7762ce32aa Use more descriptive heredoc names. 2018-07-11 18:15:30 +02:00
Mike McQuaid
9e2baa3bff Add additional runtime_dependency related tests. 2018-06-01 21:36:28 +01:00
Markus Reiter
d0d7116dc8 Refactor Formulary spec. 2018-04-20 19:11:22 +02:00
Markus Reiter
77c9c1ddf0 Use described_class in Formulary spec. 2018-04-20 19:11:22 +02: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
9bee9ca575 Use “squiggly” heredocs. 2017-10-18 14:39:09 +02:00
Shaun Jackman
9642ec769e testball_bottle-0.1: Add the formula to the bottle
Update the SHA-256.
2017-09-28 12:29:23 -07:00
Mike McQuaid
ae8235c555 Revert "Raise an exception when double loading a formula" 2017-08-12 15:00:36 +01:00
Alyssa Ross
4760f4e803
Raise an exception when double loading a formula
(As proposed in #2673)
2017-08-11 22:40:08 +01:00
Markus Reiter
2ad3a87045 Silence all specs by default. 2017-07-29 20:25:37 +02:00
Markus Reiter
b0cd1c732d Convert Formula test to spec. 2017-02-25 14:06:28 +01:00
Markus Reiter
8e0940cc2f Convert Formulary test to spec. 2017-02-20 20:04:58 +01:00