summaryrefslogtreecommitdiff
path: root/ext/io/console
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-16 14:39:44 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-16 19:42:53 +0900
commit35a047301b545dde2836948a7b1d4a39131f294e (patch)
tree361712befae8abd76d64c907f5f9f65782d62818 /ext/io/console
parent6ab5504fe5d952783ab124ac52a3295d0ae3a87d (diff)
[ruby/io-console] Rubygems 3.2 supports `--platform` option
https://github.com/ruby/io-console/commit/c8046fde84
Diffstat (limited to 'ext/io/console')
-rw-r--r--ext/io/console/io-console.gemspec5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
index be05f0950a..0d6b7d64c1 100644
--- a/ext/io/console/io-console.gemspec
+++ b/ext/io/console/io-console.gemspec
@@ -22,11 +22,6 @@ Gem::Specification.new do |s|
]
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