mixlib-shellout 2.1.0-universal-mingw32 → 2.2.0-universal-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd422c680987d7b0a9c6b85f2b623cec150a4858
4
- data.tar.gz: 73f2d3a6872a3fb4111b4cba015a0a5fdcf1c075
3
+ metadata.gz: d8c0700c322969dc9ff7ccc882c0f6fcdc2f30d1
4
+ data.tar.gz: 81c15d98bddace50bed7ae42907821cbd9cc59b0
5
5
  SHA512:
6
- metadata.gz: 93bc8bbd75ca9de80d767bc4582939f898b7c4f689686d0b3f84d67d7d52799a01a761aaf510a578c9acda0a04c34c240ea5480e4976f515c88e1b24f820daa7
7
- data.tar.gz: 2556122b44fd5b1c47dcec1123332ff1f1575fec2727931650557b10c1fa0f6c32a4efae9abe3e9cbd98375ea86b66d870d20169aa64b6f4dc96fdaa28b714e9
6
+ metadata.gz: 1176d5cfe34b07d9ec1886605a4f8bdf68d38bc8022e2faceff51d2083353d510cfbc6328fca4a0ed156adc470a608a0bc573b6eff3f6abb011fde96f94e2c69
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: universal-mingw32
6
6
  authors:
7
7
  - Opscode
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-19 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
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.7.5
41
- - !ruby/object:Gem::Dependency
42
- name: windows-pr
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 1.2.4
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 1.2.4
55
41
  description: Run external commands on Unix or Windows
56
42
  email: info@opscode.com
57
43
  executables: []
@@ -87,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
73
  version: '0'
88
74
  requirements: []
89
75
  rubyforge_project:
90
- rubygems_version: 2.4.6
76
+ rubygems_version: 2.4.8
91
77
  signing_key:
92
78
  specification_version: 4
93
79
  summary: Run external commands on Unix or Windows