updater-ruby_power_assert-3.0.0 — ruby_power_assert → 3.0.0 (#13320)

* Add unbuilt ruby_power_assert to updater-ruby_power_assert-3.0.0

* updater-ruby_power_assert-3.0.0: Package File Update Run on linux/386 container.

* updater-ruby_power_assert-3.0.0: Package File Update Run on linux/amd64 container.

* updater-ruby_power_assert-3.0.0: Package File Update Run on linux/arm/v7 container.

* Adjust ruby filelist generation.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* updater-ruby_power_assert-3.0.0: Package File Update Run on linux/386 container.

* updater-ruby_power_assert-3.0.0: Package File Update Run on linux/amd64 container.

* updater-ruby_power_assert-3.0.0: Package File Update Run on linux/arm/v7 container.

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
chromebrew-actions[bot]
2025-11-04 02:36:07 -06:00
committed by GitHub
parent 12f78eb9d1
commit 4cda3267b8
6 changed files with 51 additions and 7 deletions

View File

@@ -86,11 +86,7 @@ end
def save_gem_filelist(gem_name = nil, gem_filelist_path = nil)
crewlog "@gem_latest_version_installed: #{@gem_latest_version_installed}"
files = if @gem_latest_version_installed
`gem contents #{gem_name}`.chomp.split
else
`gem install #{gem_name} &>/dev/null ; gem contents #{gem_name}`.chomp.split
end
files = `gem install #{gem_name} &>/dev/null ; gem contents #{gem_name}`.chomp.split
exes = files.grep(%r{/exe/|/bin/})
# Gem.bindir should end up being #{CREW_PREFIX}/bin.
exes&.map! { |x| x.gsub(%r{^.*(/exe/|/bin/)}, "#{Gem.bindir}/") }

View File

@@ -4,7 +4,7 @@ require 'etc'
require 'open3'
OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
CREW_VERSION ||= '1.67.16' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
CREW_VERSION ||= '1.67.17' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
# Kernel architecture.
KERN_ARCH ||= Etc.uname[:machine]