Skip to content

Commit

Permalink
Default Ruby version to 3.1.6 (#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems authored Jun 13, 2024
1 parent a373fb3 commit dbc59f6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## [Unreleased]

- Remove experimental CNB support. For official CNB support use [heroku/buildpacks-ruby](https://github.com/heroku/buildpacks-ruby) instead. (https://github.com/heroku/heroku-buildpack-ruby/pull/1464)
- Default Ruby version is now 3.1.6 (https://github.com/heroku/heroku-buildpack-ruby/pull/1466)
- Ruby 3.3.3 is now available

## [v271] - 2024-06-03

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ DEPENDENCIES
toml-rb

RUBY VERSION
ruby 3.1.4p223
ruby 3.1.6p260

BUNDLED WITH
2.5.8
2.5.11
8 changes: 4 additions & 4 deletions buildpack.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[buildpack]
name = "Ruby"
ruby_version = "3.1.4"
ruby_version = "3.1.6"

[publish]

Expand All @@ -17,13 +17,13 @@ files = [
]

[[publish.Vendor]]
url = "https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com/heroku-20/ruby-3.1.4.tgz"
url = "https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com/heroku-20/ruby-3.1.6.tgz"
dir = "vendor/ruby/heroku-20"

[[publish.Vendor]]
url = "https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com/heroku-22/ruby-3.1.4.tgz"
url = "https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com/heroku-22/ruby-3.1.6.tgz"
dir = "vendor/ruby/heroku-22"

[[publish.Vendor]]
url = "https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com/heroku-24/amd64/ruby-3.1.4.tgz"
url = "https://heroku-buildpack-ruby.s3.us-east-1.amazonaws.com/heroku-24/amd64/ruby-3.1.6.tgz"
dir = "vendor/ruby/amd64/heroku-24"
3 changes: 3 additions & 0 deletions changelogs/unreleased/default_ruby.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Default Ruby version for new apps is now 3.1.6

The [default Ruby version for new Ruby applications is 3.1.6](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.
4 changes: 2 additions & 2 deletions lib/language_pack/ruby_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def initialize(output = "")
end
end

BOOTSTRAP_VERSION_NUMBER = "3.1.4".freeze
DEFAULT_VERSION_NUMBER = "3.1.4".freeze
BOOTSTRAP_VERSION_NUMBER = "3.1.6".freeze
DEFAULT_VERSION_NUMBER = "3.1.6".freeze
DEFAULT_VERSION = "ruby-#{DEFAULT_VERSION_NUMBER}".freeze
LEGACY_VERSION_NUMBER = "1.9.2".freeze
LEGACY_VERSION = "ruby-#{LEGACY_VERSION_NUMBER}".freeze
Expand Down

0 comments on commit dbc59f6

Please sign in to comment.