From 2f825fa1bde357347b5353fb7345d23a097a6899 Mon Sep 17 00:00:00 2001 From: Theo Date: Tue, 27 Aug 2013 16:55:13 +0200 Subject: [PATCH] Move dependencies to .gemspec --- Gemfile | 3 +-- Gemfile.lock | 10 ++++++++-- etcd-rb.gemspec | 3 +++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index b11886e..42d7c81 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,6 @@ source 'https://rubygems.org/' -gem 'httpclient' -gem 'multi_json' +gemspec group :development do gem 'pry' diff --git a/Gemfile.lock b/Gemfile.lock index 9ef2afa..984934a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,10 @@ +PATH + remote: . + specs: + etcd-rb (1.0.0.pre1) + httpclient (~> 2.3.0) + multi_json (~> 1.7.0) + GEM remote: https://rubygems.org/ specs: @@ -88,8 +95,7 @@ PLATFORMS DEPENDENCIES coveralls - httpclient - multi_json + etcd-rb! perftools.rb pry redcarpet diff --git a/etcd-rb.gemspec b/etcd-rb.gemspec index 65e041d..38491b0 100644 --- a/etcd-rb.gemspec +++ b/etcd-rb.gemspec @@ -20,6 +20,9 @@ Gem::Specification.new do |s| s.require_paths = %w(lib) s.bindir = 'bin' + s.add_dependency 'httpclient', '~> 2.3.0' + s.add_dependency 'multi_json', '~> 1.7.0' + s.platform = Gem::Platform::RUBY s.required_ruby_version = '>= 1.9.3' end