acpc_dealer 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acpc_dealer.rb +11 -2
- data/lib/acpc_dealer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df72da45ec00ef10ab9807e6d541ea45321b3ab
|
4
|
+
data.tar.gz: e3b27ea957b98c51bfc241dbe9eed5d742d54e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e43ae1f310627ed50a5e819f8b9b600f42c03244bd3e189da66cfb89745893503011a0f70164f268a3154672a02c2e047edb8f96c21ab7fedcd01f4bcbed9470
|
7
|
+
data.tar.gz: 3f8c5fdda3a0c5dddb455ecc96d707710cb7d2f2302e9e6dc8b1cd046543cfbec17f182caebe42be78aefc9667306bf5caedb66b5d823ef645d83213732a7b11
|
data/lib/acpc_dealer.rb
CHANGED
@@ -62,8 +62,17 @@ module AcpcDealer
|
|
62
62
|
false
|
63
63
|
end
|
64
64
|
end
|
65
|
-
def self.kill_process(pid)
|
66
|
-
|
65
|
+
def self.kill_process(pid)
|
66
|
+
if pid && pid > 0
|
67
|
+
Process.kill('TERM', pid)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
def self.force_kill_process(pid)
|
72
|
+
if pid && pid > 0
|
73
|
+
Process.kill('KILL', pid)
|
74
|
+
end
|
75
|
+
end
|
67
76
|
|
68
77
|
def self.dealer_running?(dealer_process_hash)
|
69
78
|
(
|
data/lib/acpc_dealer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acpc_dealer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Morrill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clive
|