Skip to content

Commit f4603fd

Browse files
committed
Portable Ruby 4.0.1
1 parent 3c02613 commit f4603fd

File tree

13 files changed

+25
-13
lines changed

13 files changed

+25
-13
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: vale docs/
5454

5555
- name: Install Ruby
56-
uses: ruby/setup-ruby@f8d7259c7a66155a7c4a157a1a10ca601f186594 # v1.271.0
56+
uses: ruby/setup-ruby@90be1154f987f4dc0fe0dd0feedac9e473aa4ba8 # v1.286.0
5757
with:
5858
bundler-cache: true
5959
working-directory: docs

Library/.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ inherit_mode:
2020
- Exclude
2121

2222
AllCops:
23-
TargetRubyVersion: 3.4
23+
TargetRubyVersion: 4.0
2424
NewCops: enable
2525
Include:
2626
- "**/*.rbi"

Library/Homebrew/.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.8
1+
4.0.1

Library/Homebrew/Gemfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ source "https://rubygems.org"
55
# The default case (no envs), should always be a restrictive bound on the lowest supported minor version.
66
# This is the branch that Dependabot will use.
77
if ENV.fetch("HOMEBREW_USE_RUBY_FROM_PATH", "").empty?
8-
ruby "~> 3.4.0"
8+
ruby "~> 4.0.0"
99
else
10-
ruby ">= 3.4.0"
10+
ruby ">= 4.0.0"
1111
end
1212

1313
# disallowed gems (should not be used)
@@ -26,6 +26,9 @@ end
2626
group :formula_test, optional: true do
2727
gem "minitest", require: false
2828
end
29+
group :irb, optional: true do
30+
gem "irb", require: false
31+
end
2932
group :livecheck, optional: true do
3033
gem "ruby-progressbar", require: false
3134
end
@@ -54,6 +57,7 @@ group :style, :tests, optional: true do
5457
gem "test-prof", require: false
5558
end
5659
group :tests, optional: true do
60+
gem "ostruct", require: false
5761
gem "parallel_tests", require: false
5862
gem "rspec", require: false
5963
gem "rspec-core", require: false
@@ -90,6 +94,7 @@ end
9094
gem "addressable"
9195
gem "base64"
9296
gem "concurrent-ruby"
97+
gem "fiddle"
9398
gem "patchelf"
9499
gem "plist"
95100
gem "ruby-macho"

Library/Homebrew/Gemfile.lock

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ GEM
1616
elftools (1.3.1)
1717
bindata (~> 2)
1818
erubi (1.13.1)
19+
fiddle (1.1.8)
1920
hana (1.3.7)
2021
io-console (0.8.2)
2122
json (2.18.0)
@@ -33,6 +34,7 @@ GEM
3334
minitest (6.0.1)
3435
prism (~> 1.5)
3536
netrc (0.11.0)
37+
ostruct (0.6.3)
3638
parallel (1.27.0)
3739
parallel_tests (5.5.0)
3840
parallel
@@ -184,10 +186,12 @@ DEPENDENCIES
184186
base64
185187
concurrent-ruby
186188
csv
189+
fiddle
187190
json_schemer
188191
kramdown
189192
method_source
190193
minitest
194+
ostruct
191195
parallel_tests
192196
patchelf
193197
plist
@@ -226,7 +230,7 @@ DEPENDENCIES
226230
yard-sorbet
227231

228232
RUBY VERSION
229-
ruby 3.4.8p72
233+
ruby 4.0.1
230234

231235
BUNDLED WITH
232-
2.6.9
236+
4.0.3

Library/Homebrew/bundle/dumper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# frozen_string_literal: true
33

44
require "fileutils"
5-
require "pathname"
65

76
module Homebrew
87
module Bundle

Library/Homebrew/dev-cmd/irb.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def run
7373
Homebrew.install_bundler_gems!(groups: ["pry"])
7474
require "pry"
7575
else
76+
Homebrew.install_bundler_gems!(groups: ["irb"])
7677
require "irb"
7778
end
7879

Library/Homebrew/vendor/bundle/bundler/setup.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ def self.extension_api_version
4949
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.1/lib")
5050
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib")
5151
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib")
52+
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/fiddle-1.1.8")
53+
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/fiddle-1.1.8/lib")
5254
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib")
5355
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/io-console-0.8.2")
5456
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/io-console-0.8.2/lib")
@@ -67,6 +69,7 @@ def self.extension_api_version
6769
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-1.8.0/lib")
6870
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-6.0.1/lib")
6971
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib")
72+
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ostruct-0.6.3/lib")
7073
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.27.0/lib")
7174
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.5.0/lib")
7275
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
ruby_TAG=arm64_big_sur
2-
ruby_SHA=1c98fa49eacc935640a6f8e10a2bf33f14cfc276804b71ddb658ea45ba99d167
2+
ruby_SHA=0cb864bed6007c7d15638ab38bc60e0f16bd6de93c09503d76a5128d2a74d4e6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
ruby_TAG=arm64_linux
2-
ruby_SHA=56b0017d634509e49272a6eccd88f888dd4031404e230f9defb3b21707781310
2+
ruby_SHA=2135f7cd7eec7bf63ea0ea1790c80cca9c807f130489fac2404d65a8f531c281

0 commit comments

Comments
 (0)