Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 3.3 (and dependents) #158215

Merged
merged 52 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
9356757
ruby 3.3
faisal Dec 25, 2023
929d93d
[email protected]: new formula
faisal Dec 27, 2023
abdeaf2
cocoapods: revision bump (Ruby 3.3)
faisal Dec 25, 2023
0e7daf0
cucumber-ruby: revision bump (Ruby 3.3)
faisal Dec 25, 2023
0e65265
dexter: revision bump (Ruby 3.3)
faisal Dec 25, 2023
d647af8
licensed: revision bump (Ruby 3.3)
faisal Dec 25, 2023
7d6ab81
mavim: revision bump (Ruby 3.3)
faisal Dec 25, 2023
419f51a
mdless: revision bump (Ruby 3.3)
faisal Dec 25, 2023
44b845a
mikutter: revision bump (Ruby 3.3)
faisal Dec 25, 2023
9f7b380
travis: revision bump (Ruby 3.3)
faisal Dec 25, 2023
314d6cc
uffizzi: revision bump (Ruby 3.3)
faisal Dec 25, 2023
48a9331
vim: revision bump (Ruby 3.3)
faisal Dec 25, 2023
3814dba
wpscan: revision bump (Ruby 3.3)
faisal Dec 25, 2023
9207d87
haste-client: revision bump (Ruby 3.3)
faisal Dec 27, 2023
dd42276
braid: revision bump (Ruby 3.3)
faisal Dec 27, 2023
c460498
solargraph: explicitly declare xz dependency
faisal Dec 25, 2023
c4b578f
weechat: patch for Ruby 3.3
faisal Dec 25, 2023
159301d
youplot: revision bump (Ruby 3.3)
faisal Jan 3, 2024
16dbf74
sugarjar: revision bump (Ruby 3.3)
faisal Jan 3, 2024
bdad09b
ronn: revision bump (Ruby 3.3)
faisal Jan 3, 2024
b5c219e
pgsync: revision bump (Ruby 3.3)
faisal Jan 3, 2024
9272517
passenger: revision bump (Ruby 3.3)
faisal Jan 3, 2024
082ab93
inko: revision bump and update for Ruby 3.3
faisal Jan 4, 2024
8624d6b
mailcatcher: update for Ruby 3.3 on macOS. Hold to [email protected] on Linux.
faisal Jan 3, 2024
0f58fd6
licensefinder: patch and update for Ruby 3.3
faisal Jan 4, 2024
11d9e93
fastlane: revision bump (Ruby 3.3)
faisal Dec 25, 2023
9384d91
braid: update 1.1.9_1 bottle.
p-linnane Jan 9, 2024
1364b74
cocoapods: update 1.14.3_1 bottle.
p-linnane Jan 9, 2024
2cfa10e
cucumber-ruby: update 9.1.1_1 bottle.
p-linnane Jan 9, 2024
7c870a5
dexter: update 0.5.1_1 bottle.
p-linnane Jan 9, 2024
2d7f4c5
fastlane: update 2.219.0_1 bottle.
p-linnane Jan 9, 2024
6c5fa6c
haste-client: update 0.3.0_1 bottle.
p-linnane Jan 9, 2024
3d1ce26
inko: update 0.13.2_1 bottle.
p-linnane Jan 9, 2024
31de1cb
licensed: update 4.4.0_2 bottle.
p-linnane Jan 9, 2024
216aa0a
licensefinder: update 7.1.0_1 bottle.
p-linnane Jan 9, 2024
7ad782b
macvim: update 9.0.1897_1 bottle.
p-linnane Jan 9, 2024
9998d01
mailcatcher: update 0.9.0 bottle.
p-linnane Jan 9, 2024
d583668
mdless: update 2.1.42_1 bottle.
p-linnane Jan 9, 2024
604f769
mikutter: update 5.0.5_2 bottle.
p-linnane Jan 9, 2024
28f39fc
passenger: update 6.0.19_1 bottle.
p-linnane Jan 9, 2024
dfbfa7b
pgsync: update 0.7.4_1 bottle.
p-linnane Jan 9, 2024
be698d4
ronn: update 0.7.3_3 bottle.
p-linnane Jan 9, 2024
dd45685
ruby: update 3.3.0 bottle.
p-linnane Jan 9, 2024
b3ef6be
[email protected]: add 3.2.2 bottle.
p-linnane Jan 9, 2024
62346b2
solargraph: update 0.50.0_1 bottle.
p-linnane Jan 9, 2024
f038b88
sugarjar: update 1.1.0_1 bottle.
p-linnane Jan 9, 2024
5dec5f1
travis: update 1.11.1_3 bottle.
p-linnane Jan 9, 2024
f4bf19d
uffizzi: update 2.3.4_1 bottle.
p-linnane Jan 9, 2024
ca27f51
vim: update 9.1.0_1 bottle.
p-linnane Jan 9, 2024
e4101d5
weechat: update 4.1.2_1 bottle.
p-linnane Jan 9, 2024
9b29e8f
wpscan: update 3.8.25_1 bottle.
p-linnane Jan 9, 2024
6e49b51
youplot: update 0.4.5_1 bottle.
p-linnane Jan 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
1 change: 1 addition & 0 deletions Formula/b/braid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Braid < Formula
tag: "v1.1.9",
revision: "0b2f7cd4296039c0e8c0a5f563443c4f0665d026"
license "MIT"
revision 1

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "288b638c1602782f7ea961a44d9df022cd1ab0b6cc84e6d149caf54d0ea75471"
Expand Down
1 change: 1 addition & 0 deletions Formula/c/cocoapods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Cocoapods < Formula
url "https://github.com/CocoaPods/CocoaPods/archive/refs/tags/1.14.3.tar.gz"
sha256 "de05766e5771e0cef7af89f73b0e42a1f1c52a76ce1288592cd9511bcd688a9e"
license "MIT"
revision 1

bottle do
sha256 cellar: :any, arm64_sonoma: "659ed73f0da29fb6bc21269a51d83d60ac069cc0ca42548776149a2a1f839928"
Expand Down
1 change: 1 addition & 0 deletions Formula/c/cucumber-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class CucumberRuby < Formula
url "https://github.com/cucumber/cucumber-ruby/archive/refs/tags/v9.1.1.tar.gz"
sha256 "0ed71e206463b0deef9b50bfcbf611ec3efd2075aca93505559ed16670b39b79"
license "MIT"
revision 1

livecheck do
url :stable
Expand Down
1 change: 1 addition & 0 deletions Formula/d/dexter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Dexter < Formula
url "https://github.com/ankane/dexter/archive/refs/tags/v0.5.1.tar.gz"
sha256 "280403858ea209b41910f487f737fd602b41c60cc6cd3e5cf54ed5db9330b321"
license "MIT"
revision 1

bottle do
sha256 cellar: :any, arm64_sonoma: "92cb0fbac4487c140ca08f6f455a59c08244fc1a983c7601231a350a5a57e14e"
Expand Down
1 change: 1 addition & 0 deletions Formula/f/fastlane.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Fastlane < Formula
url "https://github.com/fastlane/fastlane/archive/refs/tags/2.219.0.tar.gz"
sha256 "100458a3bc60c23fbc374748b7eab3f4666aa50fb84ffe94daa9e074d5dbf059"
license "MIT"
revision 1
head "https://github.com/fastlane/fastlane.git", branch: "master"

livecheck do
Expand Down
1 change: 1 addition & 0 deletions Formula/h/haste-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class HasteClient < Formula
url "https://github.com/toptal/haste-client/archive/refs/tags/v0.3.0.tar.gz"
sha256 "9f7e943be47408ba0b9765328794e7b87bdb2a785f1e9edb5d541d67b4a75d31"
license "MIT"
revision 1
head "https://github.com/toptal/haste-client.git", branch: "master"

bottle do
Expand Down
3 changes: 2 additions & 1 deletion Formula/i/inko.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Inko < Formula
url "https://releases.inko-lang.org/0.13.2.tar.gz"
sha256 "3f188a4a2242c61624081d757b66281ba0f0cfb193ebb590f1470f1f6400f773"
license "MPL-2.0"
revision 1
head "https://github.com/inko-lang/inko.git", branch: "main"

bottle do
Expand All @@ -15,8 +16,8 @@ class Inko < Formula
end

depends_on "coreutils" => :build
depends_on "llvm@15" => :build
depends_on "rust" => :build
depends_on "llvm@15"
depends_on "zstd"

uses_from_macos "libffi", since: :catalina
Expand Down
2 changes: 1 addition & 1 deletion Formula/l/licensed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Licensed < Formula
tag: "4.4.0",
revision: "0f5e5a1d289665e8a3d7133cba6c6f3a15359ecb"
license "MIT"
revision 1
revision 2

bottle do
sha256 cellar: :any, arm64_sonoma: "01f9d3789a4289a252f371d5bf13629b1439344c6591c93575d9c133b2fbcde2"
Expand Down
12 changes: 12 additions & 0 deletions Formula/l/licensefinder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ class Licensefinder < Formula
desc "Find licenses for your project's dependencies"
homepage "https://github.com/pivotal/LicenseFinder"
# pull from git tag as gemspec uses `git ls-files`
# For versions following v7.1.0, may be able to remove 4cac18e5 patch.
url "https://github.com/pivotal/LicenseFinder.git",
tag: "v7.1.0",
revision: "81092404aeaf1cb39dbf2551f50f007ed049c26c"
license "MIT"
revision 1

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "9ef656bf28c2086f747658798a989432e14c90e58c01c15bf792b1a5b5b711e7"
Expand All @@ -21,6 +23,14 @@ class Licensefinder < Formula

depends_on "ruby"

# Ruby 3.3 introduced changes that mean we now need to manually require
# racc. See https://bugs.ruby-lang.org/issues/19702 for details.
# LicenseFinder versions after v7.1.0 may address this requirement.
patch do
url "https://github.com/pivotal/LicenseFinder/commit/4cac18e5c7a48f72700b8de4db97d3150637a20d.patch?full_index=1"
sha256 "7a7a9b201cd34a5f868901841ba5f144f0e75580664c8ec024792449348f5875"
end

def install
ENV["GEM_HOME"] = libexec
system "gem", "build", "license_finder.gemspec"
Expand All @@ -36,7 +46,9 @@ def install
(testpath/"Gemfile").write <<~EOS
source 'https://rubygems.org'
gem 'license_finder', '#{version}'
gem 'racc'
EOS

system "bundle", "install"
assert_match "license_finder, #{version}, #{license}",
shell_output(bin/"license_finder", 1)
Expand Down
1 change: 1 addition & 0 deletions Formula/m/macvim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class Macvim < Formula
desc "GUI for vim, made for macOS"
homepage "https://github.com/macvim-dev/macvim"
license "Vim"
revision 1
head "https://github.com/macvim-dev/macvim.git", branch: "master"

stable do
Expand Down
3 changes: 2 additions & 1 deletion Formula/m/mailcatcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Mailcatcher < Formula
end

depends_on "pkg-config" => :build
depends_on "libedit"
depends_on "libyaml"

uses_from_macos "xz" => :build
Expand All @@ -29,7 +30,7 @@ class Mailcatcher < Formula

on_linux do
depends_on "node" => :build
depends_on "ruby"
depends_on "ruby@3.2"
end

resource "bundler" do
Expand Down
1 change: 1 addition & 0 deletions Formula/m/mdless.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Mdless < Formula
url "https://github.com/ttscoff/mdless/archive/refs/tags/2.1.42.tar.gz"
sha256 "c9f9a846eea7a6fdbbd82549197de1faee5ca84929a7d117202c2c774f6c262f"
license "MIT"
revision 1

bottle do
sha256 cellar: :any, arm64_sonoma: "5cfc807befb1543428e53061bcee8ca8b20226905439f7874e80b68c760bc307"
Expand Down
2 changes: 1 addition & 1 deletion Formula/m/mikutter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Mikutter < Formula
url "https://mikutter.hachune.net/bin/mikutter-5.0.5.tar.gz", using: :homebrew_curl
sha256 "8f8d633fedd1a05767eacbd6840c6c268dd2a47f5cf7f7a520a38c8ea869f6c2"
license "MIT"
revision 1
revision 2
head "git://mikutter.hachune.net/mikutter.git", branch: "develop"

livecheck do
Expand Down
1 change: 1 addition & 0 deletions Formula/p/passenger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Passenger < Formula
url "https://github.com/phusion/passenger/releases/download/release-6.0.19/passenger-6.0.19.tar.gz"
sha256 "70eee7fecb8a6197517db3b6d134a839768a5388d5d08343e9e020910769b392"
license "MIT"
revision 1
head "https://github.com/phusion/passenger.git", branch: "stable-6.0"

bottle do
Expand Down
1 change: 1 addition & 0 deletions Formula/p/pgsync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Pgsync < Formula
url "https://github.com/ankane/pgsync/archive/refs/tags/v0.7.4.tar.gz"
sha256 "0d8c0d319374f658a8aacafb15edbc074328aaec503fa92aae6032d3e1f12e60"
license "MIT"
revision 1

bottle do
sha256 arm64_sonoma: "dcffe5761fc5428530f190c688049136dd2410e1b8dd686d16e06f7c687ef1f6"
Expand Down
2 changes: 1 addition & 1 deletion Formula/r/ronn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Ronn < Formula
url "https://github.com/rtomayko/ronn/archive/refs/tags/0.7.3.tar.gz"
sha256 "808aa6668f636ce03abba99c53c2005cef559a5099f6b40bf2c7aad8e273acb4"
license "MIT"
revision 2
revision 3

livecheck do
url :stable
Expand Down
20 changes: 6 additions & 14 deletions Formula/r/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ class Ruby < Formula
desc "Powerful, clean, object-oriented scripting language"
homepage "https://www.ruby-lang.org/"
license "Ruby"
revision 1
head "https://github.com/ruby/ruby.git", branch: "master"

stable do
url "https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz"
sha256 "96c57558871a6748de5bc9f274e93f4b5aad06cd8f37befa0e8d94e7b8a423bc"
url "https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz"
sha256 "96518814d9832bece92a85415a819d4893b307db5921ae1f0f751a9a89a56b7d"

# Should be updated only when Ruby is updated (if an update is available).
# The exception is Rubygem security fixes, which mandate updating this
# formula & the versioned equivalents and bumping the revisions.
resource "rubygems" do
url "https://rubygems.org/rubygems/rubygems-3.4.10.tgz"
sha256 "55f1c67fa2ae96c9751b81afad5c0f2b3792c5b19cbba6d54d8df9fd821460d3"
url "https://rubygems.org/rubygems/rubygems-3.5.4.tgz"
sha256 "bf70fee8dcc11ebea76d31399c3b6eea90590b06c1c587cef1b6e53ec32b0128"
end
end

Expand All @@ -34,21 +34,13 @@ class Ruby < Formula
sha256 x86_64_linux: "c93cfb32aa6168aefa19725dfbe005491fad4ad304c5a2181ce110d291850d42"
end

head do
url "https://github.com/ruby/ruby.git", branch: "master"
faisal marked this conversation as resolved.
Show resolved Hide resolved
depends_on "autoconf" => :build
depends_on "bison" => :build
end

keg_only :provided_by_macos

depends_on "autoconf" => :build
depends_on "bison" => :build
depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "libyaml"
depends_on "openssl@3"
depends_on "readline"

uses_from_macos "gperf"
uses_from_macos "libffi"
Expand Down Expand Up @@ -87,7 +79,7 @@ def install

system "./autogen.sh" if build.head?

paths = %w[libyaml openssl@3 readline].map { |f| Formula[f].opt_prefix }
paths = %w[libyaml openssl@3].map { |f| Formula[f].opt_prefix }
args = %W[
--prefix=#{prefix}
--enable-shared
Expand Down
Loading
Loading