Browse files

Moved dependencies into gemspec.

  • Loading branch information...
1 parent a2b04aa commit b74e5452c2815dd53f4c5d9c4caa0f3f01706037 @jeremyf committed Apr 13, 2012
Showing with 7 additions and 9 deletions.
  1. +1 −5 Gemfile
  2. +2 −3 Gemfile.lock
  3. +4 −1 gattica.gemspec
View
6 Gemfile
@@ -1,6 +1,2 @@
source "http://rubygems.org"
-gemspec
-gem 'test-unit'
-gem 'hpricot' #, 0.8.6
-gem 'test-unit' #, 2.4.5
-gem 'bundler' #, 1.0.21
+gemspec
View
5 Gemfile.lock
@@ -1,10 +1,8 @@
PATH
remote: .
specs:
- gattica (0.6.0)
- gattica
+ gattica (0.6.1)
hpricot
- test-unit
GEM
remote: http://rubygems.org/
@@ -16,5 +14,6 @@ PLATFORMS
ruby
DEPENDENCIES
+ bundler
gattica!
test-unit
View
5 gattica.gemspec
@@ -54,15 +54,18 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<test-unit>, [">= 0"])
+ s.add_development_dependency(%q<test-unit>, [">= 0"])
s.add_runtime_dependency(%q<hpricot>, [">= 0"])
+ s.add_development_dependency(%q<bundler>, [">= 0"])
else
s.add_dependency(%q<test-unit>, [">= 0"])
s.add_dependency(%q<hpricot>, [">= 0"])
+ s.add_dependency(%q<bundler>, [">= 0"])
end
else
s.add_dependency(%q<test-unit>, [">= 0"])
s.add_dependency(%q<hpricot>, [">= 0"])
+ s.add_dependency(%q<bundler>, [">= 0"])
end
end

0 comments on commit b74e545

Please sign in to comment.