You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Gemfile 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. source 'https://rubygems.org'
  2. ruby '>= 2.5.0', '< 3.1.0'
  3. gem 'bundler', '>= 1.12.0'
  4. gem 'rails', '6.1.4.1'
  5. gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
  6. gem 'rouge', '~> 3.26.0'
  7. gem 'request_store', '~> 1.5.0'
  8. gem 'mini_mime', '~> 1.1.0'
  9. gem "actionpack-xml_parser"
  10. gem 'roadie-rails', '~> 2.2.0'
  11. gem 'marcel'
  12. gem "mail", "~> 2.7.1"
  13. gem 'csv', '~> 3.2.0'
  14. gem 'nokogiri', '~> 1.12.2'
  15. gem 'i18n', '~> 1.8.2'
  16. gem "rbpdf", "~> 1.20.0"
  17. gem 'addressable'
  18. gem 'rubyzip', '~> 2.3.0'
  19. gem 'net-smtp', '~> 0.3.0'
  20. gem 'net-imap', '~> 0.2.2'
  21. gem 'net-pop', '~> 0.1.1'
  22. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  23. gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
  24. # TOTP-based 2-factor authentication
  25. gem 'rotp'
  26. gem 'rqrcode'
  27. # Optional gem for LDAP authentication
  28. group :ldap do
  29. gem 'net-ldap', '~> 0.17.0'
  30. end
  31. # Optional gem for exporting the gantt to a PNG file
  32. group :minimagick do
  33. gem 'mini_magick', '~> 4.11.0'
  34. end
  35. # Optional Markdown support, not for JRuby
  36. group :markdown do
  37. gem 'redcarpet', '~> 3.5.1'
  38. end
  39. # Optional CommonMark support, not for JRuby
  40. group :common_mark do
  41. gem "html-pipeline", "~> 2.13.2"
  42. gem "commonmarker", (Gem.ruby_version < Gem::Version.new('2.6.0') ? '0.21.0' : '0.23.1')
  43. gem "sanitize", "~> 6.0"
  44. end
  45. # Include database gems for the adapters found in the database
  46. # configuration file
  47. require 'erb'
  48. require 'yaml'
  49. database_file = File.join(File.dirname(__FILE__), "config/database.yml")
  50. if File.exist?(database_file)
  51. yaml_config = ERB.new(IO.read(database_file)).result
  52. database_config = YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(yaml_config) : YAML.load(yaml_config)
  53. adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
  54. if adapters.any?
  55. adapters.each do |adapter|
  56. case adapter
  57. when 'mysql2'
  58. gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
  59. when /postgresql/
  60. gem "pg", "~> 1.2.2", :platforms => [:mri, :mingw, :x64_mingw]
  61. when /sqlite3/
  62. gem "sqlite3", "~> 1.4.0", :platforms => [:mri, :mingw, :x64_mingw]
  63. when /sqlserver/
  64. gem "tiny_tds", "~> 2.1.2", :platforms => [:mri, :mingw, :x64_mingw]
  65. gem "activerecord-sqlserver-adapter", "~> 6.1.0", :platforms => [:mri, :mingw, :x64_mingw]
  66. else
  67. warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
  68. end
  69. end
  70. else
  71. warn("No adapter found in config/database.yml, please configure it first")
  72. end
  73. else
  74. warn("Please configure your config/database.yml first")
  75. end
  76. group :development do
  77. gem "yard"
  78. end
  79. group :test do
  80. gem "rails-dom-testing"
  81. gem 'mocha', '>= 1.4.0'
  82. gem 'simplecov', '~> 0.21.2', :require => false
  83. gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
  84. # For running system tests
  85. gem 'puma'
  86. gem 'capybara', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 3.35.3' : '~> 3.36.0')
  87. gem "selenium-webdriver", "~> 3.142.7"
  88. gem 'webdrivers', '4.6.1', require: false
  89. # RuboCop
  90. gem 'rubocop', '~> 1.23.0'
  91. gem 'rubocop-performance', '~> 1.12.0'
  92. gem 'rubocop-rails', '~> 2.12.4'
  93. end
  94. local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
  95. if File.exists?(local_gemfile)
  96. eval_gemfile local_gemfile
  97. end
  98. # Load plugins' Gemfiles
  99. Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
  100. eval_gemfile file
  101. end