File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11component '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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments