Gemfile 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. # Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
  2. source 'https://rubygems.org'
  3. # core - base
  4. ruby '2.7.3'
  5. gem 'rails', '6.0.4'
  6. # core - rails additions
  7. gem 'activerecord-import'
  8. gem 'activerecord-session_store'
  9. gem 'bootsnap', require: false
  10. gem 'composite_primary_keys'
  11. gem 'json'
  12. # core - application servers
  13. gem 'puma', '~> 4', group: :puma
  14. gem 'unicorn', group: :unicorn
  15. # core - supported ORMs
  16. gem 'activerecord-nulldb-adapter', group: :nulldb
  17. gem 'mysql2', group: :mysql
  18. gem 'pg', '0.21.0', group: :postgres
  19. # core - asynchrous task execution
  20. gem 'daemons'
  21. gem 'delayed_job_active_record'
  22. # core - websocket
  23. gem 'em-websocket'
  24. gem 'eventmachine'
  25. gem 'hiredis', require: false
  26. gem 'redis', require: false
  27. # core - password security
  28. gem 'argon2'
  29. # core - state machine
  30. gem 'aasm'
  31. # core - authorization
  32. gem 'pundit'
  33. # core - image processing
  34. gem 'rszr', '0.5.2'
  35. # performance - Memcached
  36. gem 'dalli', require: false
  37. # asset handling - coffee-script
  38. gem 'coffee-rails'
  39. gem 'coffee-script-source'
  40. # asset handling - frontend templating
  41. gem 'eco'
  42. # asset handling - SASS
  43. gem 'sassc-rails'
  44. # asset handling - pipeline
  45. gem 'sprockets', '~> 3.7.2'
  46. gem 'uglifier'
  47. gem 'autoprefixer-rails'
  48. # asset handling - javascript execution for e.g. linux
  49. gem 'execjs'
  50. # Don't use mini_racer any more for asset compilation.
  51. # Instead, use an external node.js binary.
  52. group :mini_racer, optional: true do
  53. gem 'libv8'
  54. gem 'mini_racer', '0.2.9' # Newer versions require libv8-node instead which does not compile on older platforms.
  55. end
  56. # authentication - provider
  57. gem 'doorkeeper'
  58. gem 'oauth2'
  59. # authentication - third party
  60. gem 'omniauth-rails_csrf_protection'
  61. # authentication - third party providers
  62. gem 'omniauth-facebook'
  63. gem 'omniauth-github'
  64. gem 'omniauth-gitlab'
  65. gem 'omniauth-google-oauth2'
  66. gem 'omniauth-linkedin-oauth2'
  67. gem 'omniauth-microsoft-office365'
  68. gem 'omniauth-saml'
  69. gem 'omniauth-twitter'
  70. gem 'omniauth-weibo-oauth2'
  71. # channels
  72. gem 'gmail_xoauth'
  73. gem 'koala'
  74. gem 'telegramAPI'
  75. gem 'twitter'
  76. # channels - email additions
  77. gem 'htmlentities'
  78. gem 'mail', git: 'https://github.com/zammad-deps/mail', branch: '2-7-stable'
  79. gem 'mime-types'
  80. gem 'rchardet', '>= 1.8.0'
  81. gem 'valid_email2'
  82. # feature - business hours
  83. gem 'biz'
  84. # feature - signature diffing
  85. gem 'diffy'
  86. # feature - excel output
  87. gem 'writeexcel', require: false
  88. # feature - device logging
  89. gem 'browser'
  90. # feature - iCal export
  91. gem 'icalendar'
  92. gem 'icalendar-recurrence'
  93. # feature - phone number formatting
  94. gem 'telephone_number'
  95. # feature - SMS
  96. gem 'twilio-ruby', require: false
  97. # feature - ordering
  98. gem 'acts_as_list'
  99. # integrations
  100. gem 'clearbit', require: false
  101. gem 'net-ldap'
  102. gem 'slack-notifier', require: false
  103. gem 'zendesk_api', require: false
  104. # integrations - exchange
  105. gem 'autodiscover', git: 'https://github.com/zammad-deps/autodiscover', require: false
  106. gem 'viewpoint', require: false
  107. # integrations - S/MIME
  108. gem 'openssl'
  109. # Gems used only for develop/test and not required
  110. # in production environments by default.
  111. group :development, :test do
  112. # app boottime improvement
  113. gem 'spring'
  114. gem 'spring-commands-rspec'
  115. gem 'spring-commands-testunit'
  116. # debugging
  117. gem 'byebug'
  118. gem 'pry-rails'
  119. gem 'pry-remote'
  120. gem 'pry-rescue'
  121. gem 'pry-stack_explorer'
  122. # test frameworks
  123. gem 'rails-controller-testing'
  124. gem 'rspec-rails'
  125. gem 'shoulda-matchers'
  126. gem 'test-unit'
  127. # for testing Pundit authorisation policies in RSpec
  128. gem 'pundit-matchers'
  129. # code coverage
  130. gem 'coveralls', require: false
  131. gem 'simplecov'
  132. gem 'simplecov-rcov'
  133. # UI tests w/ Selenium
  134. gem 'capybara'
  135. gem 'selenium-webdriver'
  136. # livereload on template changes (html, js, css)
  137. gem 'guard', require: false
  138. gem 'guard-livereload', require: false
  139. gem 'rack-livereload', require: false
  140. gem 'rb-fsevent', require: false
  141. # auto symlinking
  142. gem 'guard-symlink', require: false
  143. # code QA
  144. gem 'coffeelint'
  145. gem 'pre-commit'
  146. gem 'rubocop'
  147. gem 'rubocop-faker'
  148. gem 'rubocop-performance'
  149. gem 'rubocop-rails'
  150. gem 'rubocop-rspec'
  151. # changelog generation
  152. gem 'github_changelog_generator'
  153. # generate random test data
  154. gem 'factory_bot_rails'
  155. gem 'faker'
  156. # mock http calls
  157. gem 'webmock'
  158. # record and replay TCP/HTTP transactions
  159. gem 'tcr', git: 'https://github.com/zammad-deps/tcr'
  160. gem 'vcr'
  161. # handle deprecations in core and addons
  162. gem 'deprecation_toolkit'
  163. # image comparison in tests
  164. gem 'chunky_png'
  165. # refresh ENVs in CI environment
  166. gem 'dotenv', require: false
  167. # Slack helper for testing
  168. gem 'slack-ruby-client', require: false
  169. end
  170. # Want to extend Zammad with additional gems?
  171. # ZAMMAD USERS: Specify them in Gemfile.local
  172. # (That way, you can customize the Gemfile
  173. # without having your changes overwritten during upgrades.)
  174. # ZAMMAD DEVS: Consult the internal wiki
  175. # (or else risk pushing unwanted changes to Gemfile.lock!)
  176. # https://git.znuny.com/zammad/zammad/wikis/Tips#user-content-customizing-the-gemfile
  177. eval_gemfile 'Gemfile.local' if File.exist?('Gemfile.local')