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

142 lines
4.1 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-09-13 18:27:13 +05:30
--- a/Gemfile
+++ b/Gemfile
@@ -245,87 +245,67 @@
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'
-
- # 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-09-18 19:26:29 +05:30
- gem 'rspec-retry', '~> 0.4.5'
- gem 'spinach-rails', '~> 0.2.1'
- gem 'spinach-rerun-reporter', '~> 0.0.2'
+#group :development, optional: true do
+if ENV["INCLUDE_TEST_DEPENDS"] == "true"
2016-09-18 11:32:55 +05:30
+# gem 'byebug', '~> 8.2.1', platform: :mri
+# gem 'pry-rails', '~> 0.3.4'
+#
+# gem 'awesome_print', '~> 1.2.0', require: false
+# gem 'fuubar', '~> 2.0.0'
+
+ gem 'database_cleaner', '~> 1.5'
+ gem 'factory_girl_rails', '~> 4.6'
+ gem 'rspec-rails', '~> 3.4'
2016-09-18 19:26:29 +05:30
+ gem 'rspec-retry', '~> 0.4.3'
2016-09-18 11:32:55 +05:30
+# gem 'spinach-rails', '~> 0.2.1'
+# gem 'spinach-rerun-reporter', '~> 0.0.2'
# 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-18 11:32:55 +05:30
+ gem 'ffaker', '~> 2.0'
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-08-24 20:52:28 +05:30
- gem 'rubocop', '~> 0.41.2', 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-13 18:27:13 +05:30
- gem 'simplecov', '0.12.0', require: false
2016-08-24 20:52:28 +05:30
- gem 'flog', '~> 4.3.2', require: false
- gem 'flay', '~> 2.6.1', require: false
- gem 'bundler-audit', '~> 0.5.0', require: false
2016-09-18 19:58:09 +05:30
+ gem 'capybara', '~> 2.5'
2016-09-18 11:32:55 +05:30
+ gem 'capybara-screenshot', '~> 1.0'
+ gem 'poltergeist', '~> 1.9'
+
+# gem 'teaspoon', '~> 1.1.0'
+# gem 'teaspoon-jasmine', '~> 2.2.0'
+
+# gem 'spring', '~> 1.7.0'
+# gem 'spring-commands-rspec', '~> 1.0.4'
+# gem 'spring-commands-spinach', '~> 1.1.0'
+# gem 'spring-commands-teaspoon', '~> 0.0.2'
+
+# gem 'rubocop', '~> 0.41.2', require: false
+# gem 'rubocop-rspec', '~> 1.5.0', require: false
+# gem 'scss_lint', '~> 0.47.0', require: false
+# gem 'simplecov', '0.12.0', require: false
+# gem 'flog', '~> 4.3.2', require: false
+# gem 'flay', '~> 2.6.1', require: false
+# gem 'bundler-audit', '~> 0.5.0', require: false
2016-08-24 20:52:28 +05:30
- gem 'benchmark-ips', '~> 2.3.0', require: false
2016-09-18 11:32:55 +05:30
+# gem 'benchmark-ips', '~> 2.3.0', require: false
2016-08-24 20:52:28 +05:30
- gem 'license_finder', '~> 2.1.0', require: false
- gem 'knapsack', '~> 1.11.0'
2016-09-18 11:32:55 +05:30
+# gem 'license_finder', '~> 2.1.0', require: false
+# gem 'knapsack', '~> 1.11.0'
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'
2016-08-24 20:52:28 +05:30
- gem 'sham_rack', '~> 1.3.6'
2016-09-18 11:32:55 +05:30
+group :test, optional: true do
+ gem 'shoulda-matchers', '~> 2.8', require: false
+ gem 'email_spec', '~> 1.6'
+ gem 'json-schema', '~> 2.6', '>= 2.6.2'
+ gem 'webmock', '~> 1.21'
+# gem 'test_after_commit', '~> 0.4.2'
2016-09-18 19:58:09 +05:30
+ gem 'sham_rack', '~> 1.3', '>= 1.3.6'
2016-09-18 11:32:55 +05:30
end
-group :production do
- gem 'gitlab_meta', '7.0'
-end
+#group :production do
+# gem 'gitlab_meta', '7.0'
+#end
2016-09-18 11:32:55 +05:30
2016-09-13 18:27:13 +05:30
-gem 'newrelic_rpm', '~> 3.16'
2016-09-18 11:32:55 +05:30
+#gem 'newrelic_rpm', '~> 3.16'
2016-06-16 12:31:48 +05:30
gem 'octokit', '~> 4.3'
2015-12-23 12:03:16 +05:30