execute 0.1.76 → 0.1.79

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 +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a41375b6a7f8d89599c09c08d1ec6a3a6b0537673edec472e1c72fc2e17757d6
4
- data.tar.gz: 5e973b860e88eaea5fe627918ad6830624a756c91f62dc3198f01bd282c18836
3
+ metadata.gz: a5e86988d7775f8e3e9d67058b3a93f2fbb07f40de16eea31cbbaf5680f80d8b
4
+ data.tar.gz: 8c8456148e257df25297c77efd05eab651dabd377fa9d4519e7bdf39e7fe2924
5
5
  SHA512:
6
- metadata.gz: abcef059498740c092243b84638d0d157c5fce45a042d1f0f8921898fd0a1f10bcf7d41c5ab13fe93124cddf8e8ca0e9f07544d16663cf895ed815c451ca49ab
7
- data.tar.gz: 84ab5abb0b5ceddecbf7377107028c92a5d72ad94b86845de448eb93cf8897e0d8e6ff179cf02f85e4f7105aceade00ca039f743eb755a53c25a6dfc01129e3e
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
- 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.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: 2019-01-24 00:00:00.000000000 Z
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.1
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.1
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: 1.9.1
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.0.1
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: []