Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Example App to Rails 7 and Ruby 3.2.2
This upgrades the example application from Rails 3.2 to Rails 7 and Ruby 3.2.2. Over the last 3 weeks I've been joined by developers from across thoughtbot to live stream us working on this upgrade together. You can watch the series at https://www.youtube.com/watch?v=gQIYXc8y-UM&list=PL8tzorAO7s0huVF53GLeKbqNmMbwJ5JGF As we made necessary changes we attempted to minimize changes to the text of the book, but there were a few necessary changes, which are included along here in addition to the example app upgrade.
- Loading branch information
Showing
83 changed files
with
1,025 additions
and
603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby 3.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rails', '3.2.8' | ||
ruby '3.2.2' | ||
|
||
gem 'rails', '7.0.8' | ||
|
||
gem 'clearance' | ||
gem 'jquery-rails' | ||
gem 'simple_form' | ||
gem 'strong_parameters' | ||
gem 'sqlite3' | ||
gem 'thin' | ||
|
||
group :assets do | ||
gem 'coffee-rails', '~> 3.2' | ||
gem 'sass-rails', '~> 3.2' | ||
gem 'uglifier', '>= 1.0' | ||
end | ||
gem 'sprockets-rails' | ||
gem 'puma' | ||
gem 'importmap-rails' | ||
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] | ||
gem 'bootsnap', require: false | ||
|
||
group :development, :test do | ||
gem 'bourne' | ||
gem 'bourne', '1.3.0' | ||
gem 'foreman' | ||
gem 'rspec-rails' | ||
gem 'rails-dom-testing' | ||
gem 'listen' | ||
end | ||
|
||
group :test do | ||
gem 'capybara' | ||
gem 'email_spec' | ||
gem 'factory_girl_rails' | ||
gem 'factory_bot_rails' | ||
gem 'shoulda-matchers' | ||
end |
Oops, something went wrong.