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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. source 'https://rubygems.org'
  2. ruby '>= 2.6.0', '< 3.2.0'
  3. gem 'bundler', '>= 1.12.0'
  4. gem 'rails', '6.1.6'
  5. gem 'rouge', '~> 3.29.0'
  6. gem 'request_store', '~> 1.5.0'
  7. gem 'mini_mime', '~> 1.1.0'
  8. gem "actionpack-xml_parser"
  9. gem 'roadie-rails', '~> 3.0.0'
  10. gem 'marcel'
  11. gem "mail", "~> 2.7.1"
  12. gem 'csv', '~> 3.2.0'
  13. gem 'nokogiri', '~> 1.13.6'
  14. gem "rexml", require: false if Gem.ruby_version >= Gem::Version.new('3.0')
  15. gem 'i18n', '~> 1.10.0'
  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', '>= 5.0.0'
  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
  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", '0.23.4'
  43. gem "sanitize", "~> 6.0"
  44. gem 'deckar01-task_list', '2.3.2'
  45. end
  46. # Include database gems for the adapters found in the database
  47. # configuration file
  48. require 'erb'
  49. require 'yaml'
  50. database_file = File.join(File.dirname(__FILE__), "config/database.yml")
  51. if File.exist?(database_file)
  52. yaml_config = ERB.new(IO.read(database_file)).result
  53. database_config = YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(yaml_config) : YAML.load(yaml_config)
  54. adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
  55. if adapters.any?
  56. adapters.each do |adapter|
  57. case adapter
  58. when 'mysql2'
  59. gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
  60. when /postgresql/
  61. gem "pg", "~> 1.2.2", :platforms => [:mri, :mingw, :x64_mingw]
  62. when /sqlite3/
  63. gem "sqlite3", "~> 1.4.0", :platforms => [:mri, :mingw, :x64_mingw]
  64. when /sqlserver/
  65. gem "tiny_tds", "~> 2.1.2", :platforms => [:mri, :mingw, :x64_mingw]
  66. gem "activerecord-sqlserver-adapter", "~> 6.1.0", :platforms => [:mri, :mingw, :x64_mingw]
  67. else
  68. warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
  69. end
  70. end
  71. else
  72. warn("No adapter found in config/database.yml, please configure it first")
  73. end
  74. else
  75. warn("Please configure your config/database.yml first")
  76. end
  77. group :development do
  78. gem 'listen', '~> 3.3'
  79. gem "yard"
  80. end
  81. group :test do
  82. gem "rails-dom-testing"
  83. gem 'mocha', '>= 1.4.0'
  84. gem 'simplecov', '~> 0.21.2', :require => false
  85. gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
  86. # For running system tests
  87. gem 'puma'
  88. gem 'capybara', '~> 3.36.0'
  89. gem "selenium-webdriver", "~> 3.142.7"
  90. gem 'webdrivers', '4.6.1', require: false
  91. # RuboCop
  92. gem 'rubocop', '~> 1.31.1'
  93. gem 'rubocop-performance', '~> 1.14.2'
  94. gem 'rubocop-rails', '~> 2.15.0'
  95. end
  96. local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
  97. if File.exist?(local_gemfile)
  98. eval_gemfile local_gemfile
  99. end
  100. # Load plugins' Gemfiles
  101. Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
  102. eval_gemfile file
  103. end