Skip to content

Commit

Permalink
Update to rails 7.1 (#58)
Browse files Browse the repository at this point in the history
* Bump rails from 7.0 to 7.1

* Merge Rails 7.1 Gemfile changes

* Bump Puma from 5.6.7 to 6.4.0

* Run rails app:update

* Update schema to 7.1

* Manually copy rails 7.1 changes

* Run standardrb

* Bump redis from from 4.8.1 to 5.0.7

* Upgrade to rack 3

  - Bump rack from 2.2.8 to 3.0.8
  - Bump rack-session from 1.0.1 to 2.0.0
  - Bump rackup from 1.0.0 to rackup 2.1.0

* Bump remaining gems

  - Implicit dependencies
  - Patch versions of previously updated gems

* Use 7.1 defaults
  • Loading branch information
jbakerdev committed Oct 10, 2023
1 parent 57fc3c9 commit e23abcb
Show file tree
Hide file tree
Showing 20 changed files with 245 additions and 201 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ db/schema.rb linguist-generated

# Mark any vendored files as having been vendored.
vendor/* linguist-vendored
config/credentials/*.yml.enc diff=rails_credentials
config/credentials.yml.enc diff=rails_credentials
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
/.env*
!/.env*.erb

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
Expand All @@ -18,7 +22,7 @@
!/tmp/pids/
!/tmp/pids/.keep

# Ignore uploaded files in development.
# Ignore storage (uploaded files in development and any SQLite databases).
/storage/*
!/storage/.keep
/tmp/storage/*
Expand Down
14 changes: 5 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.2.2"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.0"
gem "rails", "~> 7.1.0"

# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem "sprockets-rails"
Expand All @@ -13,7 +12,7 @@ gem "sprockets-rails"
gem "pg", "~> 1.1"

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.6"
gem "puma", ">= 5.0"

# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem "importmap-rails"
Expand All @@ -31,7 +30,7 @@ gem "tailwindcss-rails"
gem "jbuilder"

# Use Redis adapter to run Action Cable in production
gem "redis", "~> 4.0"
gem "redis", ">= 4.0.1"

# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem "kredis"
Expand All @@ -40,20 +39,17 @@ gem "redis", "~> 4.0"
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 ]
gem "tzinfo-data", platforms: %i[ windows jruby ]

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false

# Use Sass to process CSS
# gem "sassc-rails"

# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"

group :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 ]
end

group :development do
Expand Down
Loading

0 comments on commit e23abcb

Please sign in to comment.