Gemfile 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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'
  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. # Updating twitter to 'master' seems to break things, so freeze the revision for now.
  76. gem 'twitter'
  77. # channels - email additions
  78. gem 'htmlentities'
  79. gem 'mail', git: 'https://github.com/zammad-deps/mail', branch: '2-7-stable'
  80. gem 'mime-types'
  81. gem 'rchardet', '>= 1.8.0'
  82. gem 'valid_email2'
  83. # feature - business hours
  84. gem 'biz'
  85. # feature - signature diffing
  86. gem 'diffy'
  87. # feature - excel output
  88. gem 'writeexcel'
  89. # feature - device logging
  90. gem 'browser'
  91. # feature - iCal export
  92. gem 'icalendar'
  93. gem 'icalendar-recurrence'
  94. # feature - phone number formatting
  95. gem 'telephone_number'
  96. # feature - SMS
  97. gem 'twilio-ruby'
  98. # feature - ordering
  99. gem 'acts_as_list'
  100. # integrations
  101. gem 'clearbit'
  102. gem 'net-ldap'
  103. gem 'slack-notifier'
  104. gem 'zendesk_api'
  105. # integrations - exchange
  106. gem 'autodiscover', git: 'https://github.com/zammad-deps/autodiscover'
  107. gem 'rubyntlm', git: 'https://github.com/wimm/rubyntlm'
  108. gem 'viewpoint'
  109. # integrations - S/MIME
  110. gem 'openssl'
  111. # Gems used only for develop/test and not required
  112. # in production environments by default.
  113. group :development, :test do
  114. # app boottime improvement
  115. gem 'spring'
  116. gem 'spring-commands-rspec'
  117. gem 'spring-commands-testunit'
  118. # debugging
  119. gem 'byebug'
  120. gem 'pry-rails'
  121. gem 'pry-remote'
  122. gem 'pry-rescue'
  123. gem 'pry-stack_explorer'
  124. # test frameworks
  125. gem 'rails-controller-testing'
  126. gem 'rspec-rails'
  127. gem 'shoulda-matchers'
  128. gem 'test-unit'
  129. # for testing Pundit authorisation policies in RSpec
  130. gem 'pundit-matchers'
  131. # code coverage
  132. gem 'coveralls', require: false
  133. gem 'simplecov'
  134. gem 'simplecov-rcov'
  135. # UI tests w/ Selenium
  136. gem 'capybara'
  137. gem 'selenium-webdriver'
  138. # livereload on template changes (html, js, css)
  139. gem 'guard', require: false
  140. gem 'guard-livereload', require: false
  141. gem 'rack-livereload', require: false
  142. gem 'rb-fsevent', require: false
  143. # auto symlinking
  144. gem 'guard-symlink', require: false
  145. # code QA
  146. gem 'coffeelint'
  147. gem 'pre-commit'
  148. gem 'rubocop'
  149. gem 'rubocop-faker'
  150. gem 'rubocop-performance'
  151. gem 'rubocop-rails'
  152. gem 'rubocop-rspec'
  153. # changelog generation
  154. gem 'github_changelog_generator'
  155. # generate random test data
  156. gem 'factory_bot_rails'
  157. gem 'faker'
  158. # mock http calls
  159. gem 'webmock'
  160. # record and replay TCP/HTTP transactions
  161. gem 'tcr', git: 'https://github.com/zammad-deps/tcr'
  162. gem 'vcr'
  163. # handle deprecations in core and addons
  164. gem 'deprecation_toolkit'
  165. # image comparison in tests
  166. gem 'chunky_png'
  167. # refresh ENVs in CI environment
  168. gem 'dotenv', 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')