execute 0.1.71 → 0.1.72

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 +1 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c420f286bad407ecf60bdad4e556169e547d1b05
4
- data.tar.gz: 8e5bc71e95041fead05117adc29be56f8ca4f045
3
+ metadata.gz: 06d1f79bc465057309e7d9c2404bd100c4b7aa1f
4
+ data.tar.gz: 7389d6585865be0fb15455bebdcf63a5351ee6e6
5
5
  SHA512:
6
- metadata.gz: 610d8e51550f0414f121675730d1954edb2c733e1712f883e5c786febd95417b17cc4fe14b8204812fa9c654b8dc0630722d59743a6dee4a58b7a9ee8b4daa4c
7
- data.tar.gz: 1e7a95fd92c75eff03779e1ebf59e8b992b65e5d184b8e1509cb1c5aefad72ef7312a1441cf6b730942d899486a3834898c0f4be8e1b0e93831c159c9149b241
6
+ metadata.gz: a79946b707b1c0571a95fae17f92477dcb8ed6a86bea62def6c023477b067971c8389abc9c1773b57a40d68d088bc25c5d4bdf187ce5d0b219d6dd317e276219
7
+ data.tar.gz: b627f683659f1116f36171e06fe3e5dfeed57fa7e1e09f42abcb43081d84a4d19db462d23d0e981640c1f628212f70e0ab42394d8a6ed8bc6e014eec845faeb7
@@ -91,6 +91,7 @@ class Execute < Hash
91
91
  while wait_thr.alive? do
92
92
  if((Time.now - start_time).to_f > timeout)
93
93
  self[:timed_out] = true
94
+ self[:pre_timeout_command].execute if(self.key?(:pre_timeout_command))
94
95
  interrupt
95
96
  mutex.synchronize {stop_threads = true }
96
97
  else
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.71
4
+ version: 0.1.72
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-09 00:00:00.000000000 Z
11
+ date: 2016-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: dev
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: dev
56
+ name: ocra
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"