chore: Add .gitignore, update Gemfile and Gemfile.lock for Rails 7.2.3, and clean up development environment settings

This commit is contained in:
Z. Cliffe Schreuders
2025-11-21 15:27:54 +00:00
parent 2d3ce4a6ad
commit 19b52cd826
5 changed files with 106 additions and 66 deletions

37
.gitignore vendored Normal file
View File

@@ -0,0 +1,37 @@
# Bundle
vendor/bundle/
.bundle/
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Rails
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
test/dummy/log/*
test/dummy/tmp/*
test/dummy/storage/*
.env.local
.env.*.local
# Database
*.sqlite3
*.sqlite3-*
/db/*.sqlite3
# Logs
*.log
# Temporary files
.byebug_history
.spring.pid

View File

@@ -1,10 +1,12 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gemspec gemspec
gem 'rails', '~> 7.0'
# Development dependencies # Development dependencies
group :development, :test do group :development, :test do
gem 'sqlite3' gem 'sqlite3'
gem 'pry' gem 'pry'
gem 'pry-byebug' gem 'pry-byebug'
gem 'puma'
end end

View File

@@ -3,89 +3,90 @@ PATH
specs: specs:
break_escape (1.0.0) break_escape (1.0.0)
pundit (~> 2.3) pundit (~> 2.3)
rails (>= 7.0) rails (~> 7.0)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
action_text-trix (2.1.15) actioncable (7.2.3)
railties actionpack (= 7.2.3)
actioncable (8.1.1) activesupport (= 7.2.3)
actionpack (= 8.1.1)
activesupport (= 8.1.1)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6) zeitwerk (~> 2.6)
actionmailbox (8.1.1) actionmailbox (7.2.3)
actionpack (= 8.1.1) actionpack (= 7.2.3)
activejob (= 8.1.1) activejob (= 7.2.3)
activerecord (= 8.1.1) activerecord (= 7.2.3)
activestorage (= 8.1.1) activestorage (= 7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
mail (>= 2.8.0) mail (>= 2.8.0)
actionmailer (8.1.1) actionmailer (7.2.3)
actionpack (= 8.1.1) actionpack (= 7.2.3)
actionview (= 8.1.1) actionview (= 7.2.3)
activejob (= 8.1.1) activejob (= 7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
mail (>= 2.8.0) mail (>= 2.8.0)
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
actionpack (8.1.1) actionpack (7.2.3)
actionview (= 8.1.1) actionview (= 7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
cgi
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
rack (>= 2.2.4) racc
rack (>= 2.2.4, < 3.3)
rack-session (>= 1.0.1) rack-session (>= 1.0.1)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6) rails-html-sanitizer (~> 1.6)
useragent (~> 0.16) useragent (~> 0.16)
actiontext (8.1.1) actiontext (7.2.3)
action_text-trix (~> 2.1.15) actionpack (= 7.2.3)
actionpack (= 8.1.1) activerecord (= 7.2.3)
activerecord (= 8.1.1) activestorage (= 7.2.3)
activestorage (= 8.1.1) activesupport (= 7.2.3)
activesupport (= 8.1.1)
globalid (>= 0.6.0) globalid (>= 0.6.0)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (8.1.1) actionview (7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
builder (~> 3.1) builder (~> 3.1)
cgi
erubi (~> 1.11) erubi (~> 1.11)
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6) rails-html-sanitizer (~> 1.6)
activejob (8.1.1) activejob (7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (8.1.1) activemodel (7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
activerecord (8.1.1) activerecord (7.2.3)
activemodel (= 8.1.1) activemodel (= 7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
timeout (>= 0.4.0) timeout (>= 0.4.0)
activestorage (8.1.1) activestorage (7.2.3)
actionpack (= 8.1.1) actionpack (= 7.2.3)
activejob (= 8.1.1) activejob (= 7.2.3)
activerecord (= 8.1.1) activerecord (= 7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
marcel (~> 1.0) marcel (~> 1.0)
activesupport (8.1.1) activesupport (7.2.3)
base64 base64
benchmark (>= 0.3)
bigdecimal bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1) concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5) connection_pool (>= 2.2.5)
drb drb
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
json
logger (>= 1.4.2) logger (>= 1.4.2)
minitest (>= 5.1) minitest (>= 5.1)
securerandom (>= 0.3) securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5) tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
base64 (0.3.0) base64 (0.3.0)
benchmark (0.5.0)
bigdecimal (3.3.1) bigdecimal (3.3.1)
builder (3.3.0) builder (3.3.0)
byebug (12.0.0) byebug (12.0.0)
cgi (0.5.0)
coderay (1.1.3) coderay (1.1.3)
concurrent-ruby (1.3.5) concurrent-ruby (1.3.5)
connection_pool (2.5.4) connection_pool (2.5.4)
@@ -103,7 +104,6 @@ GEM
pp (>= 0.6.0) pp (>= 0.6.0)
rdoc (>= 4.0.0) rdoc (>= 4.0.0)
reline (>= 0.4.2) reline (>= 0.4.2)
json (2.16.0)
logger (1.7.0) logger (1.7.0)
loofah (2.24.1) loofah (2.24.1)
crass (~> 1.0.2) crass (~> 1.0.2)
@@ -156,6 +156,8 @@ GEM
psych (5.2.6) psych (5.2.6)
date date
stringio stringio
puma (7.1.0)
nio4r (~> 2.0)
pundit (2.5.2) pundit (2.5.2)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
racc (1.8.1) racc (1.8.1)
@@ -167,20 +169,20 @@ GEM
rack (>= 1.3) rack (>= 1.3)
rackup (2.2.1) rackup (2.2.1)
rack (>= 3) rack (>= 3)
rails (8.1.1) rails (7.2.3)
actioncable (= 8.1.1) actioncable (= 7.2.3)
actionmailbox (= 8.1.1) actionmailbox (= 7.2.3)
actionmailer (= 8.1.1) actionmailer (= 7.2.3)
actionpack (= 8.1.1) actionpack (= 7.2.3)
actiontext (= 8.1.1) actiontext (= 7.2.3)
actionview (= 8.1.1) actionview (= 7.2.3)
activejob (= 8.1.1) activejob (= 7.2.3)
activemodel (= 8.1.1) activemodel (= 7.2.3)
activerecord (= 8.1.1) activerecord (= 7.2.3)
activestorage (= 8.1.1) activestorage (= 7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 8.1.1) railties (= 7.2.3)
rails-dom-testing (2.3.0) rails-dom-testing (2.3.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
minitest minitest
@@ -188,9 +190,10 @@ GEM
rails-html-sanitizer (1.6.2) rails-html-sanitizer (1.6.2)
loofah (~> 2.21) loofah (~> 2.21)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
railties (8.1.1) railties (7.2.3)
actionpack (= 8.1.1) actionpack (= 7.2.3)
activesupport (= 8.1.1) activesupport (= 7.2.3)
cgi
irb (~> 1.13) irb (~> 1.13)
rackup (>= 1.0.0) rackup (>= 1.0.0)
rake (>= 12.2) rake (>= 12.2)
@@ -219,7 +222,6 @@ GEM
tsort (0.2.0) tsort (0.2.0)
tzinfo (2.0.6) tzinfo (2.0.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
uri (1.1.1)
useragent (0.16.11) useragent (0.16.11)
websocket-driver (0.8.0) websocket-driver (0.8.0)
base64 base64
@@ -241,6 +243,8 @@ DEPENDENCIES
break_escape! break_escape!
pry pry
pry-byebug pry-byebug
puma
rails (~> 7.0)
sqlite3 sqlite3
BUNDLED WITH BUNDLED WITH

View File

@@ -13,6 +13,6 @@ Gem::Specification.new do |spec|
Dir["{app,config,db,lib,public}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] Dir["{app,config,db,lib,public}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
end end
spec.add_dependency "rails", ">= 7.0" spec.add_dependency "rails", "~> 7.0"
spec.add_dependency "pundit", "~> 2.3" spec.add_dependency "pundit", "~> 2.3"
end end

View File

@@ -61,9 +61,6 @@ Rails.application.configure do
# Highlight code that enqueued background job in logs. # Highlight code that enqueued background job in logs.
config.active_job.verbose_enqueue_logs = true config.active_job.verbose_enqueue_logs = true
# Suppress logger output for asset requests.
config.assets.quiet = true
# Raises error for missing translations. # Raises error for missing translations.
# config.i18n.raise_on_missing_translations = true # config.i18n.raise_on_missing_translations = true