execute 0.1.76 → 0.1.79
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 +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5e86988d7775f8e3e9d67058b3a93f2fbb07f40de16eea31cbbaf5680f80d8b
|
4
|
+
data.tar.gz: 8c8456148e257df25297c77efd05eab651dabd377fa9d4519e7bdf39e7fe2924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eceb87ff2e9c5434ad862f541184eac420ae38cbaabe9355edc6bc6670efb035357810fa5991c0757ff9f6e6cc40b41ffcd5ddee8905adf70019dcf379b2a218
|
7
|
+
data.tar.gz: 9f312abcfd51d2920accd1141f742bfb891b08e2b852a696646a74c254c4e6f8e775ac04a3d854989ebae6543544c6f207d04c74085cf5f2ddf37544dbe2ab96
|
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.79
|
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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,16 +72,16 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.2.
|
75
|
+
version: 1.2.6
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.2.
|
82
|
+
version: 1.2.6
|
83
83
|
description: Class wrapper for system commands
|
84
|
-
email:
|
84
|
+
email: kevin@kware.us
|
85
85
|
executables: []
|
86
86
|
extensions: []
|
87
87
|
extra_rdoc_files: []
|
@@ -93,7 +93,7 @@ homepage: http://rubygems.org/gems/execute
|
|
93
93
|
licenses:
|
94
94
|
- Apache 2.0
|
95
95
|
metadata: {}
|
96
|
-
post_install_message:
|
96
|
+
post_install_message:
|
97
97
|
rdoc_options: []
|
98
98
|
require_paths:
|
99
99
|
- lib
|
@@ -101,15 +101,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
102
102
|
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
104
|
+
version: 3.0.0
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
112
|
-
signing_key:
|
111
|
+
rubygems_version: 3.2.15
|
112
|
+
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Class wrapper for system commands
|
115
115
|
test_files: []
|