ruby-changes:74382
From: Peter <ko1@a...>
Date: Mon, 7 Nov 2022 19:52:34 +0900 (JST)
Subject: [ruby-changes:74382] 0fb7a1c77c (master): [rubygems/rubygems] Drop support for HP-UX
https://git.ruby-lang.org/ruby.git/commit/?id=0fb7a1c77c From 0fb7a1c77c8d080f1d5099e07ed705cfd652f029 Mon Sep 17 00:00:00 2001 From: Peter Zhu <peter@p...> Date: Thu, 3 Nov 2022 14:41:40 -0400 Subject: [rubygems/rubygems] Drop support for HP-UX Support for HP-UX was dropped in Ruby in ruby/ruby#5457. https://github.com/rubygems/rubygems/commit/a3a8df3582 --- lib/bundler/vendor/thor/lib/thor/shell/basic.rb | 2 +- lib/rubygems/platform.rb | 1 - test/rubygems/test_gem_platform.rb | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/bundler/vendor/thor/lib/thor/shell/basic.rb b/lib/bundler/vendor/thor/lib/thor/shell/basic.rb index 8eff00bf3d..6ffb21672f 100644 --- a/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +++ b/lib/bundler/vendor/thor/lib/thor/shell/basic.rb @@ -425,7 +425,7 @@ class Bundler::Thor https://github.com/ruby/ruby/blob/trunk/lib/bundler/vendor/thor/lib/thor/shell/basic.rb#L425 end def unix? - RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i + RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix)/i end def truncate(string, width) diff --git a/lib/rubygems/platform.rb b/lib/rubygems/platform.rb index 6f4ead1af8..93330c2865 100644 --- a/lib/rubygems/platform.rb +++ b/lib/rubygems/platform.rb @@ -97,7 +97,6 @@ class Gem::Platform https://github.com/ruby/ruby/blob/trunk/lib/rubygems/platform.rb#L97 when /darwin(\d+)?/ then [ "darwin", $1 ] when /^macruby$/ then [ "macruby", nil ] when /freebsd(\d+)?/ then [ "freebsd", $1 ] - when /hpux(\d+)?/ then [ "hpux", $1 ] when /^java$/, /^jruby$/ then [ "java", nil ] when /^java([\d.]*)/ then [ "java", $1 ] when /^dalvik(\d+)?$/ then [ "dalvik", $1 ] diff --git a/test/rubygems/test_gem_platform.rb b/test/rubygems/test_gem_platform.rb index ecb902ddbe..6e8d598c33 100644 --- a/test/rubygems/test_gem_platform.rb +++ b/test/rubygems/test_gem_platform.rb @@ -86,7 +86,6 @@ class TestGemPlatform < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_platform.rb#L86 def test_initialize test_cases = { "amd64-freebsd6" => ["amd64", "freebsd", "6"], - "hppa2.0w-hpux11.31" => ["hppa2.0w", "hpux", "11"], "java" => [nil, "java", nil], "jruby" => [nil, "java", nil], "universal-dotnet" => ["universal", "dotnet", nil], -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/