mirror of https://github.com/rails/rails
Slim down the source definition
This commit is contained in:
parent
3a628b9338
commit
e0318bf0d0
|
@ -1,9 +1,5 @@
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
git_source(:github) { |repo| "https://github.com/#{repo.include?("/") ? repo : "#{repo}/#{repo}"}.git" }
|
||||||
git_source(:github) do |repo_name|
|
|
||||||
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
|
||||||
"https://github.com/#{repo_name}.git"
|
|
||||||
end
|
|
||||||
|
|
||||||
<% gemfile_entries.each do |gem| -%>
|
<% gemfile_entries.each do |gem| -%>
|
||||||
<% if gem.comment -%>
|
<% if gem.comment -%>
|
||||||
|
|
Loading…
Reference in New Issue