procodile 1.0.17 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/procodile/supervisor.rb +1 -1
- data/lib/procodile/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1ada130f2164d384a24ea6bab65ada4aea61a4f0d8419967f79b51d63ca8e4a1
|
4
|
+
data.tar.gz: 82a3268ed13f3e3bd11e8a166cb179c66ddb66a1ab01ea24e3b142895899d033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 554e8814987937065833435498c1560edaf52d5ddab5fba637befcf9497626903674903236159694585e3cf9f8acb0e8e8aa3095c27937ee46c41f41a00abf98
|
7
|
+
data.tar.gz: cb9ebb78b36a87473bef0a1162bd3a82b9048fa5b30e1f5cfc19c9f1850c2494ef3ec3ab8852ac239f9e2b1d693b6f8102931160fd1443895a8b18885f191fe6
|
data/lib/procodile/supervisor.rb
CHANGED
@@ -259,7 +259,7 @@ module Procodile
|
|
259
259
|
if instances.size > process.quantity
|
260
260
|
quantity_to_stop = instances.size - process.quantity
|
261
261
|
Procodile.log nil, "system", "Stopping #{quantity_to_stop} #{process.name} process(es)"
|
262
|
-
status[:stopped] = instances.
|
262
|
+
status[:stopped] = instances.first(quantity_to_stop).each(&:stop)
|
263
263
|
end
|
264
264
|
end
|
265
265
|
|
data/lib/procodile/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: procodile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Cooke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -70,10 +70,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.
|
73
|
+
rubygems_version: 2.7.4
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: This gem will help you run Ruby processes from a Procfile on Linux servers
|
77
77
|
in the background.
|
78
78
|
test_files: []
|
79
|
-
has_rdoc:
|