debian-mirror-gitlab/debian/patches/Gemfile/0020-remove-development-test.patch
2023-07-09 09:48:07 +05:30

114 lines
3.1 KiB
Diff

Bundler will fail when it can't find these locally
--- a/Gemfile
+++ b/Gemfile
@@ -111,14 +111,12 @@
gem 'grape', '~> 1.5','>= 1.5.2'
gem 'grape-entity', '~> 0.10.0'
gem 'rack-cors', '~> 1.1', '>= 1.1.1', require: 'rack/cors'
-gem 'grape-swagger', '~>1.5.0', group: [:development, :test]
-gem 'grape-swagger-entity', '~> 0.5.1', group: [:development, :test]
+
# GraphQL API
gem 'graphql', '~> 1.13', '>= 1.13.12'
gem 'graphiql-rails', '~> 1.8'
gem 'apollo_upload_server', '~> 2.1'
-gem 'graphql-docs', '~> 2.1.0', group: [:development, :test]
gem 'graphlient', '~> 0.5.0' # Used by BulkImport feature (group::import)
gem 'hashie', '~> 5.0'
@@ -348,7 +346,6 @@
gem 'rails-i18n', '~> 7.0'
gem 'gettext_i18n_rails', '~> 1.8'
gem 'gettext_i18n_rails_js', '~> 1.3'
-gem 'gettext', '~> 3.3', require: false, group: :development
gem 'batch-loader', '~> 2.0', '>= 2.0.1'
@@ -367,85 +364,6 @@
gem 'warning', '~> 1.3'
-group :development do
- gem 'lefthook', '~> 1.3.13', require: false
- gem 'rubocop'
- gem 'solargraph', '~> 0.47.2', require: false
-
- gem 'letter_opener_web', '~> 2.0.0'
- gem 'lookbook', '~> 2.0', '>= 2.0.1'
-
- # Better errors handler
- gem 'better_errors', '~> 2.10.0'
-
- gem 'sprite-factory', '~> 1.7'
-
- gem "listen", "~> 3.7"
-end
-
-group :development, :test do
- gem 'deprecation_toolkit', '~> 1.5.1', require: false
- gem 'bullet', '~> 7.0.2'
- gem 'pry-byebug'
- gem 'pry-rails', '~> 0.3.9'
- gem 'pry-shell', '~> 0.6.1'
-
- gem 'awesome_print', require: false
-
- gem 'database_cleaner', '~> 1.7.0'
- gem 'factory_bot_rails', '~> 6.2.0'
- gem 'rspec-rails', '~> 6.0.1'
-
- # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
- gem 'minitest', '~> 5.11.0'
-
- # Generate Fake data
- gem 'ffaker', '~> 2.10'
-
- gem 'spring', '~> 4.1.0'
- gem 'spring-commands-rspec', '~> 1.0.4'
-
- gem 'gitlab-styles', '~> 10.0.0', require: false
-
- gem 'haml_lint', '~> 0.40.0', require: false
- gem 'bundler-audit', '~> 0.7.0.1', require: false
-
- # Benchmarking & profiling
- gem 'benchmark-ips', '~> 2.11.0', require: false
- gem 'benchmark-memory', '~> 0.1', require: false
-
- gem 'knapsack', '~> 1.21.1'
- gem 'crystalball', '~> 0.7.0', require: false
-
- gem 'simple_po_parser', '~> 1.1.6', require: false
-
- gem 'png_quantizator', '~> 0.2.1', require: false
-
- gem 'parallel', '~> 1.19', require: false
-
- gem 'test_file_finder', '~> 0.1.3'
-
- gem 'sigdump', '~> 0.2.4', require: 'sigdump/setup'
-
- gem 'pact', '~> 1.63'
-end
-
-group :development, :test, :danger do
- gem 'gitlab-dangerfiles', '~> 3.10.0', require: false
-end
-
-group :development, :test, :coverage do
- gem 'simplecov', '~> 0.21', require: false
- gem 'simplecov-lcov', '~> 0.8.0', require: false
- gem 'simplecov-cobertura', '~> 1.3.1', require: false
- gem 'undercover', '~> 0.4.4', require: false
-end
-
-# Gems required in omnibus-gitlab pipeline
-group :development, :test, :omnibus do
- gem 'license_finder', '~> 7.0', require: false
-end
-
group :test do
gem 'fuubar', '~> 2.2.0'
gem 'rspec-retry', '~> 0.6.2'