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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7b5625e893a3a4e085854bcf32451526fdea75fb5cc94b88cc775c505a15cd9
4
- data.tar.gz: a5643c9109b0a8ff29a06f7b837e8d3f5947421f77772ccc8952c8f4907a7a16
3
+ metadata.gz: 2d3eef8636e9a5faf7b59146e11d16e09ab22da7a37b582a6b0702d4559b82fc
4
+ data.tar.gz: 8b93afecd7bbc98b325f53875add39ed69b3dfa9c40d5fda4f6c84abf0fefceb
5
5
  SHA512:
6
- metadata.gz: 7c976d6f214a6a15e0a1ea70b3bcf80194e311490fd57634b7c7526717f4f0395b48df481ec4f6a8a7869c1e57ff8695ca1f311dd5481b9197f49ee8268a6899
7
- data.tar.gz: 1f717397bad460b53c1cdb6cdbfe0298d186198b4a64120f2eb8f483916dc1f26db07c1f8ea9c4ea5eb483d41b9e5ad0aca9b7ecd6269012138a5044f454aeea
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.split(' ')
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
@@ -1,3 +1,3 @@
1
1
  module Browsed
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browsed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian