puma 2.2.2-java → 2.3.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of puma might be problematic. Click here for more details.
- data/History.txt +19 -0
- data/README.md +28 -8
- data/lib/puma/app/status.rb +21 -18
- data/lib/puma/binder.rb +12 -0
- data/lib/puma/cli.rb +185 -564
- data/lib/puma/configuration.rb +2 -2
- data/lib/puma/const.rb +2 -1
- data/lib/puma/control_cli.rb +16 -4
- data/lib/puma/delegation.rb +2 -2
- data/lib/puma/events.rb +14 -0
- data/lib/puma/server.rb +30 -19
- data/lib/puma/thread_pool.rb +2 -2
- data/puma.gemspec +2 -2
- data/test/test_app_status.rb +6 -2
- data/test/test_cli.rb +19 -17
- data/test/test_integration.rb +16 -5
- data/test/test_puma_server.rb +48 -3
- data/test/test_thread_pool.rb +3 -3
- metadata +2 -2
data/test/test_thread_pool.rb
CHANGED
@@ -8,9 +8,9 @@ class TestThreadPool < Test::Unit::TestCase
|
|
8
8
|
@pool.shutdown if @pool
|
9
9
|
end
|
10
10
|
|
11
|
-
def new_pool(min, max, &
|
12
|
-
|
13
|
-
@pool = Puma::ThreadPool.new(min, max, &
|
11
|
+
def new_pool(min, max, &block)
|
12
|
+
block = proc { } unless block
|
13
|
+
@pool = Puma::ThreadPool.new(min, max, &block)
|
14
14
|
end
|
15
15
|
|
16
16
|
def pause
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.
|
5
|
+
version: 2.3.0
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Evan Phoenix
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|