Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .expeditor/build_gems.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,16 @@ Write-Output "`r"

Write-Output "--- :building_construction: Setting up Environment Variables for Ruby and Chef PowerShell"
$temp = Get-Location
$gem_path = [string]$temp.path + "\vendor\bundle\ruby\3.4.0"
[Environment]::SetEnvironmentVariable("GEM_PATH", $gem_path)
[Environment]::SetEnvironmentVariable("GEM_ROOT", $gem_path)
[Environment]::SetEnvironmentVariable("BUNDLE_GEMFILE", "$($temp.path)\Gemfile")
Write-Output "`r"

Write-Output "--- :gem: Pre-installing uri gem into vendor bundle to bootstrap Bundler on Ruby 3.1"
$ruby_version = (ruby -e "puts RbConfig::CONFIG['ruby_version']").Trim()
$vendor_dir = "$($temp.path)\vendor\bundle\ruby\$ruby_version"
New-Item -ItemType Directory -Force -Path $vendor_dir | Out-Null
gem install uri --install-dir $vendor_dir --no-document
Write-Output "`r"

Write-Output "--- :put_litter_in_its_place: Removing any existing Chef PowerShell DLL's since they'll conflict with rspec"
# remove the existing chef.powershell.dll and chef.powershell.wrapper.dll files under embedded\bin
$file = get-command bundle
Expand Down
1 change: 1 addition & 0 deletions chef-powershell/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ gemspec
group(:development, :test) do
gem "fauxhai-ng"
gem "rake"
gem "uri"
end
62 changes: 34 additions & 28 deletions chef-powershell/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,63 +10,68 @@ GEM
specs:
ast (2.4.3)
coderay (1.1.3)
cookstyle (8.1.1)
rubocop (= 1.75.3)
diff-lcs (1.6.1)
cookstyle (8.7.6)
rubocop (= 1.86.1)
diff-lcs (1.6.2)
fauxhai-ng (9.3.0)
net-ssh
ffi (1.17.2)
ffi-yajl (2.6.0)
libyajl2 (>= 1.2)
json (2.11.3)
language_server-protocol (3.17.0.4)
ffi (1.17.4)
ffi-yajl (2.7.11-universal-mingw-ucrt)
libyajl2 (>= 2.1)
io-console (0.8.2)
json (2.21.2)
language_server-protocol (3.17.0.6)
libyajl2 (2.1.0)
lint_roller (1.1.0)
method_source (1.1.0)
net-ssh (7.3.0)
parallel (1.27.0)
parser (3.3.8.0)
net-ssh (7.3.3)
parallel (2.1.0)
parser (3.3.12.0)
ast (~> 2.4.1)
racc
prism (1.4.0)
pry (0.15.2)
prism (1.9.0)
pry (0.16.0)
coderay (~> 1.1)
method_source (~> 1.0)
reline (>= 0.6.0)
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.10.0)
rspec (3.13.0)
rake (13.4.2)
regexp_parser (2.12.0)
reline (0.6.3)
io-console (~> 0.5)
rspec (3.13.2)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.3)
rspec-core (3.13.6)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
rspec-expectations (3.13.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
rspec-mocks (3.13.8)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.2)
rubocop (1.75.3)
rspec-support (3.13.7)
rubocop (1.86.1)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parallel (>= 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.44.0, < 2.0)
rubocop-ast (>= 1.49.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.44.1)
rubocop-ast (1.50.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
prism (~> 1.7)
ruby-progressbar (1.13.0)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)
uri (1.1.1)

PLATFORMS
x64-mingw-ucrt
Expand All @@ -79,6 +84,7 @@ DEPENDENCIES
pry
rake
rspec
uri

BUNDLED WITH
2.6.8
Loading