execute 0.1.74 → 0.1.77
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/execute.rb +3 -3
- metadata +7 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcca1a99112fb276681262dada6e59cb0ff63bad53bd9b7d1e811610e394e606
|
4
|
+
data.tar.gz: 776d30da9875e8f6ca87bebdd30f57f2f6173f1452fe3dfcfe3c5b01a4748ce4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f02b637b32fec027c671965ce6f28b52cb20c0896f7d0421695d309155f45b452cb38cb842b5fc022a1f1201dea18b5c76b40ec0858cbdc0db4ccad1242c3d6
|
7
|
+
data.tar.gz: d2e8e4107c91de72816001474dc40e4c22b4f855ad543d3e68d824a450a7ef4c97a23bb41fd442caa5a4ed22235a179ffe08e4fdcc164e09df1e761c173b247f
|
data/lib/execute.rb
CHANGED
@@ -93,9 +93,9 @@ def call_popen
|
|
93
93
|
begin
|
94
94
|
while wait_thr.alive? do
|
95
95
|
if((Time.now - start_time).to_f > timeout)
|
96
|
-
|
97
|
-
|
98
|
-
|
96
|
+
self[:timed_out] = true
|
97
|
+
self[:pre_timeout_command].execute if(self.key?(:pre_timeout_command))
|
98
|
+
interrupt
|
99
99
|
mutex.synchronize {stop_threads = true }
|
100
100
|
else
|
101
101
|
sleep(1)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: execute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.77
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Marshall
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: ocra
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: sys-proctable
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +67,7 @@ dependencies:
|
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: 1.2.1
|
83
69
|
description: Class wrapper for system commands
|
84
|
-
email:
|
70
|
+
email:
|
85
71
|
executables: []
|
86
72
|
extensions: []
|
87
73
|
extra_rdoc_files: []
|
@@ -93,7 +79,7 @@ homepage: http://rubygems.org/gems/execute
|
|
93
79
|
licenses:
|
94
80
|
- Apache 2.0
|
95
81
|
metadata: {}
|
96
|
-
post_install_message:
|
82
|
+
post_install_message:
|
97
83
|
rdoc_options: []
|
98
84
|
require_paths:
|
99
85
|
- lib
|
@@ -108,8 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
94
|
- !ruby/object:Gem::Version
|
109
95
|
version: '0'
|
110
96
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
112
|
-
signing_key:
|
97
|
+
rubygems_version: 3.2.15
|
98
|
+
signing_key:
|
113
99
|
specification_version: 4
|
114
100
|
summary: Class wrapper for system commands
|
115
101
|
test_files: []
|