-
Notifications
You must be signed in to change notification settings - Fork 107
/
Gemfile
34 lines (28 loc) · 967 Bytes
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# frozen_string_literal: true
source 'https://rubygems.org'
# Gems required by redmine_dashboard
send :ruby, RUBY_VERSION if ENV['CI']
gem 'rake'
gem 'slim-rails'
group :test do
gem 'database_cleaner-active_record', '~> 2.0'
gem 'rspec', '~> 3.10'
gem 'rspec-rails'
# Webrick is no longer bundled with Ruby 3.0+ but required by
# capybara. If Redmine does not already include it in it's own
# Gemfile, we need to add it here.
if @dependencies.none? {|d| d.name == 'webrick' }
gem 'webrick'
end
end
# If rubocop is already defined, the Gemfile is loaded through Redmins own
# Gemfile as a plugin Gemfile. In that case our local development gems are not
# needed (and actually conflicting), therefore we skip them.
if @dependencies.none? {|d| d.name == 'rubocop' }
group :development do
gem 'rubocop', '~> 1.68.0'
gem 'rubocop-performance', '~> 1.22.0'
gem 'rubocop-rails', '~> 2.27.0'
gem 'slim_lint', '~> 0.31.0'
end
end