From 1381fde5c10cfe27919a653153bf89de2dd9f281 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 15 Feb 2021 18:53:06 +0900 Subject: [PATCH] Use Gemfile instead of Gem::Specification#add_development_dependency. --- Gemfile | 4 +++- matrix.gemspec | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 1f058e3..11ebc06 100644 --- a/Gemfile +++ b/Gemfile @@ -2,5 +2,7 @@ source "https://rubygems.org" git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } -# Specify your gem's dependencies in matrix.gemspec gemspec + +gem "rake" +gem "test-unit" diff --git a/matrix.gemspec b/matrix.gemspec index d2ff9ce..6f68cbd 100644 --- a/matrix.gemspec +++ b/matrix.gemspec @@ -23,7 +23,4 @@ Gem::Specification.new do |spec| spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - - spec.add_development_dependency "bundler" - spec.add_development_dependency "rake" end