-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into turbo-1-13-3
- Loading branch information
Showing
26 changed files
with
217 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@vercel/ruby': minor | ||
--- | ||
|
||
Add support for Ruby 3.3 |
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 |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
source "https://rubygems.org" | ||
|
||
ruby "~> 3.2.x" | ||
ruby "~> 3.3.x" | ||
|
||
gem "cowsay", "~> 0.3.0" |
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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
ruby "~> 3.2.x" | ||
|
||
gem "cowsay", "~> 0.3.0" |
13 changes: 13 additions & 0 deletions
13
packages/ruby/test/fixtures/01a-cowsay-ruby-3.2/Gemfile.lock
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,13 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
cowsay (0.3.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
cowsay (~> 0.3.0) | ||
|
||
BUNDLED WITH | ||
2.0.1 |
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,10 @@ | ||
require 'webrick' | ||
require 'cowsay' | ||
|
||
class Handler < WEBrick::HTTPServlet::AbstractServlet | ||
def do_GET req, res | ||
res.status = 200 | ||
res['Content-Type'] = 'text/plain' | ||
res.body = Cowsay.say('gem:RANDOMNESS_PLACEHOLDER', 'cow') | ||
end | ||
end |
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,5 @@ | ||
{ | ||
"engines": { | ||
"node": "18.x" | ||
} | ||
} |
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,8 @@ | ||
{ | ||
"version": 2, | ||
"builds": [{ "src": "index.rb", "use": "@vercel/ruby" }], | ||
"probes": [ | ||
{ "path": "/", "mustContain": "gem:RANDOMNESS_PLACEHOLDER" }, | ||
{ "path": "/", "method": "HEAD", "status": 200 } | ||
] | ||
} |
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 |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
source "https://rubygems.org" | ||
|
||
ruby "~> 3.2.x" | ||
ruby "~> 3.3.x" | ||
|
||
gem "cowsay", "~> 0.3.0" |
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 |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
source "https://rubygems.org" | ||
|
||
ruby "~> 3.2.x" | ||
ruby "~> 3.3.x" | ||
|
||
gem "cowsay", "~> 0.3.0" |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ GEM | |
|
||
PLATFORMS | ||
x86_64-darwin-21 | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
cowsay (~> 0.3.0) | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
source "https://rubygems.org" | ||
|
||
ruby "~> 3.2.x" | ||
ruby "~> 3.3.x" | ||
|
||
gem "cowsay", "~> 0.3.0" | ||
|
||
|
7 changes: 7 additions & 0 deletions
7
packages/ruby/test/fixtures/12-version-3-3-on-al2-error/Gemfile
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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
ruby "~> 3.3.x" | ||
|
||
gem "cowsay", "~> 0.3.0" |
16 changes: 16 additions & 0 deletions
16
packages/ruby/test/fixtures/12-version-3-3-on-al2-error/Gemfile.lock
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,16 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
cowsay (0.3.0) | ||
|
||
PLATFORMS | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
cowsay (~> 0.3.0) | ||
|
||
RUBY VERSION | ||
ruby 2.5.5p157 | ||
|
||
BUNDLED WITH | ||
2.2.22 |
9 changes: 9 additions & 0 deletions
9
packages/ruby/test/fixtures/12-version-3-3-on-al2-error/index.rb
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,9 @@ | ||
require 'cowsay' | ||
|
||
Handler = Proc.new do |req, res| | ||
name = req.query['name'] || 'World' | ||
|
||
res.status = 200 | ||
res['Content-Type'] = 'text/text; charset=utf-8' | ||
res.body = Cowsay.say("Hello #{name}", 'cow') | ||
end |
5 changes: 5 additions & 0 deletions
5
packages/ruby/test/fixtures/12-version-3-3-on-al2-error/package.json
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,5 @@ | ||
{ | ||
"engines": { | ||
"node": "18.x" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
packages/ruby/test/fixtures/12-version-3-3-on-al2-error/vercel.json
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,4 @@ | ||
{ | ||
"version": 2, | ||
"builds": [{ "src": "index.rb", "use": "@vercel/ruby" }] | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/ruby/test/fixtures/13-version-3-2-on-al2023-error/Gemfile
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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
ruby "~> 3.2.x" | ||
|
||
gem "cowsay", "~> 0.3.0" |
16 changes: 16 additions & 0 deletions
16
packages/ruby/test/fixtures/13-version-3-2-on-al2023-error/Gemfile.lock
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,16 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
cowsay (0.3.0) | ||
|
||
PLATFORMS | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
cowsay (~> 0.3.0) | ||
|
||
RUBY VERSION | ||
ruby 2.5.5p157 | ||
|
||
BUNDLED WITH | ||
2.2.22 |
9 changes: 9 additions & 0 deletions
9
packages/ruby/test/fixtures/13-version-3-2-on-al2023-error/index.rb
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,9 @@ | ||
require 'cowsay' | ||
|
||
Handler = Proc.new do |req, res| | ||
name = req.query['name'] || 'World' | ||
|
||
res.status = 200 | ||
res['Content-Type'] = 'text/text; charset=utf-8' | ||
res.body = Cowsay.say("Hello #{name}", 'cow') | ||
end |
4 changes: 4 additions & 0 deletions
4
packages/ruby/test/fixtures/13-version-3-2-on-al2023-error/vercel.json
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,4 @@ | ||
{ | ||
"version": 2, | ||
"builds": [{ "src": "index.rb", "use": "@vercel/ruby" }] | ||
} |
Oops, something went wrong.