diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-08-08 18:36:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-08 18:36:09 -0400 |
commit | c7be5dfa3c9ca1ab6f86063a031c9b200269cc2f (patch) | |
tree | 70c64c87f8c3071947541f023e939735f17a205b /Gemfile | |
parent | d5d5f42888e8d6466f740821de288e0892d38ccd (diff) | |
parent | 7f33b8afa2549069c8f131aeee0b5861250b5214 (diff) | |
download | rails-c7be5dfa3c9ca1ab6f86063a031c9b200269cc2f.tar.gz rails-c7be5dfa3c9ca1ab6f86063a031c9b200269cc2f.tar.bz2 rails-c7be5dfa3c9ca1ab6f86063a031c9b200269cc2f.zip |
Merge pull request #30109 from koic/simplify_git_source_in_gemfile
Simplify `git_source` in Gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,9 +1,6 @@ source "https://rubygems.org" -git_source(:github) do |repo_name| - repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") - "https://github.com/#{repo_name}.git" -end +git_source(:github) { |repo| "https://github.com/#{repo}.git" } gemspec |