debian-mirror-gitlab/debian/patches/0110-make-test-dependencies-conditional.patch

21 lines
568 B
Diff

--- a/Gemfile
+++ b/Gemfile
@@ -312,7 +312,7 @@
gem 'raindrops', '~> 0.18'
end
-group :development, :test do
+if ENV["INCLUDE_TEST_DEPENDS"] == "true"
gem 'bullet', '~> 5.5', require: !!ENV['ENABLE_BULLET']
gem 'pry-byebug', '~> 3.5', '>= 3.5.1', platform: :mri
gem 'pry-rails', '~> 0.3.4'
@@ -365,9 +365,7 @@
gem 'simple_po_parser', '~> 1.1', '>= 1.1.2', require: false
gem 'timecop', '~> 0.8.0'
-end
-group :test do
gem 'shoulda-matchers', '~> 4.0', '>= 4.0.1', require: false
gem 'email_spec', '~> 2.2'
gem 'json-schema', '~> 2.8'