-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathGemfile
More file actions
241 lines (185 loc) · 4.71 KB
/
Gemfile
File metadata and controls
241 lines (185 loc) · 4.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# frozen_string_literal: true
# Policy here is to not to save version data unless its needed (eg. problems with new version)
# Version data is in Gemfile.lock, running bundle update will fix it.
source 'https://rubygems.org'
ruby '3.4.8'
# Rails core
gem 'msgpack', '>= 1.7.0'
gem 'rails', '~> 8.1.2'
gem 'rake'
# Dotenv
gem 'dotenv-rails'
# DB and caching
# Redis is pinned to 4 version
gem 'mysql2'
gem 'redis', '~> 4.8'
gem 'sidekiq'
gem 'sidekiq-cron'
# Web server.
# Faraday provides NET-HTTP functions
gem 'faraday'
gem 'net-ftp'
gem 'os'
gem 'puma'
# Rack-attack to stop spamming
gem 'rack-attack'
# CORS for external API's, not really used.
gem 'rack-cors'
# Logging. Add JSON logs with nice data.
# Objective: catch errors, easily parsable
gem 'lograge'
# Hotwire Turbo (Turbo Streams) for real-time updates
gem 'turbo-rails'
#
# Model plugins.
# Active_flag is used for soft-deletion of records with boolean column.
gem 'active_flag'
# Scrypt for secure password storage
gem 'scrypt'
# Unread for marking stuff read or unread
gem 'unread'
# Transform text to nice HTML
gem 'bbcoder'
gem 'commonmarker'
gem 'gemoji-parser'
# File attachments
gem 'carrierwave'
# Image manipulation, avatars
gem 'rmagick'
# Union for AR
gem 'active_record_union'
# Auditing/version tracking
gem 'paper_trail'
# External APIs.
# Steam condenders for querying Steam API and last to help with StemaIDs
gem 'google-api-client'
gem 'steam-condenser', github: 'koraktor/steam-condenser-ruby'
gem 'steam-id2'
# Auth
gem 'omniauth'
gem 'omniauth-rails_csrf_protection'
gem 'omniauth-steam'
# gem 'ratyrate'
# gem "acts_as_rateable", :git => "git://github.com/anton-zaytsev/acts_as_rateable.git"
#
# View and view helper gems
# FIXME
# gem 'rails_csrf_protection'
# Pagination
gem 'will_paginate'
# Navigation
gem 'active_link_to'
# Form helpers
gem 'country_select'
# , require: 'country_select_without_sort_alphabetical'
# gem 'i18n_country_select'
# Captcha
gem 'recaptcha', require: 'recaptcha/rails'
# Provides URL parsing to links for customer content.
gem 'rails_autolink'
#
# Assets, JS and CSS
# Javascript
gem 'i18n-js'
gem 'jquery-rails'
gem 'local_time', '~> 3.0'
gem 'tinymce-rails'
gem 'twemoji-rails'
# CSS
gem 'bourbon', '~> 3.1.8' # Upgrading will cause issues
gem 'dartsass-rails'
gem 'neat', '~> 1.6.0' # Upgrading will cause issues
gem 'tailwindcss-rails'
# Provides il8n and respond functions
gem 'responders'
# Importmap for Rails. JS management without nodejs.
# Asset pipeline
gem 'importmap-rails', '~> 2.2'
gem 'propshaft'
group :production do
# gem 'newrelic_rpm'
gem 'puma_worker_killer'
end
group :development do
# static code analyzers
gem 'brakeman', require: false
gem 'bundler-audit', require: false
gem 'rubocop-rails', require: false
# annotate models
# Does not support AR 8 yet
# gem 'annotate'
# Error message and console in browser
gem 'better_errors'
gem 'binding_of_caller'
gem 'web-console'
# For converting erb to haml when needed
gem 'erb2haml'
end
group :test do
gem 'ostruct'
gem 'rspec-core'
gem 'rspec-expectations'
gem 'rspec-mocks'
gem 'rspec-rails'
gem 'rspec-support'
# Model matchers for associations and validations
gem 'shoulda-matchers'
# Feature testing.
# Capybara for integration testing
# Playwright for headless browser testing
gem 'apparition'
gem 'capybara'
gem 'capybara-playwright-driver'
gem 'playwright-ruby-client'
# HTML5 validation
gem 'capybara-validate_html5'
# Coverage
gem 'simplecov', require: false
# Time helpers for testing time-dependent features
gem 'timecop'
# For JS test
gem 'mime-types'
# Database cleaner
gem 'database_cleaner'
gem 'database_cleaner-active_record'
# gem 'database_cleaner-redis'
# Redis namespace for testing
gem 'redis-namespace'
# Block external HTTP in tests
gem 'webmock'
# Fix legacy issue
gem 'rails-controller-testing'
# Flaky tests
# gem 'rspec-flaky'
# For CircleCI
# gem 'rspec_junit_formatter'
# Old drivers not used atm.
# gem 'selenium'
# gem 'selenium-webdriver'
# gem 'poltergeist'
# gem 'phantomjs', require: 'phantomjs/poltergeist'
# Fix FF issue
# gem 'geckodriver-helper'
end
group :development, :test do
# Debugging
gem 'debug'
# LSP support. For editors like VSCode
gem 'ruby-lsp'
gem 'ruby-lsp-rails'
gem 'ruby-lsp-rspec', require: false
# Better console with breakpoints
gem 'pry-byebug'
gem 'pry-rails'
# Better output
gem 'awesome_print'
# Static analysis / code quality
gem 'rails_best_practices'
# Used both in development and test for generating realistic data
gem 'factory_bot_rails', '4.10.0'
# gem 'spring'
# gem 'ruby-debug-ide'
# gem 'debase'
# For n+1 query detection
# gem 'bullet'
end