-
Notifications
You must be signed in to change notification settings - Fork 2
/
Gemfile
222 lines (162 loc) · 7.16 KB
/
Gemfile
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
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '3.2.2'
# IMPORTANT: This must be the first gem listed
# Add support to appmap in development and test
gem 'appmap', '0.102.2', groups: %i[development test]
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem 'rails', '~> 7.1.1'
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem 'sprockets-rails'
# Use postgresql as the database for Active Record
gem 'pg', '~> 1.5.4'
# Use the Puma web server [https://github.com/puma/puma]
gem 'puma', '~> 6.4.0'
# Bundle and transpile JavaScript [https://github.com/rails/jsbundling-rails]
gem 'jsbundling-rails'
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem 'turbo-rails', '~> 1.5.0'
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem 'stimulus-rails', '~> 1.3.0'
# Bundle and process CSS [https://github.com/rails/cssbundling-rails]
gem 'cssbundling-rails'
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
gem 'jbuilder'
# Faster JSON processing [https://github.com/ohler55/oj/blob/develop/pages/Rails.md]
gem 'oj', '~> 3.16.1'
# Use Redis adapter to run Action Cable in production
gem 'redis', '~> 5.0.5'
# To speed up caching in production
gem 'hiredis', '~> 0.6.3'
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem 'kredis'
# Sidekiq [https://github.com/mperham/sidekiq]
gem 'sidekiq', '~>7.2.0'
# Add Noticed to support notifications [https://github.com/excid3/noticed]
gem 'noticed', '~> 1.5'
# Adding support to View Component (better than partials ;-) ) [https://github.com/github/view_component]
gem 'view_component', '~> 3.8.0'
# User authentication
# Use Argon2 to hash passwords [https://github.com/technion/ruby-argon2]
gem 'argon2', '~> 2.3.0'
# Export to Excel
# [https://github.com/caxlsx/caxlsx_rails]
# [https://dev.to/yarotheslav/export-from-database-table-to-excel-workbook-level-1-55jd]
gem 'caxlsx', '~> 4.0.0'
gem 'caxlsx_rails'
# Parse Excel xlsx files
# [https://github.com/martijn/xsv]
gem 'xsv'
# Adding OAuth2 support [https://github.com/omniauth/omniauth]
gem 'omniauth', '~> 2.1.0'
# Adding Google Sign-in support
gem 'omniauth-google-oauth2', '~> 1.1.1'
# Required when not using Devise
gem 'omniauth-rails_csrf_protection'
# Adding invisible_captcha [https://github.com/markets/invisible_captcha]
gem 'invisible_captcha', '~> 2.1.0'
# Adding Pundit to manage authorizations [https://github.com/varvet/pundit]
gem 'pundit'
# Adding Rolify to manage roles [https://github.com/RolifyCommunity/rolify]
gem 'rolify', '~> 6.0.0'
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false
# Add Merit [https://github.com/merit-gem/merit]
# Used for badges, reputation, etc.
gem 'merit'
# Add Meta Tags [https://github.com/kpumuk/meta-tags]
# the main reason is to prevent stimulus controllers from being double loaded
# Read [https://blog.corsego.com/double-loading-stimulus-controllers] for more details
gem 'meta-tags', '~> 2.19.0'
# Mailer - Sendgrid [https://github.com/sendgrid/sendgrid-ruby]
gem 'sendgrid-actionmailer', '~> 3.2.0'
# Monitoring - Honeybadger []
gem 'honeybadger', '~> 5.3.0'
# Use Sass to process CSS
# gem "sassc-rails"
# Nokogiri to parse HTML and more [https://github.com/sparklemotion/nokogiri]
gem 'nokogiri', '~> 1.15.0'
# Download
gem 'down', '~> 5.0'
# Tracking changes using PaperTrail [https://github.com/paper-trail-gem/paper_trail]
gem 'paper_trail', '~> 15.1.0'
# Active storage validations [https://github.com/igorkasyanchuk/active_storage_validations]
gem 'active_storage_validations', '~> 1.1.3'
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
gem 'aws-sdk-s3', require: false
gem 'image_processing', '~> 1.2'
gem 'ruby-vips', '>= 2.1.0'
# Octokig [https://github.com/octokit/octokit.rb]
# Mostly used to import openAI prompts from GitHub repo using the import_prompts.rake task
gem 'octokit', '~> 8.0.0'
# Pagination [https://github.com/ddnexus/pagy]
gem 'pagy', '~> 6.2.0'
# Countries [https://github.com/countries/countries]
gem 'countries', '~> 5.7.0', require: 'countries/global'
# Validate URL format [https://github.com/perfectline/validates_url]
gem 'validate_url'
# Tracking
# Ahoy [https://github.com/ankane/ahoy]
gem 'ahoy_matey', '~> 4.2.1'
# Group date [https://github.com/ankane/groupdate]
gem 'groupdate'
# Chart [https://chartkick.com]
gem 'chartkick'
# openAI [https://github.com/alexrudall/ruby-openai]
gem 'ruby-openai', '~> 6.3.0'
# Adding pgsearch
gem 'pg_search', '~> 2.3.6'
# Stripe (payment, subscription processing) [https://github.com/stripe/stripe-ruby]
gem 'stripe', '~> 10.1.0'
# To enable retry in Faraday v2.0+
gem 'faraday-retry', '~> 2.2.0'
# Whenever gem to mamage crontab & tasks [https://github.com/javan/whenever]
gem 'whenever', '~> 1.0.0', require: false
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem 'debug', platforms: %i[mri mingw x64_mingw]
# Faker, gem for generating fake data for testing [https://github.com/faker-ruby/faker]
gem 'faker', git: 'https://github.com/faker-ruby/faker.git'
end
group :development do
# Use console on exceptions pages [https://github.com/rails/web-console]
gem 'web-console'
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
# gem "rack-mini-profiler"
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"
# Add support to Rubocop [https://github.com/rubocop/rubocop]
gem 'rubocop', '~> 1.50', require: false
gem 'rubocop-rails', require: false
# Add support to Brakeman [https://github.com/presidentbeef/brakeman]
# Vulnerability scanner
gem 'brakeman', '~> 6.0.1'
# Add Model annotations [https://github.com/ctran/annotate_models]
gem 'annotate', '~>3.2.0', require: false
# Add Bullet to monitor and help fix N+1 DB queries
gem 'bullet', '~> 7.1.1'
# # # # # # # # # # # # # # # # # # # # # #
# The following gems are added to #
# facilitate the deployment to Digital #
# Ocean.
# [https://gorails.com/deploy/ubuntu/22.04]
gem 'capistrano', '~> 3.17', require: false
gem 'capistrano3-puma', '~> 6.0.0.beta.1', require: false
gem 'capistrano-bundler', require: false
gem 'capistrano-rails', '~> 1.6.3', require: false
gem 'capistrano-rbenv', '~> 2.2.0', require: false
gem 'capistrano-sidekiq', '~> 3.0.0.alpha.2', require: false
end
group :test do
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem 'capybara'
gem 'selenium-webdriver'
gem 'webdrivers'
# Adding SimpleCov [https://github.com/simplecov-ruby/simplecov]
# SimpleCov is a test coverage for Rails. Used by CodeClimate
# Read [https://docs.codeclimate.com/docs/configuring-test-coverage] for more information
# on how to integrate ith CodeClimate
gem 'simplecov', require: false
end