|
3 | 3 | source 'https://rubygems.org' |
4 | 4 | git_source(:github) { |repo| "https://github.com/#{repo}.git" } |
5 | 5 |
|
| 6 | +ruby '3.2.2' |
| 7 | + |
6 | 8 | gemspec |
7 | 9 |
|
8 | | -gem 'pundit-resources', |
9 | | - github: 'better-together-org/pundit-resources' |
| 10 | +gem 'asset_sync' |
| 11 | +gem 'aws-sdk-s3', require: false |
10 | 12 |
|
11 | | -group :development do |
| 13 | +# bcrypt for secure password handling |
| 14 | +gem 'bcrypt', '~> 3.1.20' |
| 15 | +# Bootsnap for faster boot times |
| 16 | +gem 'bootsnap', '>= 1.7.0', require: false |
| 17 | + |
| 18 | +gem 'fog-aws' |
| 19 | + |
| 20 | +# Database adapter for PostgreSQL |
| 21 | +gem 'pg', '>= 0.18', '< 2.0' |
| 22 | +# Puma as the app server |
| 23 | +gem 'puma', '~> 6.4' |
| 24 | + |
| 25 | +# Pundit for authorization, custom fork for Better Together |
| 26 | +gem 'pundit-resources', '~> 1.1.4', github: 'better-together-org/pundit-resources' |
| 27 | + |
| 28 | +# Core Rails gem |
| 29 | +gem 'rack-protection' |
| 30 | +gem 'rails', '~> 7.0.8' |
| 31 | + |
| 32 | +# Redis for ActionCable and background jobs |
| 33 | +gem 'redis', '~> 5.2' |
| 34 | + |
| 35 | +gem 'rswag' |
| 36 | + |
| 37 | +# Sidekiq for background processing |
| 38 | +gem 'sidekiq', '~> 7.2.4' |
| 39 | + |
| 40 | +# Error and performance monitoring with Sentry |
| 41 | +gem 'sentry-rails' |
| 42 | +gem 'sentry-ruby' |
| 43 | +gem 'stackprof' |
| 44 | + |
| 45 | +# Uglifier for JavaScript compression |
| 46 | +gem 'uglifier', '>= 1.3.0' |
| 47 | + |
| 48 | +group :development, :test do |
| 49 | + # Better errors for enhanced error pages |
12 | 50 | gem 'better_errors' |
| 51 | + # Binding of caller provides pry console at breakpoints |
13 | 52 | gem 'binding_of_caller' |
14 | | - gem 'execjs' |
15 | | - gem 'listen' |
16 | | - gem 'pg' |
17 | | - gem 'puma', '~> 6.0' |
18 | | - gem 'rack-mini-profiler' |
19 | | - gem 'rb-readline' |
20 | | - gem 'rbtrace' |
| 53 | + # Debugger tool |
| 54 | + gem 'byebug', platforms: %i[mri mingw x64_mingw] |
| 55 | + # Faker for generating fake data |
| 56 | + gem 'faker' |
| 57 | + # FactoryBot for setting up test data |
| 58 | + gem 'factory_bot_rails' |
| 59 | + # Fuubar for fancy test progress bar |
| 60 | + gem 'fuubar' |
| 61 | + # Pry for a powerful shell alternative to IRB |
| 62 | + gem 'pry' |
| 63 | + # RuboCop for static code analysis |
21 | 64 | gem 'rubocop' |
22 | | - # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring |
23 | | - gem 'spring' |
24 | | - gem 'spring-watcher-listen', '~> 2.1.0' |
25 | | - gem 'web-console', '>= 3.3.0' |
26 | 65 | end |
27 | 66 |
|
28 | | -group :development, :test do |
| 67 | +group :development do |
| 68 | + # Brakeman for static analysis security vulnerability scanning |
29 | 69 | gem 'brakeman', require: false |
| 70 | + # Bundler audit for checking gem vulnerabilities |
30 | 71 | gem 'bundler-audit', require: false |
31 | | - gem 'byebug' |
32 | | - gem 'factory_bot_rails' |
33 | | - gem 'faker' |
34 | | - gem 'pry' |
35 | | - gem 'rswag' |
| 72 | + # Listen for file system changes |
| 73 | + gem 'listen', '>= 3.0.5', '< 3.10' |
| 74 | + # Rack mini profiler for performance profiling |
| 75 | + gem 'rack-mini-profiler' |
| 76 | + # Readline implementation for Ruby |
| 77 | + gem 'rb-readline' |
| 78 | + # Spring for fast Rails actions via pre-loading |
| 79 | + gem 'spring' |
| 80 | + # Spring watcher for file changes |
| 81 | + gem 'spring-watcher-listen', '~> 2.1.0' |
| 82 | + # Tracing tool |
| 83 | + gem 'rbtrace' |
| 84 | + # Web-console for an interactive console on exception pages |
| 85 | + gem 'web-console', '>= 3.3.0' |
36 | 86 | end |
37 | 87 |
|
38 | 88 | group :test do |
39 | | - # gem 'capybara' |
40 | | - # gem 'chromedriver-helper' |
| 89 | + # Capybara for integration testing |
| 90 | + gem 'capybara', '>= 2.15' |
| 91 | + # Coveralls for test coverage reporting |
41 | 92 | gem 'coveralls' |
| 93 | + # Database cleaner for test database cleaning |
| 94 | + gem 'database_cleaner' |
42 | 95 | gem 'database_cleaner-active_record' |
43 | | - gem 'fuubar' |
| 96 | + # # Easy installation and use of chromedriver to run system tests with Chrome |
| 97 | + gem 'webdrivers' |
| 98 | + # RuboCop RSpec for RSpec-specific code analysis |
| 99 | + gem 'rubocop-rspec' |
| 100 | + # RSpec for unit testing |
| 101 | + gem 'rspec' |
| 102 | + # RSpec Rails integration |
44 | 103 | gem 'rspec-rails' |
| 104 | + # Selenium WebDriver for browser automation |
| 105 | + gem 'selenium-webdriver' |
| 106 | + # Shoulda Callback Matchers for testing callbacks |
45 | 107 | gem 'shoulda-callback-matchers' |
| 108 | + # Shoulda Matchers for simplifying model tests |
46 | 109 | gem 'shoulda-matchers' |
| 110 | + # SimpleCov for test coverage analysis |
47 | 111 | gem 'simplecov', require: false |
48 | | - # gem 'selenium-webdriver' |
49 | 112 | end |
0 commit comments