-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase default Ruby version to 2.7.4 (#1193)
* Increase default Ruby version to 2.7.4 Our policy is to stay on the latest patch release of the middle supported Ruby version. Supported versions are 3.0, 2.7, and 2.6 so the latest of the 2.7 is 2.7.4. * Fix uninitialized constant SimpleDelegator SimpleDelegator was removed from being auto-required in Ruby 2.7 https://stackoverflow.com/questions/60459709/where-is-simpledelegator-in-ruby-2-7 * Fix tests for Ruby 2.7.4 - rspec ./spec/hatchet/rails5_spec.rb:46 # Rails 5.1 with webpacker calls bin/yarn no matter what is on the path - Hatchet::Runner.new("rails51_webpacker").tap do |app| - Test does not rely on Rails 5 specific behavior - rspec ./spec/hatchet/rails5_spec.rb:4 # Rails 5 works - Hatchet::Runner.new("rails5", stack: "heroku-18").deploy do |app, heroku| - Version of Rails does not work with Ruby 2.7.4 - Not rails 5 specific, upgrading to Rails 6 - rspec ./spec/hatchet/bugs_spec.rb:12 # Bugs database connections fails with better error message - Hatchet::Runner.new("connect_to_database_on_first_push", allow_failure: true).deploy do |app| - We can use a generic/maintained app instead and inject the database connection code. * Fix circle tests * Update CHANGELOG.md Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com> Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com>
- Loading branch information
Showing
12 changed files
with
65 additions
and
46 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
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 |
---|---|---|
|
@@ -63,7 +63,7 @@ DEPENDENCIES | |
toml-rb | ||
|
||
RUBY VERSION | ||
ruby 2.6.6p146 | ||
ruby 2.7.4p191 | ||
|
||
BUNDLED WITH | ||
2.1.4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Default Ruby version for new apps is now 2.7.4 | ||
|
||
The [default Ruby version for new Ruby applications is 2.7.4](https://devcenter.heroku.com/articles/ruby-support#default-ruby-version-for-new-apps). You’ll only get the default if the application does not specify a ruby version. |
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
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