execute 0.1.76 → 0.1.77

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/execute.rb +3 -3
  3. metadata +7 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a41375b6a7f8d89599c09c08d1ec6a3a6b0537673edec472e1c72fc2e17757d6
4
- data.tar.gz: 5e973b860e88eaea5fe627918ad6830624a756c91f62dc3198f01bd282c18836
3
+ metadata.gz: dcca1a99112fb276681262dada6e59cb0ff63bad53bd9b7d1e811610e394e606
4
+ data.tar.gz: 776d30da9875e8f6ca87bebdd30f57f2f6173f1452fe3dfcfe3c5b01a4748ce4
5
5
  SHA512:
6
- metadata.gz: abcef059498740c092243b84638d0d157c5fce45a042d1f0f8921898fd0a1f10bcf7d41c5ab13fe93124cddf8e8ca0e9f07544d16663cf895ed815c451ca49ab
7
- data.tar.gz: 84ab5abb0b5ceddecbf7377107028c92a5d72ad94b86845de448eb93cf8897e0d8e6ff179cf02f85e4f7105aceade00ca039f743eb755a53c25a6dfc01129e3e
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
- self[:timed_out] = true
97
- self[:pre_timeout_command].execute if(self.key?(:pre_timeout_command))
98
- interrupt
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.76
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: 2019-01-24 00:00:00.000000000 Z
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.0.1
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: []