Merge pull request #34335 from robin850/update-bug-report-templates

Update bug report templates
This commit is contained in:
Ryuta Kamizono 2018-10-29 11:03:15 +09:00 committed by GitHub
commit 0d68e0690f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 87 deletions

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
@ -42,9 +37,6 @@ end
require "minitest/autorun"
# Ensure backward compatibility with minitest 4.
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
class BugTest < Minitest::Test
include Rack::Test::Methods

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
@ -19,9 +14,6 @@ end
require "minitest/autorun"
require "active_job"
# Ensure backward compatibility with minitest 4.
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
class BuggyJob < ActiveJob::Base
def perform
puts "performed"

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
@ -18,9 +13,6 @@ end
require "active_job"
require "minitest/autorun"
# Ensure backward compatibility with minitest 4.
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
class BuggyJob < ActiveJob::Base
def perform
puts "performed"

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
@ -21,9 +16,6 @@ require "active_record"
require "minitest/autorun"
require "logger"
# Ensure backward compatibility with minitest 4.
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
# This connection will do for database-independent bug reports.
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
ActiveRecord::Base.logger = Logger.new(STDOUT)

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
@ -21,9 +16,6 @@ require "active_record"
require "minitest/autorun"
require "logger"
# Ensure backward compatibility with minitest 4.
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
# This connection will do for database-independent bug reports.
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
ActiveRecord::Base.logger = Logger.new(STDOUT)

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
@ -20,9 +15,6 @@ require "active_record"
require "minitest/autorun"
require "logger"
# Ensure backward compatibility with minitest 4.
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
# This connection will do for database-independent bug reports.
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
ActiveRecord::Base.logger = Logger.new(STDOUT)

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
@ -20,9 +15,6 @@ require "active_support"
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)
class BugTest < Minitest::Test
def test_stuff
assert "zomg".present?

View File

@ -1,11 +1,6 @@
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"