summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/update-bundled_gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/update-bundled_gems.rb b/tool/update-bundled_gems.rb
index 905857e27c..a699d6bae9 100644
--- a/tool/update-bundled_gems.rb
+++ b/tool/update-bundled_gems.rb
@@ -8,6 +8,6 @@ unless /^[^#]/ !~ (gem = $F[0])
}
gem = src.fetch_spec(gem)
uri = gem.metadata["source_code_uri"] || gem.homepage
- uri = uri.sub(%r[\Ahttps://github\.com/[^/]+/[^/]+\K/tree/.*], "")
+ uri = uri.sub(%r[\Ahttps://github\.com/[^/]+/[^/]+\K/tree/.*], "").chomp(".git")
$_ = [gem.name, gem.version, uri].join(" ")
end