ruby-changes:53883
From: nobu <ko1@a...>
Date: Fri, 30 Nov 2018 16:04:07 +0900 (JST)
Subject: [ruby-changes:53883] nobu:r66102 (trunk): Update source code URI in bundled_gems [ci skip]
nobu 2018-11-30 16:04:00 +0900 (Fri, 30 Nov 2018) New Revision: 66102 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66102 Log: Update source code URI in bundled_gems [ci skip] Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 66101) +++ common.mk (revision 66102) @@ -1249,11 +1249,11 @@ extract-gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1249 update-bundled_gems: PHONY $(Q) $(RUNRUBY) -rrubygems \ -pla \ - -e '$$_=Gem::SpecFetcher.fetcher.detect(:latest) {'"|s|" \ - -e 'if s.platform=="ruby"&&s.name==$$F[0]' \ - -e 'break [s.name, s.version, *$$F[2..-1]].join(" ")' \ - -e 'end' \ + -e '(gem,src), = Gem::SpecFetcher.fetcher.detect(:latest) {'"|s|" \ + -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(" ")' \ "$(srcdir)/gems/bundled_gems" | \ "$(IFCHANGE)" "$(srcdir)/gems/bundled_gems" - -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/