Skip to content
Browse files

Set up actual runtime and dev dependencies in the Rakefile/Jeweler

  • Loading branch information...
1 parent 5c7ebd1 commit 1bc5ecb604d84dc6d0c1c6a25540a2b9a8ce71ce @quirkey quirkey committed May 18, 2010
Showing with 27 additions and 3 deletions.
  1. +6 −0 Rakefile
  2. +21 −3 typhoeus.gemspec
View
6 Rakefile
@@ -11,6 +11,12 @@ begin
gemspec.email = "paul@pauldix.net"
gemspec.homepage = "http://github.com/pauldix/typhoeus"
gemspec.authors = ["Paul Dix"]
+ gemspec.add_dependency "rack"
+ gemspec.add_development_dependency "rspec"
+ gemspec.add_development_dependency "jeweler"
+ gemspec.add_development_dependency "diff-lcs"
+ gemspec.add_development_dependency "sinatra"
+ gemspec.add_development_dependency "json"
end
Jeweler::GemcutterTasks.new
View
24 typhoeus.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Paul Dix"]
- s.date = %q{2010-05-15}
+ s.date = %q{2010-05-18}
s.description = %q{Like a modern code version of the mythical beast with 100 serpent heads, Typhoeus runs HTTP requests in parallel while cleanly encapsulating handling logic.}
s.email = %q{paul@pauldix.net}
s.extensions = ["ext/typhoeus/extconf.rb"]
@@ -64,7 +64,7 @@ Gem::Specification.new do |s|
s.homepage = %q{http://github.com/pauldix/typhoeus}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.6}
+ s.rubygems_version = %q{1.3.7}
s.summary = %q{A library for interacting with web services (and building SOAs) at blinding speed.}
s.test_files = [
"spec/servers/app.rb",
@@ -85,10 +85,28 @@ Gem::Specification.new do |s|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<rack>, [">= 0"])
+ s.add_development_dependency(%q<rspec>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_development_dependency(%q<diff-lcs>, [">= 0"])
+ s.add_development_dependency(%q<sinatra>, [">= 0"])
+ s.add_development_dependency(%q<json>, [">= 0"])
else
+ s.add_dependency(%q<rack>, [">= 0"])
+ s.add_dependency(%q<rspec>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<diff-lcs>, [">= 0"])
+ s.add_dependency(%q<sinatra>, [">= 0"])
+ s.add_dependency(%q<json>, [">= 0"])
end
else
+ s.add_dependency(%q<rack>, [">= 0"])
+ s.add_dependency(%q<rspec>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<diff-lcs>, [">= 0"])
+ s.add_dependency(%q<sinatra>, [">= 0"])
+ s.add_dependency(%q<json>, [">= 0"])
end
end

0 comments on commit 1bc5ecb

Please sign in to comment.
Something went wrong with that request. Please try again.