ruby-changes:56430
From: Nobuyoshi <ko1@a...>
Date: Sat, 13 Jul 2019 07:26:19 +0900 (JST)
Subject: [ruby-changes:56430] Nobuyoshi Nakada: fd9f26df00 (master): Drop fossil rubygems support
https://git.ruby-lang.org/ruby.git/commit/?id=fd9f26df00 From fd9f26df005824f5b1f1f41adaf63f2ff57062a7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 10 Jul 2019 17:16:01 +0900 Subject: Drop fossil rubygems support diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec index d8a0dc5e..f1d1d1c 100644 --- a/ext/json/json.gemspec +++ b/ext/json/json.gemspec @@ -21,18 +21,6 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/json/json.gemspec#L21 s.summary = "JSON Implementation for Ruby".freeze s.test_files = ["./tests/test_helper.rb".freeze] - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<rake>.freeze, [">= 0"]) - s.add_development_dependency(%q<test-unit>.freeze, ["~> 2.0"]) - else - s.add_dependency(%q<rake>.freeze, [">= 0"]) - s.add_dependency(%q<test-unit>.freeze, ["~> 2.0"]) - end - else - s.add_dependency(%q<rake>.freeze, [">= 0"]) - s.add_dependency(%q<test-unit>.freeze, ["~> 2.0"]) - end + s.add_development_dependency(%q<rake>.freeze, [">= 0"]) + s.add_development_dependency(%q<test-unit>.freeze, ["~> 2.0"]) end diff --git a/ext/openssl/openssl.gemspec b/ext/openssl/openssl.gemspec index 720cb7f..47e6c18 100644 --- a/ext/openssl/openssl.gemspec +++ b/ext/openssl/openssl.gemspec @@ -21,27 +21,9 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/openssl/openssl.gemspec#L21 s.rubygems_version = "3.0.0.beta1".freeze s.summary = "OpenSSL provides SSL, TLS and general purpose cryptography.".freeze - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<ipaddr>.freeze, [">= 0"]) - s.add_development_dependency(%q<rake>.freeze, [">= 0"]) - s.add_development_dependency(%q<rake-compiler>.freeze, [">= 0"]) - s.add_development_dependency(%q<test-unit>.freeze, ["~> 3.0"]) - s.add_development_dependency(%q<rdoc>.freeze, [">= 0"]) - else - s.add_dependency(%q<ipaddr>.freeze, [">= 0"]) - s.add_dependency(%q<rake>.freeze, [">= 0"]) - s.add_dependency(%q<rake-compiler>.freeze, [">= 0"]) - s.add_dependency(%q<test-unit>.freeze, ["~> 3.0"]) - s.add_dependency(%q<rdoc>.freeze, [">= 0"]) - end - else - s.add_dependency(%q<ipaddr>.freeze, [">= 0"]) - s.add_dependency(%q<rake>.freeze, [">= 0"]) - s.add_dependency(%q<rake-compiler>.freeze, [">= 0"]) - s.add_dependency(%q<test-unit>.freeze, ["~> 3.0"]) - s.add_dependency(%q<rdoc>.freeze, [">= 0"]) - end + s.add_runtime_dependency(%q<ipaddr>.freeze, [">= 0"]) + s.add_development_dependency(%q<rake>.freeze, [">= 0"]) + s.add_development_dependency(%q<rake-compiler>.freeze, [">= 0"]) + s.add_development_dependency(%q<test-unit>.freeze, ["~> 3.0"]) + s.add_development_dependency(%q<rdoc>.freeze, [">= 0"]) end diff --git a/lib/racc/racc.gemspec b/lib/racc/racc.gemspec index 7349626..23f1185 100644 --- a/lib/racc/racc.gemspec +++ b/lib/racc/racc.gemspec @@ -20,24 +20,8 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/lib/racc/racc.gemspec#L20 s.rubygems_version = "3.1.0.pre1".freeze s.summary = "Racc is a LALR(1) parser generator".freeze - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<rake-compiler>.freeze, [">= 0.4.1"]) - s.add_development_dependency(%q<minitest>.freeze, ["~> 4.7"]) - s.add_development_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"]) - s.add_development_dependency(%q<hoe>.freeze, ["~> 3.18"]) - else - s.add_dependency(%q<rake-compiler>.freeze, [">= 0.4.1"]) - s.add_dependency(%q<minitest>.freeze, ["~> 4.7"]) - s.add_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"]) - s.add_dependency(%q<hoe>.freeze, ["~> 3.18"]) - end - else - s.add_dependency(%q<rake-compiler>.freeze, [">= 0.4.1"]) - s.add_dependency(%q<minitest>.freeze, ["~> 4.7"]) - s.add_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"]) - s.add_dependency(%q<hoe>.freeze, ["~> 3.18"]) - end + s.add_development_dependency(%q<rake-compiler>.freeze, [">= 0.4.1"]) + s.add_development_dependency(%q<minitest>.freeze, ["~> 4.7"]) + s.add_development_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"]) + s.add_development_dependency(%q<hoe>.freeze, ["~> 3.18"]) end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/