From 98e8fe37a0fb6c9b2b0ee1828632f004005dac32 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Mon, 18 Dec 2023 05:27:33 -0800 Subject: [PATCH 1/2] Updating gem dependencies Signed-off-by: John McCrae --- chef-powershell/Gemfile.lock | 68 +++++++++++++------------ chef-powershell/chef-powershell.gemspec | 6 ++- 2 files changed, 39 insertions(+), 35 deletions(-) diff --git a/chef-powershell/Gemfile.lock b/chef-powershell/Gemfile.lock index 641b292f..9edd6ed6 100644 --- a/chef-powershell/Gemfile.lock +++ b/chef-powershell/Gemfile.lock @@ -1,62 +1,64 @@ PATH remote: . specs: - chef-powershell (1.0.10) - ffi (~> 1.15) - ffi-yajl (~> 2.4) + chef-powershell (18.1.0) + ffi (~> 1.16) + ffi-yajl (~> 3.0) GEM remote: https://rubygems.org/ specs: ast (2.4.2) - chefstyle (2.2.0) - rubocop (= 1.24.1) + chefstyle (2.2.3) + rubocop (= 1.25.1) coderay (1.1.3) diff-lcs (1.5.0) - fauxhai-ng (9.1.0) + fauxhai-ng (9.3.0) net-ssh - ffi (1.15.5-x64-mingw32) - ffi-yajl (2.4.0) + ffi (1.16.3-x64-mingw32) + ffi-yajl (3.0.0) libyajl2 (>= 1.2) libyajl2 (2.1.0) method_source (1.0.0) - net-ssh (6.1.0) - parallel (1.21.0) - parser (3.1.0.0) + net-ssh (7.2.0) + parallel (1.24.0) + parser (3.2.2.4) ast (~> 2.4.1) - pry (0.14.1) + racc + pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) + racc (1.7.3) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.2.0) - rexml (3.2.5) - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.1) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.1) + rake (13.1.0) + regexp_parser (2.8.3) + rexml (3.2.6) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) + rspec-core (3.12.2) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.2) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.6) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.3) - rubocop (1.24.1) + rspec-support (~> 3.12.0) + rspec-support (3.12.1) + rubocop (1.25.1) parallel (~> 1.10) - parser (>= 3.0.0.0) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml rubocop-ast (>= 1.15.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.15.1) - parser (>= 3.0.1.1) - ruby-progressbar (1.11.0) - unicode-display_width (2.1.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + ruby-progressbar (1.13.0) + unicode-display_width (2.5.0) PLATFORMS x64-mingw32 @@ -70,4 +72,4 @@ DEPENDENCIES rspec BUNDLED WITH - 2.2.29 + 2.2.33 diff --git a/chef-powershell/chef-powershell.gemspec b/chef-powershell/chef-powershell.gemspec index a5f33bad..64bd7d41 100644 --- a/chef-powershell/chef-powershell.gemspec +++ b/chef-powershell/chef-powershell.gemspec @@ -17,8 +17,10 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.6" - spec.add_runtime_dependency "ffi", "~> 1.15" - spec.add_runtime_dependency "ffi-yajl", "~> 2.4" + spec.add_runtime_dependency "ffi", "~> 1.16" + spec.add_runtime_dependency "ffi-yajl", "~> 3.0" + # spec.add_runtime_dependency "ffi", "~> 1.15" + # spec.add_runtime_dependency "ffi-yajl", "~> 2.4" spec.metadata = { "bug_tracker_uri" => "https://github.com/chef/chef/issues", From e5a93d648f57f6615404f039f3778b812756353f Mon Sep 17 00:00:00 2001 From: John McCrae Date: Mon, 18 Dec 2023 08:34:45 -0800 Subject: [PATCH 2/2] Updating gem dependencies - downgrading FFI because of a MaCOS problem Signed-off-by: John McCrae --- chef-powershell/Gemfile.lock | 4 ++-- chef-powershell/chef-powershell.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chef-powershell/Gemfile.lock b/chef-powershell/Gemfile.lock index 9edd6ed6..b3dcc1f4 100644 --- a/chef-powershell/Gemfile.lock +++ b/chef-powershell/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: chef-powershell (18.1.0) - ffi (~> 1.16) + ffi (~> 1.15.5) ffi-yajl (~> 3.0) GEM @@ -15,7 +15,7 @@ GEM diff-lcs (1.5.0) fauxhai-ng (9.3.0) net-ssh - ffi (1.16.3-x64-mingw32) + ffi (1.15.5-x64-mingw32) ffi-yajl (3.0.0) libyajl2 (>= 1.2) libyajl2 (2.1.0) diff --git a/chef-powershell/chef-powershell.gemspec b/chef-powershell/chef-powershell.gemspec index 64bd7d41..c4cad53c 100644 --- a/chef-powershell/chef-powershell.gemspec +++ b/chef-powershell/chef-powershell.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.6" - spec.add_runtime_dependency "ffi", "~> 1.16" + spec.add_runtime_dependency "ffi", "~> 1.15.5" spec.add_runtime_dependency "ffi-yajl", "~> 3.0" # spec.add_runtime_dependency "ffi", "~> 1.15" # spec.add_runtime_dependency "ffi-yajl", "~> 2.4"