diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-10-29 09:15:57 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-10-29 10:09:32 -0700 |
commit | c6a0c35e170c4f784e315f06aafcff955ddac1eb (patch) | |
tree | aed577bbe8e3dde25c475f797fb413df5be62db6 /mixlib-shellout-universal-mingw32.gemspec | |
parent | 7320274a6abd96ad6e0aebde835a236e7c66e6bb (diff) | |
download | mixlib-shellout-c6a0c35e170c4f784e315f06aafcff955ddac1eb.tar.gz |
Loosen win32-process dep to resolve Ruby 3 deprecation warnings
This removes the use of $SAFE which is causing deprecation warnings when killing processes on Windows.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'mixlib-shellout-universal-mingw32.gemspec')
-rw-r--r-- | mixlib-shellout-universal-mingw32.gemspec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mixlib-shellout-universal-mingw32.gemspec b/mixlib-shellout-universal-mingw32.gemspec index 3a3968d..705366a 100644 --- a/mixlib-shellout-universal-mingw32.gemspec +++ b/mixlib-shellout-universal-mingw32.gemspec @@ -1,8 +1,8 @@ -gemspec = instance_eval(File.read(File.expand_path("../mixlib-shellout.gemspec", __FILE__))) +gemspec = instance_eval(File.read(File.expand_path("mixlib-shellout.gemspec", __dir__))) gemspec.platform = Gem::Platform.new(%w{universal mingw32}) -gemspec.add_dependency "win32-process", "~> 0.8.2" +gemspec.add_dependency "win32-process", "~> 0.9" gemspec.add_dependency "wmi-lite", "~> 1.0" gemspec |