Skip to content

Commit 64797a6

Browse files
authored
Merge pull request #80 from ananace/rubygem-ruby-dbus
rubygem-ruby-dbus: Add component
2 parents 12c380a + aed3439 commit 64797a6

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#####
2+
# Component release information:
3+
# https://rubygems.org/gems/ruby-dbus
4+
#####
5+
component 'rubygem-ruby-dbus' do |pkg, _settings, _platform|
6+
### Maintained by update_gems automation ###
7+
pkg.version '0.25.0'
8+
pkg.sha256sum 'fe431ca96a61f7c87a5177a43c9fe0a50eafe174c1d108421e38bb5165ea4814'
9+
### End automated maintenance section ###
10+
11+
instance_eval File.read('configs/components/_base-rubygem.rb')
12+
end

configs/projects/agent-runtime-main.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@
122122
if platform.is_linux?
123123
proj.component 'virt-what'
124124
proj.component 'dmidecode' unless platform.architecture =~ /ppc64/
125+
# DBus exists outside of Linux, but it's the most common platform to find it on
126+
proj.component 'rubygem-ruby-dbus'
125127
end
126128
# rubocop:enable Style/IfUnlessModifier
127129
end

configs/projects/openbolt-runtime.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,12 @@
273273
proj.component 'ruby-shadow'
274274
end
275275

276+
# Linux specific components
277+
if platform.is_linux?
278+
# DBus exists outside of Linux, but it's the most common platform to find it on
279+
proj.component 'rubygem-ruby-dbus'
280+
end
281+
276282
# rubocop:enable Style/IfUnlessModifier
277283

278284
# What to include in package?

0 commit comments

Comments
 (0)