execute 0.1.75 → 0.1.78
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 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf6e5163c675a0e4dfc8c69e95eeeb264c2b90222efa663504680ab5ed761e9
|
4
|
+
data.tar.gz: b8ad83a1c36ac939b295f80480a2a7983d84b480e1d34ffa049d03f8bfb0cb64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86b8dfe9ac8e0b76550693546b1db80ffb4e3b7815d09b2dbb3e4ab1a9066de7238688b6b3324825a3e89cf0bbc33c311b857a607c95c37cfdd2f866c48a8d89
|
7
|
+
data.tar.gz: 814c469fa9500bf507e14412bbb38bf3a55dbac461831fefb20e92fc1eb33472cabf608fd33cbdf2c275e354c95d9da93daa52cc19befa5c81001e976ab5741b
|
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.78
|
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,36 +52,22 @@ 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
|
72
58
|
requirements:
|
73
59
|
- - ">="
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.2.
|
61
|
+
version: 1.2.6
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - ">="
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.2.
|
68
|
+
version: 1.2.6
|
83
69
|
description: Class wrapper for system commands
|
84
|
-
email:
|
70
|
+
email: kevin@kware.us
|
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
|
@@ -101,15 +87,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
87
|
requirements:
|
102
88
|
- - ">="
|
103
89
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
90
|
+
version: 3.0.0
|
105
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
92
|
requirements:
|
107
93
|
- - ">="
|
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: []
|