aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/benchmark.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-09-27 00:02:11 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-09-27 00:02:11 +0300
commit3e0a858aedb9cb3698843f8b1de8a80876f75aa7 (patch)
treef3ba029a072a79bb869362d9f7acf09b66b731cf /guides/bug_report_templates/benchmark.rb
parentaa1cf119a63e5327068a5aa16bb6c0a67b35d9e3 (diff)
downloadrails-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/benchmark.rb')
-rw-r--r--guides/bug_report_templates/benchmark.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/bug_report_templates/benchmark.rb b/guides/bug_report_templates/benchmark.rb
index d0f5a634bc..5c8c4cc3c6 100644
--- a/guides/bug_report_templates/benchmark.rb
+++ b/guides/bug_report_templates/benchmark.rb
@@ -9,6 +9,7 @@ end
gemfile(true) do
source "https://rubygems.org"
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "rails", github: "rails/rails"
gem "arel", github: "rails/arel"
gem "benchmark-ips"