Skip to content

Commit

Permalink
update r10k for bolt-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
alex501212 committed Nov 11, 2024
1 parent a117162 commit b80b58a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions configs/components/rubygem-r10k.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
component 'rubygem-r10k' do |pkg, settings, platform|
pkg.version '4.1.0'
pkg.sha256sum '64e5b9e1a6cbb4006c96477d8c34ce589fe1c278117311f452d9f30b9cc86e4c'
version = settings[:rubygem_r10k_version] || '3.16.2'

case version
when '3.16.2'
pkg.version '3.16.2'
pkg.sha256sum '9775a726ba94a543bf49952b10dcd23690a54f5d2a361746b78b1292abe32eb9'
when '4.1.0'
pkg.version '4.1.0'
pkg.sha256sum '64e5b9e1a6cbb4006c96477d8c34ce589fe1c278117311f452d9f30b9cc86e4c'
else
raise "rubygem-r10k version #{version} is not supported"
end

instance_eval File.read('configs/components/_base-rubygem.rb')
end
1 change: 1 addition & 0 deletions configs/projects/bolt-runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
proj.setting(:rubygem_faraday_version, '2.12.0')
proj.setting(:rubygem_faraday_net_http_version, '3.3.0')
proj.setting(:rubygem_faraday_net_http_persistent_version, '2.3.0')
proj.setting(:rubygem_r10k_version, '4.1.0')

platform = proj.get_platform

Expand Down

0 comments on commit b80b58a

Please sign in to comment.