Douglas Eichelberger
aab04229d1
Code review fixes
2024-02-11 20:27:39 -08:00
Douglas Eichelberger
5b5cfe89de
Resolve violations from removing hidden.rbi
2024-02-11 20:27:38 -08:00
Douglas Eichelberger
eb7c3e52a0
Require SystemInclude only where needed
2024-01-31 11:42:01 -08:00
Douglas Eichelberger
3a27cac7df
Merge pull request #16510 from dduugg/inverse-include-exclude-cop
...
Vendor remaining Rails cops, remove ActiveSupport
2024-01-30 11:59:10 -08:00
Douglas Eichelberger
e00d066d87
Replace Time refinement with Timer Util
2024-01-29 18:50:12 -08:00
Douglas Eichelberger
6472aca1a6
Prefer endless methods
2024-01-26 15:03:59 -08:00
Douglas Eichelberger
8c832e0905
Remove some fixed FIXMEs
2024-01-26 12:00:13 -08:00
Douglas Eichelberger
e574904cb7
Use each_with_object
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
1a40468ce4
Fix compact_blank style
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
2f8ad2f5e6
Inline index_by
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
53bba9c00f
cleanup
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
66aff2af7b
concise
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
4c25250e72
Improve atomic_write sig
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
1790904152
Resolve 'Error: can't add a new key into hash during iteration'
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
8efe73b32c
Add Object#deep_dup to extend/
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
f6c7eb7124
Add hash/keys to extend/
2024-01-19 13:36:17 -08:00
Douglas Eichelberger
14f8a086d8
brew vendor-gems: commit updates.
2024-01-19 13:36:17 -08:00
Douglas Eichelberger
a87cdf0d21
Add Hash#deep_transform_values to extend/
2024-01-19 13:36:16 -08:00
Douglas Eichelberger
0cdd4eee3b
Add Hash#deep_merge to extend/
2024-01-19 13:36:16 -08:00
Douglas Eichelberger
8e9d294df2
Add File.atomic_write to extend/
2024-01-19 13:36:16 -08:00
Douglas Eichelberger
79e2379d98
Add Array#fourth to resolve cask errors
2024-01-19 13:36:16 -08:00
Douglas Eichelberger
c02520f604
Fix style/type violations
2024-01-19 13:36:16 -08:00
Douglas Eichelberger
2e21efff46
Add ActiveSupport String#exclude? to extend/
2024-01-19 13:35:34 -08:00
Douglas Eichelberger
b60d951d48
Update from upstream, remove unused methods
2024-01-19 13:34:52 -08:00
Douglas Eichelberger
f8de5dfd60
Copy enumerable file
2024-01-19 13:34:52 -08:00
Douglas Eichelberger
5546f778e5
Extend Module when requiring sorbet
2024-01-19 13:34:52 -08:00
Douglas Eichelberger
08e12b2383
Remove ActiveSupport Array access core extensions
2024-01-19 13:34:52 -08:00
Issy Long
c63723bd7d
Merge pull request #16501 from issyl0/rubocop-new-rules-style-redundant-freeze
...
Fix RuboCop `Style/RedundantFreeze` offenses
2024-01-19 15:05:08 +00:00
Issy Long
bc5e422815
Merge pull request #16497 from issyl0/rubocop-new-rules-style-array-intersect
...
Fix RuboCop `Style/ArrayIntersect` offenses
2024-01-19 13:00:30 +00:00
Patrick Linnane
74a487ccfc
hardware/cpu: add virtualized?
check
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-01-18 16:46:59 -08:00
Issy Long
f682147598
Fix RuboCop Style/RedundantFreeze
offenses
2024-01-18 22:20:01 +00:00
Issy Long
0e27dc2564
Fix RuboCop Style/ArrayIntersect
offenses
2024-01-18 14:11:43 +00:00
Michael Cho
0ff2458952
extend/ENV/shared: effective_arch as public API
2024-01-13 15:26:38 -05:00
Patrick Linnane
f63b089735
os/mac/hardware/cpu: add update comment
2024-01-06 08:58:20 -08:00
Douglas Eichelberger
ffd761d2e9
Create dedicated Attrable mixin for attr_ methods
2023-12-28 11:46:27 -08:00
Patrick Linnane
c0e6892c63
os/mac/hardware/cpu: update M3 values
2023-12-28 09:39:21 -08:00
Douglas Eichelberger
3abbf4447e
Some minor regexp match perf improvements
2023-12-27 13:16:36 -08:00
Bo Anderson
fba5a874fc
os/mac/hardware: use Westmere on >= Ventura
2023-12-23 04:58:53 +00:00
apainintheneck
536b37c766
cmd/config: Add core cask tap to output
...
This information is occasionally useful when debugging so we should
include it by default to make our lives easier.
2023-12-21 22:54:38 -08:00
Patrick Linnane
9dee80cb2d
various: fix style errors
2023-12-18 09:34:01 -08: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
Bo Anderson
5692c8ecbf
Fix style violations under newer RuboCop
2023-12-14 05:47:12 +00:00
Bo Anderson
688d87e839
Remove Ruby 2.6 & macOS system Ruby support code
2023-12-12 03:44:31 +00:00
Bo Anderson
b42256d286
Deprecate, disable & delete code for Homebrew 4.2.0
2023-12-07 23:42:13 +00:00
Bo Anderson
cc0a249f48
unpack_strategy/zip: fix super ancestor on macOS without Sorbet Runtime
2023-12-04 16:34:03 +00:00
Francois-Xavier Coudert
7eb2134fa4
Add M3 processors
2023-12-01 15:45:06 +01: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