mixlib-shellout 1.2.0.rc.0-x86-mingw32 → 1.2.0.rc.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
File without changes
@@ -290,8 +290,14 @@ module Mixlib
290
290
  when 'log_tag'
291
291
  self.log_tag = setting
292
292
  when 'environment', 'env'
293
+ # Set the LC_ALL from the parent process if the user wanted
294
+ # to use the default.
295
+ if setting && setting.has_key?("LC_ALL") && setting['LC_ALL'].nil?
296
+ setting['LC_ALL'] = ENV['LC_ALL']
297
+ end
293
298
  # passing :environment => nil means don't set any new ENV vars
294
299
  @environment = setting.nil? ? {} : @environment.dup.merge!(setting)
300
+
295
301
  else
296
302
  raise InvalidCommandOption, "option '#{option.inspect}' is not a valid option for #{self.class.name}"
297
303
  end
File without changes
@@ -194,8 +194,11 @@ module Mixlib
194
194
  # create a file because error pipe will auto close when we
195
195
  # try to create a file since it's set to CLOEXEC.
196
196
  if n != @process_status_pipe.last.to_i
197
- fd = File.for_fd(n) rescue nil
198
- fd.close if fd
197
+ begin
198
+ fd = File.for_fd(n)
199
+ fd.close if fd
200
+ rescue
201
+ end
199
202
  end
200
203
  end
201
204
  end
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class ShellOut
3
- VERSION = "1.2.0.rc.0"
3
+ VERSION = "1.2.0.rc.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-shellout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.rc.0
4
+ version: 1.2.0.rc.1
5
5
  prerelease: 6
6
6
  platform: x86-mingw32
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-03 00:00:00.000000000 Z
12
+ date: 2013-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.7.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: windows-pr
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.2.2
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.2.2
62
78
  description: Run external commands on Unix or Windows
63
79
  email: info@opscode.com
64
80
  executables: []