Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
2e5272d04c
Deprecate/disable code for Homebrew 2.5.0.
...
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Mike McQuaid
4f75a77b08
Update deprecations
...
Add more deprecations, disable deprecations and remove disabled code.
2020-05-18 13:50:46 +01:00
Mike McQuaid
5c6ef3d920
Disable more deprecations.
...
- Turn more old `odeprecated` into `odisabled`
- Remove more old `odisabled`
- Remove code for older Ruby versions
2018-07-14 16:00:50 +01:00
Markus Reiter
5b7831f06f
Use module Compat
for everything.
2018-05-18 13:35:41 +02:00
Mike McQuaid
9b8c30e0c8
compat/extend/string: fix odisabled return.
...
`odisabled` will still return for a formula in `.brew`. This means
`EOS.undent` returns `nil` and the formula cannot be parsed. Instead
return the actual string in this case to avoid e.g. patches blowing up
with `nil` strings.
Fixes #4049 .
2018-04-11 16:16:30 -07:00
Mike McQuaid
cffa5a9864
Disable/delete/add more deprecations
...
Move various `odeprecated` to `odisabled` and delete uses of
`odisabled`.
2018-04-08 14:57:17 -07:00
Mike McQuaid
77f1768108
Disable and add more deprecations.
...
These have all been deprecated/compat for a while.
2018-01-18 09:47:33 +00:00
Markus Reiter
487bec9570
Move String#undent
to compat
.
2017-10-18 14:39:09 +02:00