Skip to content

Commit 989b39e

Browse files
authored
Merge pull request #655 from joshcooper/bump_hocon
(PA-5023) Bump hocon to 1.4.0 in agent-runtime-main only
2 parents d119df7 + 1736635 commit 989b39e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

configs/components/rubygem-hocon.rb

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
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
413

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

configs/projects/agent-runtime-main.rb

+1
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.1'
55
proj.setting :rubygem_deep_merge_version, '1.2.2'
6+
proj.setting :rubygem_hocon_version, '1.4.0'
67

78
# Solaris and AIX depend on libedit which breaks augeas compliation starting with 1.13.0
89
if platform.is_solaris? || platform.is_aix?

0 commit comments

Comments
 (0)