Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Bump version to 0.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hayd committed Jan 25, 2020
1 parent 5d95c87 commit 9937018
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion example-serverless/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export {
DynamoDBClient
} from "https://deno.land/x/dynamodb@v0.2.0/mod.ts";

import { v4 } from "https://deno.land/std@v0.29.0/uuid/mod.ts";
import { v4 } from "https://deno.land/std@v0.31.0/uuid/mod.ts";
export const uuid = v4.generate;
4 changes: 2 additions & 2 deletions example-serverless/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
// You must also pass a access key/secret environment variables, but these don't have to be real e.g.
// AWS_ACCESS_KEY_ID=fakeMyKeyId AWS_SECRET_ACCESS_KEY=fakeSecretAccessKey deno --allow-env --allow-net test.ts

import { runIfMain } from "https://deno.land/std@v0.29.0/testing/mod.ts";
import { runIfMain } from "https://deno.land/std@v0.31.0/testing/mod.ts";
import {
assert,
assertEquals
} from "https://deno.land/std@v0.29.0/testing/asserts.ts";
} from "https://deno.land/std@v0.31.0/testing/asserts.ts";
import {
APIGatewayProxyEvent,
Context
Expand Down
2 changes: 1 addition & 1 deletion example-serverless/test_util.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
TestDefinition,
test as stdTest
} from "https://deno.land/std@v0.29.0/testing/mod.ts";
} from "https://deno.land/std@v0.31.0/testing/mod.ts";

import { client } from "./client.ts";
import { TableName } from "./api/candidate.ts";
Expand Down
4 changes: 2 additions & 2 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: This must be built in the .. context

FROM hayd/deno:amazonlinux1-0.29.0
FROM hayd/deno:amazonlinux1-0.31.0
# This is the runtime used by AWS Lambda
# plus a compatible deno executable /bin/deno.
# https://github.com/hayd/deno_docker
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN sh artifacts \

WORKDIR /src/tests
# Note: We have to run since fetch doesn't write!
RUN deno pad.ts --lock-write --lock=./lock.json \
RUN deno run --lock-write --lock=lock.json pad.ts \
&& echo {} > badlock.json

ADD tests/server.ts server.ts
Expand Down
6 changes: 3 additions & 3 deletions tests/deps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { assertEquals } from "https://deno.land/std@v0.29.0/testing/asserts.ts";
export { assertEquals } from "https://deno.land/std@v0.31.0/testing/asserts.ts";
export {
serve,
ServerRequestBody
} from "https://deno.land/std@v0.29.0/http/server.ts";
export { runIfMain, test } from "https://deno.land/std@v0.29.0/testing/mod.ts";
} from "https://deno.land/std@v0.31.0/http/server.ts";
export { runIfMain, test } from "https://deno.land/std@v0.31.0/testing/mod.ts";
4 changes: 2 additions & 2 deletions tests/test_bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
}
],
"files": ["hello.bundle.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_example_zip.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
}
],
"files": "deno-lambda-example.zip",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_js.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.31.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.31.0 🦕\"}"
}
],
"files": ["hello.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_self_contained.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
}
],
"files": ["hello.ts", "bootstrap", "amz-deno"]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.29.0 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 0.31.0 🦕\"}"
}
],
"files": ["hello.ts"],
Expand Down

0 comments on commit 9937018

Please sign in to comment.