diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-09-27 00:02:11 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-09-27 00:02:11 +0300 |
commit | 3e0a858aedb9cb3698843f8b1de8a80876f75aa7 (patch) | |
tree | f3ba029a072a79bb869362d9f7acf09b66b731cf /guides/bug_report_templates/action_controller_gem.rb | |
parent | aa1cf119a63e5327068a5aa16bb6c0a67b35d9e3 (diff) | |
download | rails-3e0a858aedb9cb3698843f8b1de8a80876f75aa7.tar.gz rails-3e0a858aedb9cb3698843f8b1de8a80876f75aa7.tar.bz2 rails-3e0a858aedb9cb3698843f8b1de8a80876f75aa7.zip |
Change :github git source for bug report templates
:github source uses `git://` url by default, `https://` is recommended.
See http://bundler.io/v1.15/guides/git.html#security
We do the same in our `Gemfile` and templates.
Diffstat (limited to 'guides/bug_report_templates/action_controller_gem.rb')
-rw-r--r-- | guides/bug_report_templates/action_controller_gem.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/bug_report_templates/action_controller_gem.rb b/guides/bug_report_templates/action_controller_gem.rb index 4d8d8db3e5..fc4effac30 100644 --- a/guides/bug_report_templates/action_controller_gem.rb +++ b/guides/bug_report_templates/action_controller_gem.rb @@ -9,6 +9,7 @@ end gemfile(true) do source "https://rubygems.org" + git_source(:github) { |repo| "https://github.com/#{repo}.git" } # Activate the gem you are reporting the issue against. gem "rails", "5.1.0" end |