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
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
Rylan Polster
529f7b7953
Remove El Capitan system curl workaround
2023-11-16 11:47:48 -05:00
Rylan Polster
8704e79cc0
Separate MacOS
references
2023-11-15 18:19:39 -05:00
Bo Anderson
63a8474ad7
ENV/shared: fix macOS code not applying under HOMEBREW_SORBET_RUNTIME
2023-11-14 02:10:26 +00:00
Bo Anderson
386fd0548a
Support system Ruby 3 on Linux
2023-11-07 19:27:30 +00:00
Mike McQuaid
ff404fe5ab
Merge pull request #16184 from dduugg/rm-try
...
Remove use of ActiveSupport try
2023-11-06 13:11:01 +00:00
Mike McQuaid
d4bf3b0685
Merge pull request #16183 from dduugg/sorbet-updates
...
Sorbet updates for compatibility with recent releases
2023-11-06 13:10:12 +00:00
Shu Niu
2809678f77
Fix TypeError with gcc compiler in deprecated MacOS
...
In some deprecated MacOS, e.g.10.13 High Sierra, when compiling formulae with --cc=gcc-XX, homebrew will raise "TypeError: Return value: Expected type Symbol, got type String with value".
Convert "other" string to symbol to solve this.
2023-11-06 14:08:41 +08:00
Douglas Eichelberger
00ba09d73d
Remove use of ActiveSupport try
2023-11-05 09:28:19 -08:00
Douglas Eichelberger
0191af7899
resolve typecheck errors
2023-11-05 08:55:58 -08:00
Bo Anderson
7187b8b5d6
extend/kernel: fix odisabled
kwargs handling
2023-10-28 17:48:31 +01:00