debian-mirror-gitlab/debian/patches/0110-make-test-dependencies-conditional.patch
2017-09-10 18:21:32 +05:30

22 lines
557 B
Diff

--- a/Gemfile
+++ b/Gemfile
@@ -290,7 +290,7 @@
gem 'raindrops', '~> 0.18'
end
-group :development, :test do
+if ENV["INCLUDE_TEST_DEPENDS"] == "true"
gem 'bullet', '~> 5.5.0', require: !!ENV['ENABLE_BULLET']
gem 'pry-byebug', '~> 3.4.1', platform: :mri
gem 'pry-rails', '~> 0.3.4'
@@ -337,9 +337,8 @@
gem 'activerecord_sane_schema_dumper', '0.2'
gem 'stackprof', '~> 0.2.10'
-end
-group :test do
+# group test
gem 'shoulda-matchers', '~> 3.1.2', require: false
gem 'email_spec', '~> 1.6.0'
gem 'json-schema', '~> 2.6.2'