debian-mirror-gitlab/debian/patches/0100-remove-development-test.patch

114 lines
3.3 KiB
Diff
Raw Normal View History

2016-01-20 00:51:50 +05:30
Bundler will fail when it can't find these locally
2016-11-03 15:15:38 +05:30
Index: gitlab/Gemfile
===================================================================
--- gitlab.orig/Gemfile
+++ gitlab/Gemfile
@@ -243,87 +243,34 @@ group :metrics do
2016-06-02 11:31:04 +05:30
gem 'influxdb', '~> 0.2', require: false
2016-01-14 19:11:10 +05:30
end
2015-12-23 12:03:16 +05:30
-group :development do
2016-08-24 20:52:28 +05:30
- gem 'foreman', '~> 0.78.0'
2016-06-16 23:10:45 +05:30
- gem 'brakeman', '~> 3.3.0', require: false
2015-12-23 12:03:16 +05:30
-
2016-06-02 11:31:04 +05:30
- gem 'letter_opener_web', '~> 1.3.0'
2015-12-23 12:03:16 +05:30
- gem 'rerun', '~> 0.11.0'
2016-09-13 18:27:13 +05:30
- gem 'bullet', '~> 5.2.0', require: false
2016-08-24 20:52:28 +05:30
- gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
2015-12-23 12:03:16 +05:30
- gem 'web-console', '~> 2.0'
-
- # Better errors handler
- gem 'better_errors', '~> 1.0.1'
- gem 'binding_of_caller', '~> 0.7.2'
2016-11-03 15:15:38 +05:30
+#group :development, :test do
+if ENV["INCLUDE_TEST_DEPENDS"] == "true"
+ gem 'database_cleaner', '~> 1.5'
+ gem 'factory_girl_rails', '~> 4.6'
+ gem 'rspec-rails', '~> 3.4'
2015-12-23 12:03:16 +05:30
- # Docs generator
2016-08-24 20:52:28 +05:30
- gem 'sdoc', '~> 0.3.20'
2015-12-23 12:03:16 +05:30
-
- # thin instead webrick
2016-08-24 20:52:28 +05:30
- gem 'thin', '~> 1.7.0'
2015-12-23 12:03:16 +05:30
-end
-
-group :development, :test do
2016-08-24 20:52:28 +05:30
- gem 'byebug', '~> 8.2.1', platform: :mri
- gem 'pry-rails', '~> 0.3.4'
2015-12-23 12:03:16 +05:30
-
2016-01-14 19:11:10 +05:30
- gem 'awesome_print', '~> 1.2.0', require: false
2015-12-23 12:03:16 +05:30
- gem 'fuubar', '~> 2.0.0'
-
2016-09-13 18:27:13 +05:30
- gem 'database_cleaner', '~> 1.5.0'
2016-06-02 11:31:04 +05:30
- gem 'factory_girl_rails', '~> 4.6.0'
2016-08-24 20:52:28 +05:30
- gem 'rspec-rails', '~> 3.5.0'
2016-11-03 15:15:38 +05:30
- gem 'rspec-retry', '~> 0.4.5'
2016-09-29 10:17:09 +05:30
- gem 'spinach-rails', '~> 0.2.1'
- gem 'spinach-rerun-reporter', '~> 0.0.2'
2016-11-03 15:15:38 +05:30
+ gem 'awesome_print', '~> 1.2', require: false
+ gem 'fuubar', '~> 2.0'
2016-09-18 11:32:55 +05:30
# Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
2016-09-18 19:41:30 +05:30
- gem 'minitest', '~> 5.7.0'
+ gem 'minitest', '~> 5.7'
2016-09-18 11:32:55 +05:30
# Generate Fake data
2015-12-23 12:03:16 +05:30
- gem 'ffaker', '~> 2.0.0'
2016-09-29 10:17:09 +05:30
-
2016-06-02 11:31:04 +05:30
- gem 'capybara', '~> 2.6.2'
2015-12-23 12:03:16 +05:30
- gem 'capybara-screenshot', '~> 1.0.0'
2016-06-02 11:31:04 +05:30
- gem 'poltergeist', '~> 1.9.0'
2015-12-23 12:03:16 +05:30
-
2016-06-02 11:31:04 +05:30
- gem 'teaspoon', '~> 1.1.0'
2015-12-23 12:03:16 +05:30
- gem 'teaspoon-jasmine', '~> 2.2.0'
-
2016-06-02 11:31:04 +05:30
- gem 'spring', '~> 1.7.0'
2015-12-23 12:03:16 +05:30
- gem 'spring-commands-rspec', '~> 1.0.4'
2016-06-02 11:31:04 +05:30
- gem 'spring-commands-spinach', '~> 1.1.0'
2015-12-23 12:03:16 +05:30
- gem 'spring-commands-teaspoon', '~> 0.0.2'
-
2016-11-03 15:15:38 +05:30
- gem 'rubocop', '~> 0.43.0', require: false
2016-06-16 23:10:45 +05:30
- gem 'rubocop-rspec', '~> 1.5.0', require: false
2016-06-02 11:31:04 +05:30
- gem 'scss_lint', '~> 0.47.0', require: false
2016-09-29 10:17:09 +05:30
- gem 'haml_lint', '~> 0.18.2', require: false
2016-09-13 18:27:13 +05:30
- gem 'simplecov', '0.12.0', require: false
2016-08-24 20:52:28 +05:30
- gem 'flay', '~> 2.6.1', require: false
- gem 'bundler-audit', '~> 0.5.0', require: false
2016-09-29 10:17:09 +05:30
-
2016-08-24 20:52:28 +05:30
- gem 'benchmark-ips', '~> 2.3.0', require: false
2016-09-29 10:17:09 +05:30
+ gem 'ffaker', '~> 2.0'
2016-09-18 11:32:55 +05:30
2016-08-24 20:52:28 +05:30
- gem 'license_finder', '~> 2.1.0', require: false
- gem 'knapsack', '~> 1.11.0'
2016-11-03 15:15:38 +05:30
-
- gem 'activerecord_sane_schema_dumper', '0.2'
2016-09-29 10:17:09 +05:30
-end
-
2015-12-23 12:03:16 +05:30
-group :test do
- gem 'shoulda-matchers', '~> 2.8.0', require: false
- gem 'email_spec', '~> 1.6.0'
2016-09-13 18:27:13 +05:30
- gem 'json-schema', '~> 2.6.2'
2015-12-23 12:03:16 +05:30
- gem 'webmock', '~> 1.21.0'
- gem 'test_after_commit', '~> 0.4.2'
- gem 'sham_rack', '~> 1.3.6'
2016-09-29 10:17:09 +05:30
+ gem 'capybara', '~> 2.5'
+ gem 'capybara-screenshot', '~> 1.0'
+ gem 'poltergeist', '~> 1.9'
+
+ gem 'license_finder', '~> 2.1', require: false
2016-09-18 11:32:55 +05:30
+ gem 'shoulda-matchers', '~> 2.8', require: false
+ gem 'email_spec', '~> 1.6'
+ gem 'json-schema', '~> 2.6', '>= 2.6.2'
+ gem 'webmock', '~> 1.21'
2016-09-18 19:58:09 +05:30
+ gem 'sham_rack', '~> 1.3', '>= 1.3.6'
2016-09-29 10:17:09 +05:30
gem 'timecop', '~> 0.8.0'
2016-09-18 11:32:55 +05:30
end
2016-09-13 18:27:13 +05:30
-gem 'newrelic_rpm', '~> 3.16'
2016-09-29 10:17:09 +05:30
-
2016-06-16 12:31:48 +05:30
gem 'octokit', '~> 4.3'
2015-12-23 12:03:16 +05:30
2016-11-03 15:15:38 +05:30
gem 'mail_room', '~> 0.8.1'