9 Commits

Author SHA1 Message Date
Douglas Eichelberger
6472aca1a6 Prefer endless methods 2024-01-26 15:03:59 -08:00
Issy Long
f682147598
Fix RuboCop Style/RedundantFreeze offenses 2024-01-18 22:20:01 +00:00
Issy Long
149b0e4f31
Fix new Style/MutableConstant RuboCop offenses for Ruby 3.1
- A follow-up to de592af20bbff5bcb548d2474f0722e59ff1129a, resetting the previous disabled comments too.
2023-12-16 11:57:06 +00:00
Issy Long
de592af20b
rubocop: Set TargetRubyVersion to 3.1 & disable all cops that fail
- As discussed in
  https://github.com/Homebrew/brew/pull/16337#issuecomment-1855668516,
  then we won't have the chicken/egg problem of fixing cops for syntax
  that's unsupported on Ruby 2.6 _before_ we set the TargetRubyVersion
  to 3.1, but if we set it too early then all the taps will fail.
2023-12-14 23:19:43 +00:00
Douglas Eichelberger
410fc64b7b Use encoding cache 2023-11-26 15:36:02 -08:00
Douglas Eichelberger
c36fafbcf2 Style fixes 2023-11-26 10:10:43 -08:00
Douglas Eichelberger
c7c539efa5 Strict typing 2023-11-26 10:05:14 -08:00
Douglas Eichelberger
ccbb05d5aa Remove concurrent/map Object#blank? cache 2023-11-26 09:58:19 -08:00
Douglas Eichelberger
b0338417c7 Vendor Object#blank? 2023-11-26 09:33:42 -08:00