@vercel/ruby 2.0.5 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +260 -967
  2. package/package.json +5 -3
  3. package/vc_init.rb +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vercel/ruby",
3
3
  "author": "Nathan Cahill <nathan@nathancahill.com>",
4
- "version": "2.0.5",
4
+ "version": "2.2.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/index",
7
7
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby",
@@ -17,11 +17,13 @@
17
17
  "devDependencies": {
18
18
  "@types/fs-extra": "8.0.0",
19
19
  "@types/semver": "6.0.0",
20
- "@vercel/build-utils": "7.5.1",
20
+ "@types/which": "3.0.0",
21
+ "@vercel/build-utils": "9.1.0",
21
22
  "execa": "2.0.4",
22
23
  "fs-extra": "^7.0.1",
23
24
  "jest-junit": "16.0.0",
24
- "semver": "6.3.1"
25
+ "semver": "6.3.1",
26
+ "which": "3.0.0"
25
27
  },
26
28
  "scripts": {
27
29
  "build": "node ../../utils/build-builder.mjs",
package/vc_init.rb CHANGED
@@ -60,7 +60,7 @@ def webrick_handler(httpMethod, path, body, headers)
60
60
  server.shutdown
61
61
  Thread.kill(th)
62
62
 
63
- # Net::HTTP doesnt read the set the encoding so we must set manually.
63
+ # Net::HTTP doesn't read the set the encoding so we must set manually.
64
64
  # Bug: https://bugs.ruby-lang.org/issues/15517
65
65
  # More: https://yehudakatz.com/2010/05/17/encodings-unabridged/
66
66
  res_headers = res.each_capitalized.to_h