summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-10-29 13:23:13 -0700
committerGitHub <noreply@github.com>2020-10-29 13:23:13 -0700
commit6173a3b4180578186b61df337c995fe8f06ec9e9 (patch)
treeca297b4386fc9f2b9035e4659449c0e6b9cb37b3
parent7320274a6abd96ad6e0aebde835a236e7c66e6bb (diff)
parente6d721abb6340b09c669e3746f78ece23ccbad62 (diff)
downloadmixlib-shellout-6173a3b4180578186b61df337c995fe8f06ec9e9.tar.gz
Merge pull request #223 from chef/loosen_win32_dep
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--mixlib-shellout-universal-mingw32.gemspec4
-rw-r--r--spec/spec_helper.rb2
2 files changed, 2 insertions, 4 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
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f1d60d2..ebc5a84 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,3 @@
-$:.unshift File.expand_path("../lib", __dir__)
-$:.unshift File.expand_path("..", __dir__)
require "mixlib/shellout"
require "tmpdir"