ruby-changes:59473
From: Nobuyoshi <ko1@a...>
Date: Wed, 25 Dec 2019 12:38:23 +0900 (JST)
Subject: [ruby-changes:59473] eb3f19b9b8 (master): update-bundled_gems: drop branch name on github [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=eb3f19b9b8 From eb3f19b9b896094ae9754de1b48fed86fb35fe39 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 25 Dec 2019 11:17:24 +0900 Subject: update-bundled_gems: drop branch name on github [ci skip] diff --git a/common.mk b/common.mk index b2e5b2b..3706aeb 100644 --- a/common.mk +++ b/common.mk @@ -1300,7 +1300,9 @@ update-bundled_gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1300 -e 's.platform=="ruby"&&s.name==$$F[0]' \ -e '}' \ -e 'gem = src.fetch_spec(gem)' \ - -e '$$_ = [gem.name, gem.version, gem.metadata["source_code_uri"]||gem.homepage].join(" ")' \ + -e 'uri = gem.metadata["source_code_uri"]||gem.homepage' \ + -e 'uri = uri.sub(%r[\Ahttps://github\.com/[^/]+/[^/]+\K/tree/.*], "")' \ + -e '$$_ = [gem.name, gem.version, uri].join(" ")' \ "$(srcdir)/gems/bundled_gems" | \ "$(IFCHANGE)" "$(srcdir)/gems/bundled_gems" - -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/