Skip to content

Commit

Permalink
Updated to Rails 7 & Ruby 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminfaure committed Jul 18, 2023
1 parent d7d64e6 commit 4bb9bc3
Show file tree
Hide file tree
Showing 16 changed files with 548 additions and 298 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# Install Ruby and run bundler
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.1'
bundler-cache: true

# Install Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# Install Ruby and run bundler
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.1'
bundler-cache: true

## - run: echo 'NODE_OPTIONS="--openssl-legacy-provider"' >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Install Ruby and run bundler
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.1'
bundler-cache: true

# Run the Rubocop linter checks
Expand Down
10 changes: 7 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

source 'https://rubygems.org'

ruby '>= 3.0'
ruby '>= 3.1'

# ===========#
# CORE RAILS #
# ===========#

# Full-stack web application framework. (http://rubyonrails.org)
gem 'rails', '~> 6.1'
gem 'rails', '~> 7.0'

# TODO: Remove this once Rails addresses the issue with its dependency on mimemagic. Mimemagic had
# an MIT license but was using some incompatible GPL license code.
Expand Down Expand Up @@ -47,6 +47,10 @@ gem 'jbuilder'
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false

# Provides Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline.
# https://github.com/rails/sprockets-rails
gem 'sprockets-rails'

# ============== #
# ERROR HANDLING #
# ============== #
Expand Down Expand Up @@ -200,7 +204,7 @@ gem 'activerecord_json_validator'
# We need to freeze the mail gem version as the recently released 2.8.0 triggers an exception
# We will need to check if it's fixed when we migrate to Ruby 3.0/3.1
# See : https://github.com/DMPRoadmap/roadmap/issues/3254
gem 'mail', '2.7.1'
gem 'mail'

# ================================= #
# ENVIRONMENT SPECIFIC DEPENDENCIES #
Expand Down
Loading

0 comments on commit 4bb9bc3

Please sign in to comment.