Skip to content

Commit f4fce6f

Browse files
committed
Add logger and base64 gems
Needed by OpenFact since it supports Ruby 3.4, and will be needed by the agent and OpenBolt once we have Ruby 3.4+ support for them.
1 parent ff54460 commit f4fce6f

4 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#####
2+
# Component release information:
3+
# https://rubygems.org/gems/base64
4+
# https://github.com/ruby/base64/releases
5+
#####
6+
component 'rubygem-base64' do |pkg, settings, platform|
7+
pkg.version '0.3.0'
8+
pkg.sha256sum '27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b'
9+
10+
instance_eval File.read('configs/components/_base-rubygem.rb')
11+
end
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#####
2+
# Component release information:
3+
# https://rubygems.org/gems/logger
4+
# https://github.com/ruby/logger/releases
5+
#####
6+
component 'rubygem-logger' do |pkg, settings, platform|
7+
pkg.version '1.7.0'
8+
pkg.sha256sum '196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203'
9+
10+
instance_eval File.read('configs/components/_base-rubygem.rb')
11+
end

configs/projects/_shared-agent-components.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
proj.component 'rubygem-fast_gettext'
6363
proj.component 'rubygem-ffi'
6464

65+
# These gems are still included in Ruby 3.2, but we include them because
66+
# OpenFact requires them for Ruby 3.4 support, and the agent will need to
67+
# do the same once we get to Ruby 3.4+ in OpenVox 9.
68+
proj.component 'rubygem-logger'
69+
proj.component 'rubygem-base64'
70+
6571
# We add rexml explicitly in here because even though ruby 3 ships with rexml as its default gem, the version
6672
# of rexml it ships with contains CVE-2024-41946, CVE-2024-41123, CVE-2024-35176 and CVE-2024-39908.
6773
# So, we add it here to update to a higher version

configs/projects/bolt-runtime.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@
120120
proj.component 'rubygem-bcrypt_pbkdf'
121121
proj.component 'rubygem-ed25519'
122122

123+
# These gems are still included in Ruby 3.2, but we include them because
124+
# OpenFact requires them for Ruby 3.4 support, and Bolt will need to
125+
# do the same once we get to Ruby 3.4+ support.
126+
proj.component 'rubygem-logger'
127+
proj.component 'rubygem-base64'
128+
123129
# Puppet dependencies
124130
proj.component 'rubygem-hocon'
125131
proj.component 'rubygem-deep_merge'

0 commit comments

Comments
 (0)