From fa25522c9c6d3b7a9246bd378888df19cfe8b71b Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 3 Nov 2022 14:52:51 -0400 Subject: [PATCH 1/2] Drop support for HP-UX Support for HP-UX was dropped in Ruby in ruby/ruby#5457. --- lib/thor/shell/basic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/thor/shell/basic.rb b/lib/thor/shell/basic.rb index ce673a2e..f7581166 100644 --- a/lib/thor/shell/basic.rb +++ b/lib/thor/shell/basic.rb @@ -425,7 +425,7 @@ def dynamic_width_tput 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) From da3bdc6d8191ed65fdcc1ed17e09699ca172d084 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 3 Nov 2022 14:55:15 -0400 Subject: [PATCH 2/2] Drop support for IRIX The IRIX OS is no longer maintained with the last release being 16 years ago. --- lib/thor/shell/basic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/thor/shell/basic.rb b/lib/thor/shell/basic.rb index f7581166..64e0afe7 100644 --- a/lib/thor/shell/basic.rb +++ b/lib/thor/shell/basic.rb @@ -425,7 +425,7 @@ def dynamic_width_tput end def unix? - RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix)/i + RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris)/i end def truncate(string, width)