puma 0.9.4-java → 0.9.5-java
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 +5 -2
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
@@ -2,7 +2,7 @@
|
|
2
2
|
name: puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.
|
5
|
+
version: 0.9.5
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Evan Phoenix
|
@@ -19,9 +19,12 @@ dependencies:
|
|
19
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
|
-
- -
|
22
|
+
- - ">="
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: "1.2"
|
25
|
+
- - <
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: "2.0"
|
25
28
|
type: :runtime
|
26
29
|
version_requirements: *id001
|
27
30
|
- !ruby/object:Gem::Dependency
|