Massive revamping for Rails 8 and Zurb

This commit is contained in:
Christoph Haas 2025-03-16 00:44:43 +01:00
parent 7f9502fdfb
commit b5534b1900
89 changed files with 12555 additions and 736 deletions

113
Gemfile
View file

@ -1,75 +1,76 @@
source 'https://rubygems.org'
source "https://rubygems.org"
ruby '3.2.4'
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 8.0.2"
# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
gem "propshaft"
# Use sqlite3 as the database for Active Record
gem "sqlite3", ">= 2.1"
# Use the Puma web server [https://github.com/puma/puma]
gem "puma", ">= 5.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"
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
# gem "stimulus-rails"
# 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"
# https://github.com/ruby/net-protocol/issues/10
gem 'net-http'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
# gem 'rails', '~> 6.0'
gem 'rails', '~> 7.2'
gem 'bootsnap'
# gem 'webpacker'
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"
# File handling
gem 'shrine', '~> 3.0'
# Use the database-backed adapters for Rails.cache, Active Job, and Action Cable
gem "solid_cache"
gem "solid_queue"
gem "solid_cable"
# To create variants (different sizes) of screenshot images
gem 'fastimage'
gem 'image_processing'
gem 'mini_magick'
# Use Puma as the app server
gem 'puma', '~> 6.6.0'
# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false
# Use SCSS for stylesheets
# gem 'sass-rails', '~> 6.0.0'
# gem 'dartsass-rails'
# TODO: ruby sass is decprecated
# Deploy this application anywhere as a Docker container [https://kamal-deploy.org]
gem "kamal", require: false
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 4.2.1'
# Add HTTP asset caching/compression and X-Sendfile acceleration to Puma [https://github.com/basecamp/thruster/]
gem "thruster", require: false
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"
# Use jquery as the JavaScript library
gem 'jquery-rails'
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri windows ], require: "debug/prelude"
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Static analysis for security vulnerabilities [https://brakemanscanner.org/]
gem "brakeman", require: false
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.13.0'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
gem 'rails-healthcheck'
# 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]
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
# gem 'web-console'
gem "web-console"
gem 'listen', '~> 3.5'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'better_errors'
gem 'binding_of_caller'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
#gem 'better_errors'
#gem 'binding_of_caller'
#gem 'spring'
#gem 'spring-watcher-listen', '~> 2.0.0'
gem 'rails-erd'
# Chrome Rails debugging app broken with Rails 6.1 leads to "stack level too deep"
# gem 'meta_request'
# VS Code code-intelligence
# gem 'solargraph'
gem 'ruby-lsp'
gem 'rufo'
end
@ -93,8 +94,6 @@ group :development, :test do
gem 'minitest-rails'
gem 'minitest-reporters'
gem 'debug'
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: :mri
@ -102,19 +101,15 @@ group :development, :test do
end
group :test do
gem 'capybara'
gem 'selenium-webdriver'
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem "capybara"
gem "selenium-webdriver"
end
# TODO… https://github.com/galetahub/simple-captcha
# Captcha for anonymous reports
# gem "galetahub-simple_captcha", :require => "simple_captcha"
# Zurb Foundation
# https://github.com/zurb/foundation-rails
gem 'autoprefixer-rails'
gem 'foundation-rails', '~> 6.9.0.0'
# Pagination
gem 'will_paginate'
@ -139,7 +134,7 @@ gem 'font-awesome-rails'
# gem "recaptcha", require: "recaptcha/rails"
gem 'sprockets-rails'
#gem 'sprockets-rails'
# gem "activemodel-serializers-xml"
@ -163,3 +158,7 @@ gem 'cancancan'
gem 'gravtastic'
gem 'bzip2-ffi'
#gem "dartsass-rails", "~> 0.5.1"
gem 'rails-healthcheck'