mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/mspec@1034afc
This commit is contained in:
parent
bf77fc23e7
commit
26a9f80c82
1 changed files with 1 additions and 6 deletions
|
@ -12,7 +12,6 @@ IMPLS = {
|
|||
},
|
||||
mri: {
|
||||
git: "https://github.com/ruby/ruby.git",
|
||||
master: "trunk",
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -48,10 +47,6 @@ class RubyImplementation
|
|||
@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)
|
|||
Dir.chdir(impl.repo_name) do
|
||||
puts Dir.pwd
|
||||
|
||||
sh "git", "checkout", impl.default_branch
|
||||
sh "git", "checkout", "master"
|
||||
sh "git", "pull"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue