1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Add rack as a dep

This commit is contained in:
Evan Phoenix 2011-10-25 15:07:54 -07:00
parent f8c82937c9
commit c4d29698c4
3 changed files with 7 additions and 2 deletions

View file

@ -71,7 +71,7 @@ module Puma
PATH_INFO = 'PATH_INFO'.freeze PATH_INFO = 'PATH_INFO'.freeze
PUMA_VERSION = VERSION = "0.8.0".freeze PUMA_VERSION = VERSION = "0.8.1".freeze
PUMA_TMP_BASE = "puma".freeze PUMA_TMP_BASE = "puma".freeze

View file

@ -2,7 +2,7 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "puma" s.name = "puma"
s.version = "0.8.0" s.version = "0.8.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Evan Phoenix"] s.authors = ["Evan Phoenix"]
@ -24,13 +24,16 @@ Gem::Specification.new do |s|
s.specification_version = 3 s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= 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>, ["~> 1.3"])
s.add_development_dependency(%q<rake-compiler>, ["~> 0.7.0"]) s.add_development_dependency(%q<rake-compiler>, ["~> 0.7.0"])
s.add_development_dependency(%q<hoe>, ["~> 2.10"]) s.add_development_dependency(%q<hoe>, ["~> 2.10"])
else else
s.add_dependency(%q<rack>, ["~> 1.3"])
s.add_dependency(%q<rake-compiler>, ["~> 0.7.0"]) s.add_dependency(%q<rake-compiler>, ["~> 0.7.0"])
s.add_dependency(%q<hoe>, ["~> 2.10"]) s.add_dependency(%q<hoe>, ["~> 2.10"])
end end
else else
s.add_dependency(%q<rack>, ["~> 1.3"])
s.add_dependency(%q<rake-compiler>, ["~> 0.7.0"]) s.add_dependency(%q<rake-compiler>, ["~> 0.7.0"])
s.add_dependency(%q<hoe>, ["~> 2.10"]) s.add_dependency(%q<hoe>, ["~> 2.10"])
end end

View file

@ -8,6 +8,8 @@ HOE = Hoe.spec 'puma' do
spec_extras[:extensions] = ["ext/puma_http11/extconf.rb"] spec_extras[:extensions] = ["ext/puma_http11/extconf.rb"]
spec_extras[:executables] = ['puma'] spec_extras[:executables] = ['puma']
dependency 'rack', '~> 1.3'
extra_dev_deps << ['rake-compiler', "~> 0.7.0"] extra_dev_deps << ['rake-compiler', "~> 0.7.0"]
clean_globs.push('test_*.log', 'log') clean_globs.push('test_*.log', 'log')