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.
- data/Rakefile +1 -1
- data/lib/puma/const.rb +1 -1
- data/puma.gemspec +5 -5
- metadata +12 -5
data/Rakefile
CHANGED
data/lib/puma/const.rb
CHANGED
data/puma.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "puma"
|
5
|
-
s.version = "0.9.
|
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-
|
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>, ["
|
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>, ["
|
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>, ["
|
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:
|
4
|
+
hash: 49
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
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-
|
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
|