aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/generic_gem.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-06 19:21:59 +0200
committerXavier Noria <fxn@hashref.com>2016-08-06 19:21:59 +0200
commit6b3719b7577ab81171bab94a0492ae383dd279fe (patch)
treedda0bb85b771cafd16acf5bea1288233feca8e09 /guides/bug_report_templates/generic_gem.rb
parent8b4e6bf23338e2080af537ea4f295e65a1d11388 (diff)
downloadrails-6b3719b7577ab81171bab94a0492ae383dd279fe.tar.gz
rails-6b3719b7577ab81171bab94a0492ae383dd279fe.tar.bz2
rails-6b3719b7577ab81171bab94a0492ae383dd279fe.zip
applies new string literal convention in guides
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
Diffstat (limited to 'guides/bug_report_templates/generic_gem.rb')
-rw-r--r--guides/bug_report_templates/generic_gem.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/guides/bug_report_templates/generic_gem.rb b/guides/bug_report_templates/generic_gem.rb
index 2aaaf10615..a94848e25b 100644
--- a/guides/bug_report_templates/generic_gem.rb
+++ b/guides/bug_report_templates/generic_gem.rb
@@ -1,18 +1,18 @@
begin
- require 'bundler/inline'
+ require "bundler/inline"
rescue LoadError => e
- $stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
+ $stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
- source 'https://rubygems.org'
+ source "https://rubygems.org"
# Activate the gem you are reporting the issue against.
- gem 'activesupport', '5.0.0'
+ gem "activesupport", "5.0.0"
end
-require 'active_support/core_ext/object/blank'
-require 'minitest/autorun'
+require "active_support/core_ext/object/blank"
+require "minitest/autorun"
# Ensure backward compatibility with Minitest 4
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)