Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Heroku-20 to the download presence check #1093

Merged
merged 1 commit into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Main (unreleased)

* Remove excessive Active Storage warnings (https://github.com/heroku/heroku-buildpack-ruby/pull/1087)
* Add Heroku-20 to the download presence check (https://github.com/heroku/heroku-buildpack-ruby/pull/1093)

## v220 (8/7/2020)

Expand Down
4 changes: 2 additions & 2 deletions lib/language_pack/helpers/download_presence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
#
# download = LanguagePack::Helpers::DownloadPresence.new(
# 'ruby-1.9.3.tgz',
# stacks: ['cedar-14', 'heroku-16', 'heroku-18']
# stacks: ['cedar-14', 'heroku-16', 'heroku-18', 'heroku-20']
# )
#
# download.call
#
# puts download.exists? #=> true
# puts download.valid_stack_list #=> ['cedar-14']
class LanguagePack::Helpers::DownloadPresence
STACKS = ['cedar-14', 'heroku-16', 'heroku-18']
STACKS = ['cedar-14', 'heroku-16', 'heroku-18', 'heroku-20']

def initialize(path, stacks: STACKS)
@path = path
Expand Down