browsed 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/browsed/proxies/proxy_chain.rb +1 -1
- data/lib/browsed/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d3eef8636e9a5faf7b59146e11d16e09ab22da7a37b582a6b0702d4559b82fc
|
4
|
+
data.tar.gz: 8b93afecd7bbc98b325f53875add39ed69b3dfa9c40d5fda4f6c84abf0fefceb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1250f74a2836b1eabf12bd96cf2aa82219a0b04ba17d4ae7c001443a30c7ba1ed717dba8f77c35f5801a0223fc832c9134bcc072b36a7d207b78727b3f01d0fe
|
7
|
+
data.tar.gz: 546848717f278f2708d0762da7037f8a55046d50a1cbbd3268b4cad7cbbcc6d90aed4c7ac331916d969c0ed306b210b1f172c56466f4c651554febde95c90e53
|
@@ -25,7 +25,7 @@ module Browsed
|
|
25
25
|
|
26
26
|
def identify_pid
|
27
27
|
process = `#{self.command}`.split("\n")&.select { |p| p =~ /proxy-chain-instance-id-#{self.instance_id}$/i }&.first
|
28
|
-
parts = process
|
28
|
+
parts = process&.split(' ')
|
29
29
|
pid = parts && parts.any? ? parts[1] : nil
|
30
30
|
self.pid = !pid.to_s.empty? ? pid.to_i : nil
|
31
31
|
end
|
data/lib/browsed/version.rb
CHANGED