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

Change rack dep, version bump

This commit is contained in:
Evan Phoenix 2012-03-02 16:39:01 -08:00
parent 4025034616
commit 22a52fa609
3 changed files with 7 additions and 7 deletions

View file

@ -15,7 +15,7 @@ HOE = Hoe.spec "puma" do
require_ruby_version ">= 1.8.7"
dependency "rack", "~> 1.2"
dependency "rack", [">= 1.2", "< 2.0"]
extra_dev_deps << ["rake-compiler", "~> 0.8.0"]
end

View file

@ -75,7 +75,7 @@ module Puma
PATH_INFO = 'PATH_INFO'.freeze
PUMA_VERSION = VERSION = "0.9.4".freeze
PUMA_VERSION = VERSION = "0.9.5".freeze
PUMA_TMP_BASE = "puma".freeze

View file

@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = "puma"
s.version = "0.9.4"
s.version = "0.9.5"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Evan Phoenix"]
s.date = "2012-03-02"
s.date = "2012-03-03"
s.description = "Puma is a simple, fast, and highly concurrent HTTP 1.1 server for Ruby web applications. It can be used with any application that supports Rack, and is considered the replacement for Webrick and Mongrel. It was designed to be the go-to server for [Rubinius](http://rubini.us), but also works well with JRuby and MRI. Puma is intended for use in both development and production environments.\n\nUnder the hood, Puma processes requests using a C-optimized Ragel extension (inherited from Mongrel) that provides fast, accurate HTTP 1.1 protocol parsing in a portable way. Puma then serves the request in a thread from an internal thread pool (which you can control). This allows Puma to provide real concurrency for your web application!\n\nWith Rubinius 2.0, Puma will utilize all cores on your CPU with real threads, meaning you won't have to spawn multiple processes to increase throughput. You can expect to see a similar benefit from JRuby.\n\nOn MRI, there is a Global Interpreter Lock (GIL) that ensures only one thread can be run at a time. But if you're doing a lot of blocking IO (such as HTTP calls to external APIs like Twitter), Puma still improves MRI's throughput by allowing blocking IO to be run concurrently (EventMachine-based servers such as Thin turn off this ability, requiring you to use special libraries). Your mileage may vary.. in order to get the best throughput, it is highly recommended that you use a Ruby implementation with real threads like [Rubinius](http://rubini.us) or [JRuby](http://jruby.org)."
s.email = ["evan@phx.io"]
s.executables = ["puma", "pumactl"]
@ -25,18 +25,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<rack>, ["~> 1.2"])
s.add_runtime_dependency(%q<rack>, ["< 2.0", ">= 1.2"])
s.add_development_dependency(%q<rake-compiler>, ["~> 0.8.0"])
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
s.add_development_dependency(%q<hoe>, ["~> 2.12"])
else
s.add_dependency(%q<rack>, ["~> 1.2"])
s.add_dependency(%q<rack>, ["< 2.0", ">= 1.2"])
s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
s.add_dependency(%q<rdoc>, ["~> 3.10"])
s.add_dependency(%q<hoe>, ["~> 2.12"])
end
else
s.add_dependency(%q<rack>, ["~> 1.2"])
s.add_dependency(%q<rack>, ["< 2.0", ">= 1.2"])
s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
s.add_dependency(%q<rdoc>, ["~> 3.10"])
s.add_dependency(%q<hoe>, ["~> 2.12"])