From 20d18bf0eafab95150d2e2dbbb9f27576965737f Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 10 May 2020 13:17:26 +0200 Subject: [PATCH] Move development dependencies to Gemfile * Which allows filtering by platforms, etc. --- Gemfile | 11 +++++++++-- waterfoul.gemspec | 7 ------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 94a1dda..8e6b92d 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,13 @@ source 'https://rubygems.org' -# Specify your gem's dependencies in waterfoul.gemspec gemspec -gem 'stackprof' +group :development do + gem "rake", "~> 13.0" + gem "rspec" + gem "guard" + gem "guard-rspec" + + gem 'byebug', platforms: :mri + gem 'stackprof', platforms: :mri +end diff --git a/waterfoul.gemspec b/waterfoul.gemspec index 1249cf9..85de81d 100644 --- a/waterfoul.gemspec +++ b/waterfoul.gemspec @@ -26,13 +26,6 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 2.1" - spec.add_development_dependency "rake", "~> 13.0" - spec.add_development_dependency "rspec" - spec.add_development_dependency "byebug" - spec.add_development_dependency "guard" - spec.add_development_dependency "guard-rspec" - spec.add_dependency "thor" spec.add_dependency "ffi", "~> 1.12.2" end