mixlib-shellout 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mixlib/shellout/version.rb +1 -1
- data/lib/mixlib/shellout/windows.rb +2 -7
- data/lib/mixlib/shellout/windows/core_ext.rb +7 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7acf67efe041f24190f958a9c85d52986cfff35b
|
4
|
+
data.tar.gz: 81c15d98bddace50bed7ae42907821cbd9cc59b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cdbd1ef934c8bcde6feb689f4b2f1cedfc4fb5440de322d95e0775077c0e000b0e6026449c85f54f620dc0d4acb8d79948c8517a5f073162da2c9752957512c
|
7
|
+
data.tar.gz: 95a6704c5515990812d021200d45caf11735f611fecda0aa5a92949693ed9960c6b67bf9d57d76903947148dc804426d77058bfbf9bcc8ac72f9244ad1c4459c
|
@@ -19,19 +19,14 @@
|
|
19
19
|
#
|
20
20
|
|
21
21
|
require 'win32/process'
|
22
|
-
require 'windows/handle'
|
23
|
-
require 'windows/process'
|
24
|
-
require 'windows/synchronize'
|
25
|
-
|
26
22
|
require 'mixlib/shellout/windows/core_ext'
|
27
23
|
|
28
24
|
module Mixlib
|
29
25
|
class ShellOut
|
30
26
|
module Windows
|
31
27
|
|
32
|
-
include ::
|
33
|
-
include ::
|
34
|
-
include ::Windows::Synchronize
|
28
|
+
include Process::Functions
|
29
|
+
include Process::Constants
|
35
30
|
|
36
31
|
TIME_SLICE = 0.05
|
37
32
|
|
@@ -24,7 +24,13 @@ module Process::Constants
|
|
24
24
|
LOGON32_LOGON_INTERACTIVE = 0x00000002
|
25
25
|
LOGON32_PROVIDER_DEFAULT = 0x00000000
|
26
26
|
UOI_NAME = 0x00000002
|
27
|
-
|
27
|
+
|
28
|
+
WAIT_OBJECT_0 = 0
|
29
|
+
WAIT_TIMEOUT = 0x102
|
30
|
+
WAIT_ABANDONED = 128
|
31
|
+
WAIT_ABANDONED_0 = WAIT_ABANDONED
|
32
|
+
WAIT_FAILED = 0xFFFFFFFF
|
33
|
+
end
|
28
34
|
|
29
35
|
# Define the functions needed to check with Service windows station
|
30
36
|
module Process::Functions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixlib-shellout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Opscode
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.4.
|
62
|
+
rubygems_version: 2.4.8
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Run external commands on Unix or Windows
|