diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-11-03 14:41:40 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-07 10:52:13 +0000 |
commit | 0fb7a1c77c8d080f1d5099e07ed705cfd652f029 (patch) | |
tree | 1e17bdac6be9962cdcd9da1654ef2af0ae869ca5 | |
parent | 011d4c57d21220249600dfb76db84840550da019 (diff) |
[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
-rw-r--r-- | lib/bundler/vendor/thor/lib/thor/shell/basic.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/platform.rb | 1 | ||||
-rw-r--r-- | test/rubygems/test_gem_platform.rb | 1 |
3 files changed, 1 insertions, 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 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 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 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], |