Allways fetch the latest commit from default gems repository.
This commit is contained in:
parent
1feda1c2b0
commit
9f9a6dbc14
@ -234,9 +234,9 @@ def sync_default_gems_with_commits(gem, range)
|
||||
IO.popen(%W"git remote") do |f|
|
||||
unless f.read.split.include?(gem)
|
||||
`git remote add #{gem} git@github.com:#{$repositories[gem.to_sym]}.git`
|
||||
end
|
||||
end
|
||||
`git fetch #{gem}`
|
||||
end
|
||||
end
|
||||
|
||||
IO.popen(%W"git log --format=%H,%s #{range}") do |f|
|
||||
commits = f.read.split("\n").reverse.map{|commit| commit.split(',')}
|
||||
|
Loading…
x
Reference in New Issue
Block a user