Markus Reiter
0f0055ede4
Make documentation @api private
by default.
2024-04-26 19:04:20 +02:00
apainintheneck
db507be41a
keg: update sorting by version logic
...
This updates logic to add a `#scheme_and_version` method to be used
with `.sort_by` and `.max_by`. Using `Keg#version` by itself can be
inaccurate when different version schemes are present. This also
updates the behavior of `Formula#eligible_kegs_for_cleanup` to match
the previous behavior. We were dropping the wrong keg based on the
sort being reversed in a previous PR.
2024-03-31 17:52:32 -07:00
Bo Anderson
dd382487c7
Sort kegs based on version scheme
2024-03-29 23:33:41 +00:00
Issy Long
f4218a6316
Fix RuboCop Performance/MapCompact
offenses
...
- Rename an iterator variable since it would make the line too long.
2024-02-25 22:59:59 +00:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
hyuraku
e3f42e6f89
repair CaskDependent#runtime_dependencies
2022-02-10 00:29:39 +09:00
Bo Anderson
861dea9ada
Bump various type strictnesses
2021-09-11 01:00:23 +01:00
Mike McQuaid
ba8c4ce89f
installed_dependents: tweak comment.
2021-07-16 13:13:12 +01:00
hyuraku
a61d1a7072
repair CaskDependent#runtime_dependencies
2021-07-15 23:49:41 +09:00
hyuraku
3a6c998ad7
repair style and comment
2021-07-15 22:40:32 +09:00
hyuraku
5de162f71a
installed_dependents: reject build formula
2021-07-15 21:48:21 +09:00
Rylan Polster
b096bf1fed
dependency::expand
: only prune missing deps with flag
2021-06-18 12:03:22 -04:00
nandahkrishna
f7f9433443
Keg.find_some_installed_dependents: move to installed_dependents.rb
2021-02-12 01:42:17 +05:30