From 5991fd1296566758d461af91e331d7143a4685ab Mon Sep 17 00:00:00 2001 From: Jez Caudle Date: Thu, 23 Apr 2026 10:54:13 +0000 Subject: [PATCH] Gemspec updated --- .rubocop.yml | 8 ++++++++ Gemfile | 56 ++++++++++++++++++++++------------------------------ 2 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 .rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..f9d86d4 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,8 @@ +# Omakase Ruby styling for Rails +inherit_gem: { rubocop-rails-omakase: rubocop.yml } + +# Overwrite or add rules to create your own house style +# +# # Use `[a, [b, c]]` not `[ a, [ b, c ] ]` +# Layout/SpaceInsideArrayLiteralBrackets: +# Enabled: false diff --git a/Gemfile b/Gemfile index 5bc7ff1..3256fb9 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,12 @@ ruby "4.0.2" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "8.1.3" +gem "propshaft" +gem "puma", "~> 6.0" +gem "importmap-rails" +gem "turbo-rails" +gem "stimulus-rails" +gem "jbuilder" gem 'devise' gem 'devise-two-factor' @@ -16,35 +22,18 @@ gem "sprockets-rails" # Use mysql as the database for Active Record gem "mysql2", "~> 0.5" -# Use the Puma web server [https://github.com/puma/puma] -gem "puma", "~> 6.0" -# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails] -gem "importmap-rails" +gem "tzinfo-data", platforms: %i[ windows jruby ] -# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev] -gem "turbo-rails" - -# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev] -gem "stimulus-rails" - -# Build JSON APIs with ease [https://github.com/rails/jbuilder] -gem "jbuilder" - -# Use Redis adapter to run Action Cable in production -# gem "redis", "~> 4.0" - -# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis] -# gem "kredis" - -# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword] -# gem "bcrypt", "~> 3.1.7" - -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] +# Use the database-backed adapters for Rails.cache, Active Job, and Action Cable +gem "solid_cache" +gem "solid_queue" +gem "solid_cable" # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false +gem "thruster", require: false +gem "image_processing", "~> 1.2" # Use Sass to process CSS # gem "sassc-rails" @@ -52,20 +41,23 @@ gem "bootsnap", require: false # Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images] # gem "image_processing", "~> 1.2" -group :development, :test do +ggroup :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 ] + gem "debug", platforms: %i[ mri windows ], require: "debug/prelude" + + # Audits gems for known security defects (use config/bundler-audit.yml to ignore issues) + gem "bundler-audit", require: false + + # Static analysis for security vulnerabilities [https://brakemanscanner.org/] + gem "brakeman", require: false + + # Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/] + gem "rubocop-rails-omakase", require: false 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" end group :test do