ruby-changes:59535
From: Benoit <ko1@a...>
Date: Sat, 28 Dec 2019 00:47:35 +0900 (JST)
Subject: [ruby-changes:59535] 26a9f80c82 (master): Update to ruby/mspec@1034afc
https://git.ruby-lang.org/ruby.git/commit/?id=26a9f80c82 From 26a9f80c823a9f536a235d80d600aa9e03ed7a2f Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Fri, 27 Dec 2019 16:46:05 +0100 Subject: Update to ruby/mspec@1034afc diff --git a/spec/mspec/tool/sync/sync-rubyspec.rb b/spec/mspec/tool/sync/sync-rubyspec.rb index 48047e0..74881c1 100644 --- a/spec/mspec/tool/sync/sync-rubyspec.rb +++ b/spec/mspec/tool/sync/sync-rubyspec.rb @@ -12,7 +12,6 @@ IMPLS = { https://github.com/ruby/ruby/blob/trunk/spec/mspec/tool/sync/sync-rubyspec.rb#L12 }, mri: { git: "https://github.com/ruby/ruby.git", - master: "trunk", }, } @@ -48,10 +47,6 @@ class RubyImplementation https://github.com/ruby/ruby/blob/trunk/spec/mspec/tool/sync/sync-rubyspec.rb#L47 @data[:git] end - def default_branch - @data[:master] || "master" - end - def repo_name File.basename(git_url, ".git") end @@ -99,7 +94,7 @@ def update_repo(impl) https://github.com/ruby/ruby/blob/trunk/spec/mspec/tool/sync/sync-rubyspec.rb#L94 Dir.chdir(impl.repo_name) do puts Dir.pwd - sh "git", "checkout", impl.default_branch + sh "git", "checkout", "master" sh "git", "pull" end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/