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

portable-ruby 3.4.1 #269

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
12 changes: 6 additions & 6 deletions Formula/portable-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.tar.gz"
sha256 "8dc48fffaf270f86f1019053f28e51e4da4cce32a36760a0603a9aee67d7fd8d"
url "https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.1.tar.gz"
sha256 "3d385e5d22d368b064c817a13ed8e3cc3f71a7705d7ed1bae78013c33aa7c87f"
license "Ruby"

# This regex restricts matching to versions other than X.Y.0.
Expand All @@ -13,7 +13,7 @@ class PortableRuby < PortableFormula
regex(/href=.*?ruby[._-]v?(\d+\.\d+\.(?:(?!0)\d+)(?:\.\d+)*)\.t/i)
end

depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "portable-libyaml" => :build
depends_on "portable-openssl" => :build

Expand All @@ -24,8 +24,8 @@ class PortableRuby < PortableFormula
end

resource "msgpack" do
url "https://rubygems.org/downloads/msgpack-1.7.3.gem"
sha256 "edb751dc3378020296365fef3197e5eeab8a7d9a571a25d046464d71b97d3012"
url "https://rubygems.org/downloads/msgpack-1.7.5.gem"
sha256 "ffb04979f51e6406823c03abe50e1da2c825c55a37dee138518cdd09d9d3aea8"

livecheck do
url "https://rubygems.org/api/v1/versions/msgpack.json"
Expand Down Expand Up @@ -164,7 +164,7 @@ def install
shell_output("#{ruby} -rzlib -e 'puts Zlib.crc32(\"test\")'").chomp
assert_equal " \t\n`><=;|&{(",
shell_output("#{ruby} -rreadline -e 'puts Readline.basic_word_break_characters'").chomp
assert_equal '{"a"=>"b"}',
assert_equal '{"a" => "b"}',
shell_output("#{ruby} -ryaml -e 'puts YAML.load(\"a: b\")'").chomp
assert_equal "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
shell_output("#{ruby} -ropenssl -e 'puts OpenSSL::Digest::SHA256.hexdigest(\"\")'").chomp
Expand Down
Loading