percy-common 3.1.4 → 3.1.5

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: de8b76f2440c6b92c5dc75b1b13d75204e376482d85b4334b7b95d62d638616b
4
- data.tar.gz: 86b495fec84213ec2c478ca715abf3ac049a0eac6e77e487354eb3dd376b5dd5
3
+ metadata.gz: eddf531fb91fbf22f998671ea14c366a2878ae73cbef43358455c49e268bb84c
4
+ data.tar.gz: ebb9c132cf0bfeacce25b0a0a2ac98e4f59e8143794b5610ac03086aab0c876e
5
5
  SHA512:
6
- metadata.gz: e034fd8a645052435840e531db7418b0466cda3042763da230d350ce7f3aaf52a65e298ab0cc72046c0ffb309d10c7fcf5bd3a65ac7c36e8231d3193f4e32ac9
7
- data.tar.gz: 7cf16815ac8a55198a9717cab67c2b2418114d4af7801bbc18acab7a9527f0ce37edd7bf0625631d5ab0b3293d08c8758b5e3fb6c9529645959394c325cbb181
6
+ metadata.gz: d1adb262f5d174c4d41d2c219dcb7f4b721844a400fbc677aa18d4f934e52bb4b3804f9ac1d6f85398fbe1cb7f5ddff0feaad77c84d9ad201d5ed8d927a755ad
7
+ data.tar.gz: 01c8e92f0a037101399430bc861729f26fe0a5e97202a1db2d154a421cd0b003113ff611a9757ef04f3777bfbf5fa38f175ce571e1f460cb795d4dfc31b3c757
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  module Common
3
- VERSION = '3.1.4'.freeze
3
+ VERSION = '3.1.5'.freeze
4
4
  end
5
5
  end
@@ -17,7 +17,12 @@ module Percy
17
17
  # Status has already been collected, perhaps by a Process.detach thread.
18
18
  return false
19
19
  rescue Timeout::Error
20
- Process.kill('KILL', pid)
20
+ begin
21
+ Process.kill('KILL', pid)
22
+ rescue Errno::ESRCH
23
+ # If the process has already ended, suppress any additional errors
24
+ return false
25
+ end
21
26
  # Collect status so it doesn't stick around as zombie process.
22
27
  Process.wait(pid, Process::WNOHANG)
23
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dogstatsd-ruby