mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update-bundled_gems: support recent format, keep the tag to test
This commit is contained in:
parent
ea9f16a27f
commit
e4e2a33560
1 changed files with 2 additions and 1 deletions
|
@ -9,5 +9,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/.*], "").chomp(".git")
|
||||
$_ = [gem.name, gem.version, uri].join(" ")
|
||||
$F[3][$F[1]] = gem.version.to_s if $F[3] && $F[3].include?($F[1])
|
||||
$_ = [gem.name, gem.version, uri, *$F[3..-1]].join(" ")
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue