Skip to content

Commit

Permalink
Add rack as a dep
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Oct 25, 2011
1 parent f8c8293 commit c4d2969
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/puma/const.rb
Expand Up @@ -71,7 +71,7 @@ module Const

PATH_INFO = 'PATH_INFO'.freeze

PUMA_VERSION = VERSION = "0.8.0".freeze
PUMA_VERSION = VERSION = "0.8.1".freeze

PUMA_TMP_BASE = "puma".freeze

Expand Down
5 changes: 4 additions & 1 deletion puma.gemspec
Expand Up @@ -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"]
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tasks/gem.rake
Expand Up @@ -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')
Expand Down

0 comments on commit c4d2969

Please sign in to comment.