Skip to content

Commit ae2842a

Browse files
committed
Add new HighLine version
This commit adds a new version of the HighLine gem (3.0.1) to agent-runtime-main while retaining the previous version (2.1.0) as the default.
1 parent fbc95d5 commit ae2842a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

configs/components/rubygem-highline.rb

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
component 'rubygem-highline' do |pkg, settings, _platform|
2-
pkg.version '2.1.0'
3-
pkg.md5sum '4209083bda845d47dcc05b7ab23f25fd'
2+
version = settings[:rubygem_highline_version] || '2.1.0'
3+
pkg.version version
4+
5+
case version
6+
when '2.1.0'
7+
pkg.md5sum '4209083bda845d47dcc05b7ab23f25fd'
8+
when '3.0.1'
9+
pkg.sha256sum 'ca18b218fd581b1fae832f89bfeaf2b34d3a93429c44fd4411042ffce286f009'
10+
else
11+
raise "rubygem-highline version #{version} has not been configured; Cannot continue."
12+
end
413

514
instance_eval File.read('configs/components/_base-rubygem.rb')
615

configs/projects/agent-runtime-main.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Set preferred component versions if they differ from defaults:
44
proj.setting :ruby_version, '3.2.3'
55
proj.setting :rubygem_deep_merge_version, '1.2.2'
6+
proj.setting :rubygem_highline_version, '3.0.1'
67
proj.setting :rubygem_hocon_version, '1.4.0'
78

89
# Solaris and AIX depend on libedit which breaks augeas compliation starting with 1.13.0

0 commit comments

Comments
 (0)