56 lines
1.7 KiB
Ruby
56 lines
1.7 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
# Specify your gem's dependencies in additionals.gemspec
|
|
gemspec
|
|
|
|
# this is only used for local development.
|
|
# if you want to use it, do:
|
|
# - create .enable_dev file in additionals directory
|
|
# (do not use for production!)
|
|
# (this is used to not create conflicts with other plugins)
|
|
if File.file? File.expand_path './.enable_dev', __dir__
|
|
group :development, :test do
|
|
# gem 'awesome_print', require: 'ap'
|
|
# gem 'better_errors'
|
|
# gem 'binding_of_caller'
|
|
gem 'debug'
|
|
gem 'marginalia'
|
|
gem 'memory_profiler'
|
|
gem 'solargraph'
|
|
end
|
|
end
|
|
|
|
# if you want to use it for linters, do:
|
|
# - create .enable_test file in additionals directory
|
|
# - remove rubocop entries from REDMINE/Gemfile
|
|
# - remove REDMINE/.rubocop* files
|
|
# - create .enable_linters file in additionals directory
|
|
# (do not use for production!)
|
|
# (this is used to not create conflicts with other plugins)
|
|
if File.file? File.expand_path './.enable_linters', __dir__
|
|
group :development, :test do
|
|
gem 'brakeman', require: false
|
|
gem 'pandoc-ruby', require: false
|
|
gem 'rubocop', require: false
|
|
gem 'rubocop-minitest', require: false
|
|
gem 'rubocop-performance', require: false
|
|
gem 'rubocop-rails', require: false
|
|
gem 'slim_lint', require: false
|
|
end
|
|
end
|
|
|
|
# if you want to use it for tests, do:
|
|
# - create .enable_test file in additionals directory
|
|
# (this is used to not create conflicts with other plugins)
|
|
if File.file? File.expand_path './.enable_test', __dir__
|
|
group :development, :test do
|
|
gem 'active_record_doctor', require: false
|
|
gem 'bullet'
|
|
end
|
|
group :test do
|
|
gem 'minitest-reporters'
|
|
gem 'simplecov-cobertura' if ENV['COVERAGE_COBERTURA']
|
|
gem 'timecop'
|
|
end
|
|
end
|