-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathGemfile
239 lines (169 loc) · 5.24 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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.3.5"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem "rails", "~> 7.2"
gem "sprockets-rails"
gem "turbo-rails"
# Use postgresql as the database for Active Record
gem "pg", ">= 0.18", "< 2.0"
# Use Puma as the app server
gem "puma", "~> 6.5"
# Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8'
# Data integration with BigQuery
gem "google-cloud-bigquery"
# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.1.0", require: false
# Manage multiple processes i.e. web server, redis, css/js builds
gem "foreman"
# Canonical meta tag
gem "canonical-rails"
# For determining file encoding
gem "charlock_holmes", "0.7.9"
# Soft delete records
gem "discard", "~> 1.4"
# Sentry
gem "sentry-rails"
gem "sentry-ruby"
gem "sentry-sidekiq"
gem "stackprof"
# Logging
gem "amazing_print", "~> 1.7"
# There seems to be an issue with 4.17.0 where the workers log the sql
gem "rails_semantic_logger", github: "kennyevil/rails_semantic_logger", branch: "filter-bind-values"
# Thread-safe global state
gem "request_store", "~> 1.7"
# Used to build our forms and style them using govuk-frontend class names
gem "govuk-components"
gem "govuk_design_system_formbuilder"
# Background job processor
gem "sidekiq", "~> 6.5"
gem "sidekiq-cron", "~> 2.0"
# UK postcode parsing and validation for Ruby
gem "uk_postcode"
gem "config", "~> 5.5"
gem "httparty", "~> 0.22"
# Wrap jsonb columns with activemodel-like classes
gem "store_model", "~> 4.2"
gem "pundit"
# DfE Sign-in
gem "omniauth"
gem "omniauth_openid_connect"
gem "omniauth-rails_csrf_protection"
# OTP Sign-in
gem "base32"
gem "rotp"
# Full text search
gem "pg_search", "~> 2.3"
gem "slack-notifier"
# Tracking changes to models
gem "audited", "~> 5.8"
# Trainee state and transitions
gem "stateful_enum"
# Pagination
gem "kaminari"
gem "activerecord-session_store"
# Zip file extracting
gem "rubyzip"
# Monitoring
gem "prometheus-client"
gem "skylight"
gem "yabeda-prometheus"
gem "yabeda-rails"
# Run data migrations alongside schema migrations
gem "data_migrate", "11.2.0"
# Gov Notify
gem "govuk_notify_rails"
gem "blazer"
gem "auto_strip_attributes"
# Markdown
gem "front_matter_parser"
gem "govuk_markdown"
gem "mechanize" # interact with HESA
gem "dfe-reference-data", require: "dfe/reference_data", github: "DFE-Digital/dfe-reference-data", tag: "v3.6.7"
# for sending analytics data to the analytics platform
gem "dfe-analytics", github: "DFE-Digital/dfe-analytics", tag: "v1.15.3"
gem "ruby-progressbar" # useful for tracking long running rake tasks
gem "faraday"
gem "csv-safe"
gem "progress_bar" # useful to track progress of long running data migrations using scripts or rake tasks
gem "azure-blob"
gem "cssbundling-rails"
gem "jsbundling-rails"
gem "rack-attack"
gem "strong_migrations"
group :qa, :review, :staging, :production do
# Pull list of CloudFront proxies so request.remote_ip returns the correct IP.
gem "cloudfront-rails"
end
group :development, :test do
gem "awesome_print"
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem "byebug", platforms: %i[mri mingw x64_mingw]
gem "erb_lint", require: false
gem "rubocop-capybara"
gem "rubocop-factory_bot"
gem "rubocop-rails"
gem "rubocop-rspec"
gem "rubocop-rspec_rails"
# Debugging
gem "debug"
gem "pry-byebug"
# Better use of test helpers such as save_and_open_page/screenshot
gem "launchy"
gem "bullet"
# Testing framework
gem "rspec-rails", "~> 7.1.0"
gem "rails-controller-testing"
gem "rails-erd"
# run specs in parallel
gem "parallel_tests"
gem "rspec-benchmark", require: false
# Adds support for Capybara system testing and selenium driver
gem "capybara", "~> 3.40"
gem "dotenv-rails"
gem "timecop", "~> 0.9.10"
end
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem "listen", ">= 3.0.5", "< 3.10"
# gem "web-console", ">= 3.3.0"
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem "spring"
gem "spring-commands-rspec", "~> 1.0"
gem "spring-watcher-listen", "~> 2.1.0"
# Profiling
gem "annotate"
gem "benchmark-memory"
gem "flamegraph"
gem "memory_profiler"
gem "rack-mini-profiler", require: false
end
group :test do
# Headless browser testing kit
gem "cuprite", "~> 0.15"
gem "selenium-webdriver"
gem "shoulda-matchers", "~> 6.4"
# Code coverage reporter
gem "simplecov", "~> 0.22.0", require: false
gem "simplecov-json"
# Page objects
gem "site_prism", "~> 5.0"
gem "webmock"
# Clean out the database between tests
gem "database_cleaner-active_record"
gem "rspec-openapi"
gem "rspec-retry"
end
# Required for example_data and vendor:swap so needed in stated environments
group :development, :test, :review, :qa, :audit, :sandbox do
gem "bundle-audit", require: false
gem "factory_bot_rails"
gem "faker"
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby]
# Rails console colours
gem "colorize"