From 6cca8a0ceb7936d110aca600225ede87864df4e7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 24 Oct 2022 18:36:40 +0900 Subject: [PATCH] Strip trailing spaces [ci skip] --- tool/update-bundled_gems.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/tool/update-bundled_gems.rb b/tool/update-bundled_gems.rb index 5ec0528721..c8927b878d 100755 --- a/tool/update-bundled_gems.rb +++ b/tool/update-bundled_gems.rb @@ -19,4 +19,5 @@ unless /^[^#]/ !~ (gem = $F[0]) f = [gem.name, gem.version.to_s, uri, *$F[3..-1]] $_.gsub!(/\S+\s*/) {|s| (f.shift || "").ljust(s.size)} $_ = [$_, *f].join(" ") unless f.empty? + $_.rstrip! end