puma 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puma might be problematic. Click here for more details.

Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/lib/puma/const.rb +1 -1
  3. data/puma.gemspec +5 -5
  4. metadata +12 -5
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ HOE = Hoe.spec "puma" do
15
15
 
16
16
  require_ruby_version ">= 1.8.7"
17
17
 
18
- dependency "rack", "~> 1.2"
18
+ dependency "rack", [">= 1.2", "< 2.0"]
19
19
 
20
20
  extra_dev_deps << ["rake-compiler", "~> 0.8.0"]
21
21
  end
@@ -75,7 +75,7 @@ module Puma
75
75
 
76
76
  PATH_INFO = 'PATH_INFO'.freeze
77
77
 
78
- PUMA_VERSION = VERSION = "0.9.4".freeze
78
+ PUMA_VERSION = VERSION = "0.9.5".freeze
79
79
 
80
80
  PUMA_TMP_BASE = "puma".freeze
81
81
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "puma"
5
- s.version = "0.9.4"
5
+ s.version = "0.9.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Evan Phoenix"]
9
- s.date = "2012-03-02"
9
+ s.date = "2012-03-03"
10
10
  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)."
11
11
  s.email = ["evan@phx.io"]
12
12
  s.executables = ["puma", "pumactl"]
@@ -25,18 +25,18 @@ Gem::Specification.new do |s|
25
25
  s.specification_version = 3
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_runtime_dependency(%q<rack>, ["~> 1.2"])
28
+ s.add_runtime_dependency(%q<rack>, ["< 2.0", ">= 1.2"])
29
29
  s.add_development_dependency(%q<rake-compiler>, ["~> 0.8.0"])
30
30
  s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
31
31
  s.add_development_dependency(%q<hoe>, ["~> 2.12"])
32
32
  else
33
- s.add_dependency(%q<rack>, ["~> 1.2"])
33
+ s.add_dependency(%q<rack>, ["< 2.0", ">= 1.2"])
34
34
  s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
35
35
  s.add_dependency(%q<rdoc>, ["~> 3.10"])
36
36
  s.add_dependency(%q<hoe>, ["~> 2.12"])
37
37
  end
38
38
  else
39
- s.add_dependency(%q<rack>, ["~> 1.2"])
39
+ s.add_dependency(%q<rack>, ["< 2.0", ">= 1.2"])
40
40
  s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
41
41
  s.add_dependency(%q<rdoc>, ["~> 3.10"])
42
42
  s.add_dependency(%q<hoe>, ["~> 2.12"])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 4
10
- version: 0.9.4
9
+ - 5
10
+ version: 0.9.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Evan Phoenix
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-02 00:00:00 Z
18
+ date: 2012-03-03 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rack
@@ -23,13 +23,20 @@ dependencies:
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - ~>
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  hash: 11
29
29
  segments:
30
30
  - 1
31
31
  - 2
32
32
  version: "1.2"
33
+ - - <
34
+ - !ruby/object:Gem::Version
35
+ hash: 3
36
+ segments:
37
+ - 2
38
+ - 0
39
+ version: "2.0"
33
40
  type: :runtime
34
41
  version_requirements: *id001
35
42
  - !ruby/object:Gem::Dependency