summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <jmccrae@chf.io>2022-04-04 10:41:14 -0700
committerJohn McCrae <jmccrae@chf.io>2022-04-04 14:31:09 -0700
commit7c3b78747ce82013dfb93b61ba84bf997ac7ee4b (patch)
tree5e3208da223f33cf2242684ea7990e23da6c19f4
parent30deb9764bc97b893f9c9ffdad66f998c2158653 (diff)
downloadmixlib-shellout-7c3b78747ce82013dfb93b61ba84bf997ac7ee4b.tar.gz
Hard Coding the gems in the gemfile to overcome a Ruby 3.1 bug
Signed-off-by: John McCrae <jmccrae@chf.io>
-rw-r--r--Gemfile4
-rw-r--r--mixlib-shellout-universal-mingw-ucrt.gemspec8
2 files changed, 4 insertions, 8 deletions
diff --git a/Gemfile b/Gemfile
index d5dd10a..c1641f7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,6 +2,10 @@ source "https://rubygems.org"
gemspec name: "mixlib-shellout"
+gem "win32-process", "~> 0.9"
+gem "ffi-win32-extensions", "~> 1.0.4"
+gem "wmi-lite", "~> 1.0.7"
+
group :test do
gem "chefstyle", "1.6.2"
gem "rake"
diff --git a/mixlib-shellout-universal-mingw-ucrt.gemspec b/mixlib-shellout-universal-mingw-ucrt.gemspec
deleted file mode 100644
index f15c755..0000000
--- a/mixlib-shellout-universal-mingw-ucrt.gemspec
+++ /dev/null
@@ -1,8 +0,0 @@
-gemspec = instance_eval(File.read(File.expand_path("mixlib-shellout.gemspec", __dir__)))
-
-gemspec.platform = Gem::Platform.new(%w{universal mingw-ucrt})
-gemspec.add_dependency "win32-process", "~> 0.9"
-gemspec.add_dependency "wmi-lite", "~> 1.0"
-gemspec.add_dependency "ffi-win32-extensions", "~> 1.0.3"
-
-gemspec