Skip to content

Commit a3a8df3

Browse files
committed
Drop support for HP-UX
Support for HP-UX was dropped in Ruby in ruby/ruby#5457.
1 parent fffe1f9 commit a3a8df3

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def dynamic_width_tput
425425
end
426426

427427
def unix?
428-
RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
428+
RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix)/i
429429
end
430430

431431
def truncate(string, width)

lib/rubygems/platform.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def initialize(arch)
9797
when /darwin(\d+)?/ then [ "darwin", $1 ]
9898
when /^macruby$/ then [ "macruby", nil ]
9999
when /freebsd(\d+)?/ then [ "freebsd", $1 ]
100-
when /hpux(\d+)?/ then [ "hpux", $1 ]
101100
when /^java$/, /^jruby$/ then [ "java", nil ]
102101
when /^java([\d.]*)/ then [ "java", $1 ]
103102
when /^dalvik(\d+)?$/ then [ "dalvik", $1 ]

test/rubygems/test_gem_platform.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ def test_self_new
8686
def test_initialize
8787
test_cases = {
8888
"amd64-freebsd6" => ["amd64", "freebsd", "6"],
89-
"hppa2.0w-hpux11.31" => ["hppa2.0w", "hpux", "11"],
9089
"java" => [nil, "java", nil],
9190
"jruby" => [nil, "java", nil],
9291
"universal-dotnet" => ["universal", "dotnet", nil],

0 commit comments

Comments
 (0)