File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
component "rubygem-hocon" do |pkg , settings , platform |
2
- pkg . version "1.3.1"
3
- pkg . md5sum "9182e012c0d48d0512a1b49179616709"
2
+ version = settings [ :rubygem_hocon_version ] || '1.3.1'
3
+ pkg . version version
4
+
5
+ case version
6
+ when '1.3.1'
7
+ pkg . md5sum "9182e012c0d48d0512a1b49179616709"
8
+ when '1.4.0'
9
+ pkg . sha256sum "e71023ed7c56ae780ec34c0ce7789a233bcead08c045d50bc7b3af40f5afcd80"
10
+ else
11
+ raise "rubygem-hocon version #{ version } has not been configured; Cannot continue."
12
+ end
4
13
5
14
instance_eval File . read ( 'configs/components/_base-rubygem.rb' )
6
15
Original file line number Diff line number Diff line change 3
3
# Set preferred component versions if they differ from defaults:
4
4
proj . setting :ruby_version , '3.2.1'
5
5
proj . setting :rubygem_deep_merge_version , '1.2.2'
6
+ proj . setting :rubygem_hocon_version , '1.4.0'
6
7
7
8
# Solaris and AIX depend on libedit which breaks augeas compliation starting with 1.13.0
8
9
if platform . is_solaris? || platform . is_aix?
You can’t perform that action at this time.
0 commit comments