From 50a40f919d4984dd621a4ed6ba946b4e20370e26 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 Dec 2023 17:24:52 +0900 Subject: [PATCH] Use Gemfile instead of Gem::Specification#add_development_dependency --- Gemfile | 9 +++++++-- rubygems-mirror.gemspec | 6 ------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index d2fceab..f5a62b3 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,10 @@ source "https://rubygems.org" -git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } - gemspec + +gem "webrick", "~> 1.7" +gem "minitest", "~> 5.7" +gem "rdoc", "< 7", ">= 4.0" +gem "builder", "~> 3.2" +gem "rubygems-generate_index" +gem "rake" diff --git a/rubygems-mirror.gemspec b/rubygems-mirror.gemspec index aa902f1..d07aaa5 100644 --- a/rubygems-mirror.gemspec +++ b/rubygems-mirror.gemspec @@ -21,10 +21,4 @@ Gem::Specification.new do |s| s.specification_version = 4 s.add_runtime_dependency(%q.freeze, ["~> 2.9"]) - s.add_development_dependency(%q.freeze, ["~> 1.7"]) - s.add_development_dependency(%q.freeze, ["~> 5.7"]) - s.add_development_dependency(%q.freeze, ["< 7", ">= 4.0"]) - s.add_development_dependency(%q.freeze, ["~> 3.2"]) - s.add_development_dependency(%q.freeze) - s.add_development_dependency(%q.freeze) end