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:
parent
f8c82937c9
commit
c4d29698c4
3 changed files with 7 additions and 2 deletions
|
@ -71,7 +71,7 @@ module Puma
|
|||
|
||||
PATH_INFO = 'PATH_INFO'.freeze
|
||||
|
||||
PUMA_VERSION = VERSION = "0.8.0".freeze
|
||||
PUMA_VERSION = VERSION = "0.8.1".freeze
|
||||
|
||||
PUMA_TMP_BASE = "puma".freeze
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Gem::Specification.new do |s|
|
||||
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.authors = ["Evan Phoenix"]
|
||||
|
@ -24,13 +24,16 @@ 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<rack>, ["~> 1.3"])
|
||||
s.add_development_dependency(%q<rake-compiler>, ["~> 0.7.0"])
|
||||
s.add_development_dependency(%q<hoe>, ["~> 2.10"])
|
||||
else
|
||||
s.add_dependency(%q<rack>, ["~> 1.3"])
|
||||
s.add_dependency(%q<rake-compiler>, ["~> 0.7.0"])
|
||||
s.add_dependency(%q<hoe>, ["~> 2.10"])
|
||||
end
|
||||
else
|
||||
s.add_dependency(%q<rack>, ["~> 1.3"])
|
||||
s.add_dependency(%q<rake-compiler>, ["~> 0.7.0"])
|
||||
s.add_dependency(%q<hoe>, ["~> 2.10"])
|
||||
end
|
||||
|
|
|
@ -8,6 +8,8 @@ HOE = Hoe.spec 'puma' do
|
|||
spec_extras[:extensions] = ["ext/puma_http11/extconf.rb"]
|
||||
spec_extras[:executables] = ['puma']
|
||||
|
||||
dependency 'rack', '~> 1.3'
|
||||
|
||||
extra_dev_deps << ['rake-compiler', "~> 0.7.0"]
|
||||
|
||||
clean_globs.push('test_*.log', 'log')
|
||||
|
|
Loading…
Reference in a new issue