Skip to content

Commit

Permalink
Move dependencies to .gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
iconara committed Aug 27, 2013
1 parent 14d6001 commit 2f825fa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
source 'https://rubygems.org/'

gem 'httpclient'
gem 'multi_json'
gemspec

group :development do
gem 'pry'
Expand Down
10 changes: 8 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -88,8 +95,7 @@ PLATFORMS

DEPENDENCIES
coveralls
httpclient
multi_json
etcd-rb!
perftools.rb
pry
redcarpet
Expand Down
3 changes: 3 additions & 0 deletions etcd-rb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2f825fa

Please sign in to comment.