2018-08-19 13:09:38 +01:00
|
|
|
source 'https://rubygems.org'
|
|
|
|
|
2020-04-09 16:14:07 +01:00
|
|
|
ruby '>= 2.3.0', '< 2.7.0' if Bundler::VERSION >= '1.12.0'
|
2019-10-22 02:09:56 +01:00
|
|
|
gem "bundler", ">= 1.5.0"
|
2018-08-19 13:09:38 +01:00
|
|
|
|
2021-03-21 22:34:43 +00:00
|
|
|
gem 'rails', '5.2.4.5'
|
2020-04-09 16:14:07 +01:00
|
|
|
gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5'
|
2019-12-21 15:21:54 +00:00
|
|
|
gem "rouge", "~> 3.12.0"
|
|
|
|
gem "request_store", "~> 1.4.1"
|
2019-10-22 02:09:56 +01:00
|
|
|
gem "mini_mime", "~> 1.0.1"
|
2018-08-19 13:09:38 +01:00
|
|
|
gem "actionpack-xml_parser"
|
2019-12-21 15:21:54 +00:00
|
|
|
gem "roadie-rails", (RUBY_VERSION < "2.5" ? "~> 1.3.0" : "~> 2.1.0")
|
2018-08-19 13:09:38 +01:00
|
|
|
gem "mimemagic"
|
2019-10-22 02:09:56 +01:00
|
|
|
gem "mail", "~> 2.7.1"
|
2021-03-21 22:34:43 +00:00
|
|
|
gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '~> 3.1.1')
|
|
|
|
gem 'nokogiri', (RUBY_VERSION < '2.5' ? '~> 1.10.0' : '~> 1.11.1')
|
2019-12-21 15:21:54 +00:00
|
|
|
gem "i18n", "~> 1.6.0"
|
|
|
|
gem "rbpdf", "~> 1.20.0"
|
2019-10-22 02:13:30 +01:00
|
|
|
|
2018-08-19 13:09:38 +01:00
|
|
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
|
|
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
|
|
|
|
|
|
|
|
# Optional gem for LDAP authentication
|
|
|
|
group :ldap do
|
2019-10-22 02:09:56 +01:00
|
|
|
gem "net-ldap", "~> 0.16.0"
|
2018-08-19 13:09:38 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
# Optional gem for OpenID authentication
|
|
|
|
group :openid do
|
2019-10-22 02:13:30 +01:00
|
|
|
gem "ruby-openid", "~> 2.9.2", :require => "openid"
|
2018-08-19 13:09:38 +01:00
|
|
|
gem "rack-openid"
|
|
|
|
end
|
|
|
|
|
2019-12-21 15:21:54 +00:00
|
|
|
# Optional gem for exporting the gantt to a PNG file
|
|
|
|
group :minimagick do
|
|
|
|
gem "mini_magick", "~> 4.9.5"
|
|
|
|
end
|
2018-08-19 13:09:38 +01:00
|
|
|
|
2019-12-21 15:21:54 +00:00
|
|
|
# Optional Markdown support, not for JRuby
|
|
|
|
group :markdown do
|
2021-03-21 22:34:43 +00:00
|
|
|
gem 'redcarpet', '~> 3.5.1'
|
2018-08-19 13:09:38 +01:00
|
|
|
end
|
|
|
|
|
2018-10-11 02:04:08 +01:00
|
|
|
# Include database gems for the database adapters NixOS supports
|
2019-10-22 02:09:56 +01:00
|
|
|
gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
|
|
|
|
gem "pg", "~> 1.1.4", :platforms => [:mri, :mingw, :x64_mingw]
|
2018-08-19 21:42:08 +01:00
|
|
|
|
2018-10-11 02:04:08 +01:00
|
|
|
group :development do
|
|
|
|
gem "yard"
|
2018-08-19 13:09:38 +01:00
|
|
|
end
|
|
|
|
|
2018-10-11 02:04:08 +01:00
|
|
|
group :test do
|
|
|
|
gem "rails-dom-testing"
|
2019-12-21 15:21:54 +00:00
|
|
|
gem 'mocha', '>= 1.4.0'
|
|
|
|
gem "simplecov", "~> 0.17.0", :require => false
|
|
|
|
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
|
2019-10-22 02:09:56 +01:00
|
|
|
# For running system tests
|
|
|
|
gem 'puma', '~> 3.7'
|
2019-12-21 15:21:54 +00:00
|
|
|
gem "capybara", (RUBY_VERSION < "2.4" ? "~> 3.15.1" : "~> 3.25.0")
|
2019-10-22 02:09:56 +01:00
|
|
|
gem "selenium-webdriver"
|
2019-12-21 15:21:54 +00:00
|
|
|
# RuboCop
|
|
|
|
gem 'rubocop', '~> 0.76.0'
|
|
|
|
gem 'rubocop-performance', '~> 1.5.0'
|
|
|
|
gem 'rubocop-rails', '~> 2.3.0'
|
2018-10-11 02:04:08 +01:00
|
|
|
end
|
2018-08-19 13:09:38 +01:00
|
|
|
|
|
|
|
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
|
|
|
|
if File.exists?(local_gemfile)
|
|
|
|
eval_gemfile local_gemfile
|
|
|
|
end
|
|
|
|
|
|
|
|
# Load plugins' Gemfiles
|
|
|
|
Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
|
|
|
|
eval_gemfile file
|
|
|
|
end
|