From ca4355f4623c42ca0b130d0c9f6ffbee6044bf4a Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Tue, 5 Nov 2024 17:29:10 +0000 Subject: [PATCH 1/3] portable-ruby 3.3.6 --- Formula/portable-ruby.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/portable-ruby.rb b/Formula/portable-ruby.rb index 7073bee..46f3fcd 100644 --- a/Formula/portable-ruby.rb +++ b/Formula/portable-ruby.rb @@ -3,8 +3,8 @@ class PortableRuby < PortableFormula desc "Powerful, clean, object-oriented scripting language" homepage "https://www.ruby-lang.org/" - url "https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.5.tar.gz" - sha256 "3781a3504222c2f26cb4b9eb9c1a12dbf4944d366ce24a9ff8cf99ecbce75196" + url "https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz" + sha256 "8dc48fffaf270f86f1019053f28e51e4da4cce32a36760a0603a9aee67d7fd8d" license "Ruby" # This regex restricts matching to versions other than X.Y.0. From e07f908a85a0af5e79e1eeed3527370b9e2e5ae2 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Tue, 5 Nov 2024 09:37:23 -0800 Subject: [PATCH 2/3] portable-ruby: update `msgpack` resource Signed-off-by: Patrick Linnane --- Formula/portable-ruby.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/portable-ruby.rb b/Formula/portable-ruby.rb index 46f3fcd..b0c86ba 100644 --- a/Formula/portable-ruby.rb +++ b/Formula/portable-ruby.rb @@ -24,8 +24,8 @@ class PortableRuby < PortableFormula end resource "msgpack" do - url "https://rubygems.org/downloads/msgpack-1.7.2.gem" - sha256 "59ab62fd8a4d0dfbde45009f87eb6f158ab2628a7c48886b0256f175166baaa8" + url "https://rubygems.org/downloads/msgpack-1.7.3.gem" + sha256 "edb751dc3378020296365fef3197e5eeab8a7d9a571a25d046464d71b97d3012" livecheck do url "https://rubygems.org/api/v1/versions/msgpack.json" From 7a8d1707565abfe2623444d89cfd6a3fe725b191 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Tue, 5 Nov 2024 09:48:54 -0800 Subject: [PATCH 3/3] portable-ruby: remove patches Signed-off-by: Patrick Linnane --- Formula/portable-ruby.rb | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/Formula/portable-ruby.rb b/Formula/portable-ruby.rb index b0c86ba..f33cd62 100644 --- a/Formula/portable-ruby.rb +++ b/Formula/portable-ruby.rb @@ -47,35 +47,6 @@ class PortableRuby < PortableFormula end end - # Fix gem warning breaking change introduced in Ruby 3.3.5 (reverted in 3.3.6). - # https://bugs.ruby-lang.org/issues/20713 - patch do - url "https://github.com/ruby/ruby/commit/4e59e7d35fbd6ff87f63cd0aa5d6a2f923323fee.patch?full_index=1" - sha256 "b031c4f838ee78866e3f4b0de7ea60fbd4b4a4ae57eb3f9de620f1c8e26e4ab2" - end - - # Fix .lock files being created in the `bin` directory. - # https://bugs.ruby-lang.org/issues/20721 - # Instead of cherry-picking the relevant fixes (which themselves had since-fixed regressions), - # do what upstream do and simply update Rubygems to 3.5.20. - # Remove with Ruby 3.3.6. - patch do - url "https://github.com/ruby/ruby/commit/95f72a4a32396cae7475b39d7739fb534242b625.patch?full_index=1" - sha256 "24764ed8fc29dfd88235db7c5050f4fba40aa9dac0e2e41aff47fc016b633e76" - end - patch do - url "https://github.com/ruby/ruby/commit/ef3c4a7aa7c0a79a00f4daa50e0be1184d9fe536.patch?full_index=1" - sha256 "e893cd4b6a61f91b2095192bc905825c2b54bf849c1f5714256c7923f8b1dae4" - end - patch do - url "https://github.com/ruby/ruby/commit/3894841182c32de231b3998502bf1a9dba7cdb4f.patch?full_index=1" - sha256 "cf1b9aaa805426b3911bbcd29957dd5beb3fdfacea910a01b4a5c374f2afb9c2" - end - patch do - url "https://github.com/ruby/ruby/commit/77fb1bf434d7be9cf5d892404b04b20c18fa6f06.patch?full_index=1" - sha256 "744deac64ba9f52b1b03e7169333a8a6df42d77eb351130c16837ab69647ae5a" - end - def install # Remove almost all bundled gems and replace with our own set. rm_r ".bundle"