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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b81b8bba13398ec47594e50c91ad24c721306874
4
- data.tar.gz: a8ffc4cdeae8f6804469bf556587826f65562afa
2
+ SHA256:
3
+ metadata.gz: 1ada130f2164d384a24ea6bab65ada4aea61a4f0d8419967f79b51d63ca8e4a1
4
+ data.tar.gz: 82a3268ed13f3e3bd11e8a166cb179c66ddb66a1ab01ea24e3b142895899d033
5
5
  SHA512:
6
- metadata.gz: 862ab4fcfd46b29cfcb882ff9f4e7c88e418b743797924f4fd6315ac70ae7c3052f11f75cbd355c5a962c6e067d4c67f4d564db59c798d96dfe0bf7d954b3e21
7
- data.tar.gz: 293bab2e09493cefb4162a46f1b9804fa69eb0899547beaec6f83d52a01c47619e7c4eec8e6ccb267a49a7bd09b88f112aaddff3f92036c42ed0b38030c59b35
6
+ metadata.gz: 554e8814987937065833435498c1560edaf52d5ddab5fba637befcf9497626903674903236159694585e3cf9f8acb0e8e8aa3095c27937ee46c41f41a00abf98
7
+ data.tar.gz: cb9ebb78b36a87473bef0a1162bd3a82b9048fa5b30e1f5cfc19c9f1850c2494ef3ec3ab8852ac239f9e2b1d693b6f8102931160fd1443895a8b18885f191fe6
@@ -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.last(quantity_to_stop).each(&:stop)
262
+ status[:stopped] = instances.first(quantity_to_stop).each(&:stop)
263
263
  end
264
264
  end
265
265
 
@@ -1,3 +1,3 @@
1
1
  module Procodile
2
- VERSION = '1.0.17'
2
+ VERSION = '1.0.18'
3
3
  end
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.17
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: 2017-06-16 00:00:00.000000000 Z
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.5.1
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: