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

23 lines
557 B
Diff
Raw Normal View History

2017-08-20 00:17:22 +05:30
--- a/Gemfile
+++ b/Gemfile
2017-09-10 18:21:32 +05:30
@@ -290,7 +290,7 @@
gem 'raindrops', '~> 0.18'
2017-08-20 00:17:22 +05:30
end
2017-09-10 18:21:32 +05:30
-group :development, :test do
2017-08-20 00:17:22 +05:30
+if ENV["INCLUDE_TEST_DEPENDS"] == "true"
2017-09-10 18:21:32 +05:30
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'