From b68cd3360a5da44d10a134503d2429be5460d2b1 Mon Sep 17 00:00:00 2001 From: "@@@No user configured@@@" <@@@No user configured@@@> Date: Wed, 25 Nov 2015 08:11:37 +0100 Subject: [PATCH] Move dependencies to gemspec file. --- Gemfile | 16 ---------------- epafh.gemspec | 8 ++++++++ 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Gemfile b/Gemfile index a4d00b2..e318485 100644 --- a/Gemfile +++ b/Gemfile @@ -1,20 +1,4 @@ source "https://rubygems.org" -## TODO: move to epafh.gemspect -gem 'mail', '~> 2.6.3' -gem 'json' -gem 'thor' -gem 'pry' -gem 'pry-rescue' - -# manage remote API/web page -gem 'mechanize' - -# terminal colors -gem 'colorize' - -# for hash validation -gem 'hash_validator' - # Specify your gem's dependencies in epafh.gemspec gemspec diff --git a/epafh.gemspec b/epafh.gemspec index 4d486ba..ac0f5a9 100644 --- a/epafh.gemspec +++ b/epafh.gemspec @@ -29,4 +29,12 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.10" spec.add_development_dependency "rake", "~> 10.0" + spec.add_runtime_dependency "mail", "~> 2.6.3" + spec.add_runtime_dependency "json" + spec.add_runtime_dependency "thor" + spec.add_runtime_dependency "mechanize" + spec.add_runtime_dependency "colorize" + spec.add_runtime_dependency "hash_validator" + spec.add_runtime_dependency "pry" + spec.add_runtime_dependency "pry-rescue" end