[前][次][番号順一覧][スレッド一覧]

ruby-changes:64907

From: Nobuyoshi <ko1@a...>
Date: Sat, 16 Jan 2021 19:43:40 +0900 (JST)
Subject: [ruby-changes:64907] 35a047301b (master): [ruby/io-console] Rubygems 3.2 supports `--platform` option

https://git.ruby-lang.org/ruby.git/commit/?id=35a047301b

From 35a047301b545dde2836948a7b1d4a39131f294e Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 16 Jan 2021 14:39:44 +0900
Subject: [ruby/io-console] Rubygems 3.2 supports `--platform` option

https://github.com/ruby/io-console/commit/c8046fde84

diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
index be05f09..0d6b7d6 100644
--- a/ext/io/console/io-console.gemspec
+++ b/ext/io/console/io-console.gemspec
@@ -22,11 +22,6 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/io/console/io-console.gemspec#L22
   ]
   s.extensions = %w[ext/io/console/extconf.rb]
 
-  if i = ARGV.index("--") and !(argv = ARGV[i+1..-1]).empty?
-    OptionParser.new(__FILE__) do |opt|
-      opt.on("--platform=PLATFORM") {|p| s.platform = p}
-    end.parse!(argv)
-  end
   if Gem::Platform === s.platform and s.platform =~ 'java'
     s.files.delete_if {|f| f.start_with?("ext/")}
     s.extensions.clear
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]