-
Notifications
You must be signed in to change notification settings - Fork 3
/
Gemfile
276 lines (233 loc) · 9.33 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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.3.6"
# Autoload dotenv in Rails.
gem "dotenv-rails" # dotenv should always be loaded before rails
# Full-stack web application framework.
gem "rails", "~> 7.1.0"
# Rack-based asset packaging system
gem "sprockets-rails"
# Puma is a simple, fast, threaded, and highly parallel HTTP 1.1 server for Ruby/Rack applications
gem "puma"
# Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.
gem "jsbundling-rails"
# Turbolinks makes navigating your web application faster
gem "turbolinks", "~> 5"
# Boot large ruby/rails apps faster
gem "bootsnap", require: false # Reduces boot times through caching; required in config/boot.rb
# Middleware for enabling Cross-Origin Resource Sharing in Rack apps
gem "rack-cors" # CORS management
# Mail provides a nice Ruby DSL for making, sending and reading emails.
gem "mail"
# Ops
# A gem that provides a client interface for the Sentry error logger
gem "sentry-ruby"
# A gem that provides Rails integration for the Sentry error logger
gem "sentry-rails"
# Skylight is a smart profiler for Rails, Sinatra, and other Ruby apps.
gem "skylight"
# Block & throttle abusive requests
gem "rack-attack"
# Ruby production code coverage collection and reporting (line of code usage)
gem "coverband"
# Dépendance interne pour anonymiser les records AR
gem "anonymizer", path: "lib/anonymizer"
# Database
# Pg is the Ruby interface to the PostgreSQL RDBMS
gem "pg"
# PgSearch builds Active Record named scopes that take advantage of PostgreSQL's full text search
gem "pg_search"
# Strong Migrations catches unsafe migrations in development
gem "strong_migrations"
# A pagination engine plugin for Rails 4+ and other modern frameworks
gem "kaminari"
# Bootstrap 4 styling for Kaminari gem
gem "bootstrap4-kaminari-views"
# A Rails engine for creating super-flexible admin dashboards
gem "administrate"
# Track changes to your models.
gem "paper_trail"
# Integrate PostgreSQL's enum data type into ActiveRecord's schema and migrations.
gem "activerecord-postgres_enum"
# A Ruby client library for Redis
gem "redis"
# Adds a Redis::Namespace class which can be used to namespace calls to Redis.
gem "redis-namespace"
# Generic connection pooling for Ruby
gem "connection_pool"
# Devise / auth
# Flexible authentication solution for Rails with Warden
gem "devise", git: "https://github.com/victormours/devise", ref: "0c502c8ab7f11e03ece9d9552cdf5d96e22c40c6"
# An invitation strategy for Devise
gem "devise_invitable"
# Deliver Devise's emails in the background using ActiveJob.
gem "devise-async"
# Official OmniAuth strategy for GitHub.
gem "omniauth-github"
# omniauth provider for Microsoft Graph
gem "omniauth-microsoft_graph"
# OpenID Connect Strategy for OmniAuth
gem "omniauth_openid_connect"
# Oauth provider
gem "doorkeeper"
# Translations for Doorkeeper
gem "doorkeeper-i18n"
# Provides CSRF protection on OmniAuth request endpoint on Rails application.
gem "omniauth-rails_csrf_protection"
# OO authorization for Rails
gem "pundit"
# Token based authentication for rails. Uses Devise + OmniAuth.
gem "devise_token_auth", "1.2.4"
# List of frequently used passwords
gem "common_french_passwords"
# Jobs
# A multithreaded, Postgres-based ActiveJob backend for Ruby on Rails
gem "good_job", "3.27.4"
# JSON serialization and queries
# A simple and fast JSON API template engine for Ruby on Rails
gem "jb"
# Simple Fast Declarative Serialization Library
gem "blueprinter"
# Parallel HTTP library on top of libcurl multi.
gem "typhoeus"
# API documentation
# A Rails Engine that exposes OpenAPI (formerly called Swagger) files as JSON endpoints
gem "rswag-api"
# A Rails Engine that includes swagger-ui and powers it from configured OpenAPI (formerly named Swagger) endpoints
gem "rswag-ui"
# Forms
# Forms made easy!
gem "simple_form", "~> 5.0"
# Gem validates phone numbers with Google libphonenumber database
gem "phonelib"
# Removes unnecessary whitespaces in attributes. Extension to ActiveRecord or ActiveModel.
gem "auto_strip_attributes"
# Frontend
# Slim is a template language.
gem "slim"
# Create beautiful JavaScript charts with one line of Ruby
gem "chartkick", "~> 5.0.1"
# The simplest way to group temporal data
gem "groupdate", "~> 6.1"
# Automatic generation of html links in texts
gem "rails_autolink"
# ActionView helper to render currently active links
gem "active_link_to"
gem "dsfr-view-components"
# Easily create styled HTML emails in Rails.
gem "premailer-rails" # Mail formatting
# The Spreadsheet Library is designed to read and write Spreadsheet Documents
gem "spreadsheet" # Excel export
# If string, numeric, symbol and nil values wanna be a boolean value, they can with the new #to_b method (and more).
gem "wannabe_bool" # imports to_b method
gem "rubyzip" # zip export files
## Time Management
# Recurring events in Ruby
gem "montrose"
# Supplies TimeOfDay and Shift class
gem "tod", "~> 2.2"
# A ruby implementation of the iCalendar specification (RFC-5545).
gem "icalendar", "~> 2.5"
# Tame Rails' multi-line logging into a single line per request
gem "lograge"
# TODO: retirer cette ligne quand une nouvelle version de httpclient est released
gem "httpclient", git: "https://github.com/nahi/httpclient.git", ref: "d57cc6d"
# Ces gems ne seront plus intégrées à Ruby en version 3.4.0 Lors de l'upgrade
# depuis 3.3.6, on pourra vérifier si les gems qui en dépendent implicitement
# ont ajouté dans leur gemspec une dépendance explicite.
gem "bigdecimal"
gem "csv"
gem "drb"
gem "observer"
gem "logger"
gem "ostruct"
group :development do
# Hot reload
# Rails application preloader
gem "spring", require: false
# Listen to file modifications
gem "listen" # Needed for ActiveSupport::EventedFileUpdateChecker. See config/environment/development.rb
# Linters
# Identify database issues before they hit production.
gem "active_record_doctor"
# Security vulnerability scanner for Ruby on Rails.
gem "brakeman", require: false
# Automatic Ruby code style checking tool.
gem "rubocop", "~> 1.65", require: false
# Rubocop depends on parser. https://github.com/whitequark/parser#compatibility-with-ruby-mri
# Mettre à jour la version de cette gem lorsqu'on met à jour Ruby (version actuelle : 3.3.6)
gem "parser", "3.3.6.0", require: false
# Code style checking for RSpec files
gem "rubocop-rspec", "~> 3.0", require: false
# Automatic Rails code style checking tool.
gem "rubocop-rails", "~> 2.25", require: false
# Slim template linting tool
gem "slim_lint", require: false
# Debug
# help to kill N+1 queries and unused eager loading.
gem "bullet"
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem "byebug", platforms: %i[mri mingw x64_mingw]
# Better error page for Rails and other Rack apps
gem "better_errors"
# Retrieve the binding of a method's caller, or further up the stack.
gem "binding_of_caller" # Enable the REPL in better_errors
# Profiles loading speed for rack applications.
gem "rack-mini-profiler"
# Used by rack-mini-profiler to display flamegraphs: trigger by adding "?pp=flamegraph" to your URL
gem "stackprof"
# Other
# Manage Procfile-based applications
gem "foreman", require: false
# Gives letter_opener an interface for browsing sent emails
gem "letter_opener_web" # Saves sent emails and serves them on /letter_opener
# Entity-relationship diagram for your Rails models.
gem "rails-erd", require: false # Keeps docs/domain_model.svg up-to-date. See .erdconfig
end
group :test do
# Rspec
# Run Test::Unit / RSpec / Cucumber / Spinach in parallel
gem "parallel_tests"
# RSpec for Rails
gem "rspec-rails"
# RSpec JUnit XML formatter
gem "rspec_junit_formatter", require: false
# Extracting `assigns` and `assert_template` from ActionDispatch.
gem "rails-controller-testing"
# An OpenAPI-based (formerly called Swagger) DSL for rspec-rails & accompanying rake task for generating OpenAPI specification files
gem "rswag-specs"
# rspec command for spring
gem "spring-commands-rspec"
# Time-resilient expectations in RSpec
gem "rspec-wait"
# Accessibility
# Axe API utility methods
gem "axe-core-api", "4.3.2" # Fixed to 4.3.2 because recent versions of axe are more strict
# RSpec custom matchers for Axe
gem "axe-core-rspec", "4.3.2"
# Web browser simulation
# Capybara aims to simplify the process of integration testing Rack applications, such as Rails, Sinatra or Merb
gem "capybara"
# Test your ActionMailer and Mailer messages in Capybara
gem "capybara-email"
# Automatically create snapshots when Cucumber steps fail with Capybara and Rails
gem "capybara-screenshot"
# Selenium is a browser automation tool for automated testing of webapps and more
gem "selenium-webdriver"
# Strategies for cleaning databases. Can be used to ensure a clean slate for testing.
gem "database_cleaner"
# Factories
# factory_bot provides a framework and DSL for defining and using model instance factories.
gem "factory_bot"
# Easily generate fake data
gem "faker"
# Stubbing
# Library for stubbing HTTP requests in Ruby.
gem "webmock"
# Modify your ENV
gem "climate_control"
# Dépendence indirecte de axe-core-api
gem "axiom-types", git: "https://github.com/rdv-solidarites/axiom-types.git", ref: "b9b204c"
gem "sinatra"
gem "omniauth-rdv-service-public", path: "lib/omniauth-rdv-service-public"
end