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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f89036d9e49a1aa022ad2a3a386c7c470c47bae3
4
- data.tar.gz: 28a237b3cf0725a1deb0871f2a1b30a76f505025
3
+ metadata.gz: 7acf67efe041f24190f958a9c85d52986cfff35b
4
+ data.tar.gz: 81c15d98bddace50bed7ae42907821cbd9cc59b0
5
5
  SHA512:
6
- metadata.gz: 7c06cca58cd3c1192c1d591e95c4ddd79961de7eca1a4f255ef70443c4c4dd323f8a07db4f0681d58f759fc3048ffa03081956d1277cdf8b356be86a6a9d7358
7
- data.tar.gz: f9964010b07fc39958ff65ff37b4906c6f1867ab7262e4dbc2c4df32500de257536c50007e02466869f495ae260c284eb78a9d7d9b6cf90b0affdabc1943c044
6
+ metadata.gz: 9cdbd1ef934c8bcde6feb689f4b2f1cedfc4fb5440de322d95e0775077c0e000b0e6026449c85f54f620dc0d4acb8d79948c8517a5f073162da2c9752957512c
7
+ data.tar.gz: 95a6704c5515990812d021200d45caf11735f611fecda0aa5a92949693ed9960c6b67bf9d57d76903947148dc804426d77058bfbf9bcc8ac72f9244ad1c4459c
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class ShellOut
3
- VERSION = "2.1.0"
3
+ VERSION = "2.2.0"
4
4
  end
5
5
  end
@@ -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 ::Windows::Handle
33
- include ::Windows::Process
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
- end
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.1.0
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-05-18 00:00:00.000000000 Z
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.6
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