From 91e155faf58cf638f94438a410461dd5915c4249 Mon Sep 17 00:00:00 2001 From: Matthias Wahl Date: Sat, 9 May 2020 23:33:40 +0200 Subject: [PATCH] Depend on new ponylang http-server library --- bundle.json | 6 +++--- examples/basicauth/main.pony | 2 +- examples/params/main.pony | 2 +- examples/servedir/main.pony | 2 +- examples/servefile/main.pony | 2 +- jennet/_test.pony | 2 +- jennet/basicauth.pony | 2 +- jennet/context.pony | 2 +- jennet/fileserver.pony | 2 +- jennet/handlergroup.pony | 2 +- jennet/jennet.pony | 2 +- jennet/mux.pony | 2 +- jennet/responder.pony | 2 +- jennet/router.pony | 2 +- jennet/serverinfo.pony | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/bundle.json b/bundle.json index a6e999b..1c874e0 100644 --- a/bundle.json +++ b/bundle.json @@ -6,9 +6,9 @@ "repo": "ponylang/crypto" }, { - "tag": "http-ng", + "tag": "master", "type": "github", - "repo": "mfelsche/http" + "repo": "ponylang/http-server" }, { "tag": "1.0.0", @@ -21,7 +21,7 @@ "repo": "mfelsche/ponycheck" }, { - "tag": "0.4.1", + "tag": "0.5.0", "type": "github", "repo": "mfelsche/pony-valbytes" } diff --git a/examples/basicauth/main.pony b/examples/basicauth/main.pony index 794d798..0c51f0d 100644 --- a/examples/basicauth/main.pony +++ b/examples/basicauth/main.pony @@ -1,5 +1,5 @@ use "collections" -use "http" +use "http/server" use "../../jennet" actor Main diff --git a/examples/params/main.pony b/examples/params/main.pony index ea0166a..54717b6 100644 --- a/examples/params/main.pony +++ b/examples/params/main.pony @@ -1,4 +1,4 @@ -use "http" +use "http/server" use "../../jennet" actor Main diff --git a/examples/servedir/main.pony b/examples/servedir/main.pony index 3be7e93..0108cd0 100644 --- a/examples/servedir/main.pony +++ b/examples/servedir/main.pony @@ -1,4 +1,4 @@ -use "http" +use "http/server" use "files" use "../../jennet" diff --git a/examples/servefile/main.pony b/examples/servefile/main.pony index bf066e4..dc0102a 100644 --- a/examples/servefile/main.pony +++ b/examples/servefile/main.pony @@ -1,4 +1,4 @@ -use "http" +use "http/server" use "../../jennet" actor Main diff --git a/jennet/_test.pony b/jennet/_test.pony index 96a3401..ecdc46a 100644 --- a/jennet/_test.pony +++ b/jennet/_test.pony @@ -1,6 +1,6 @@ use "collections" use "encode/base64" -use "http" +use "http/server" use "ponytest" use radix = "radix" use "valbytes" diff --git a/jennet/basicauth.pony b/jennet/basicauth.pony index f2c3f41..b7a3b88 100644 --- a/jennet/basicauth.pony +++ b/jennet/basicauth.pony @@ -2,7 +2,7 @@ use "collections" use "crypto" use "encode/base64" use "itertools" -use "http" +use "http/server" class BasicAuth is Middleware """ diff --git a/jennet/context.pony b/jennet/context.pony index 34501e3..7c13346 100644 --- a/jennet/context.pony +++ b/jennet/context.pony @@ -1,5 +1,5 @@ use "collections" -use "http" +use "http/server" use "time" use "valbytes" diff --git a/jennet/fileserver.pony b/jennet/fileserver.pony index 075b14b..bdae14a 100644 --- a/jennet/fileserver.pony +++ b/jennet/fileserver.pony @@ -1,5 +1,5 @@ use "files" -use "http" +use "http/server" use "valbytes" class _FileServer is RequestHandler diff --git a/jennet/handlergroup.pony b/jennet/handlergroup.pony index e25a4cb..eb64522 100644 --- a/jennet/handlergroup.pony +++ b/jennet/handlergroup.pony @@ -1,4 +1,4 @@ -use "http" +use "http/server" class val _HandlerGroup let middlewares: Array[Middleware] val diff --git a/jennet/jennet.pony b/jennet/jennet.pony index d8ad279..ab343ed 100644 --- a/jennet/jennet.pony +++ b/jennet/jennet.pony @@ -1,6 +1,6 @@ use "collections" use "files" -use "http" +use "http/server" use "net" use "valbytes" diff --git a/jennet/mux.pony b/jennet/mux.pony index 0994d75..4efcec7 100644 --- a/jennet/mux.pony +++ b/jennet/mux.pony @@ -1,5 +1,5 @@ use "collections" -use "http" +use "http/server" use "itertools" use "radix" diff --git a/jennet/responder.pony b/jennet/responder.pony index 98f6de3..2e6a460 100644 --- a/jennet/responder.pony +++ b/jennet/responder.pony @@ -1,5 +1,5 @@ use "net" -use "http" +use "http/server" use "term" use "time" use "valbytes" diff --git a/jennet/router.pony b/jennet/router.pony index 967fba3..bfb8f1f 100644 --- a/jennet/router.pony +++ b/jennet/router.pony @@ -1,5 +1,5 @@ use "collections" -use "http" +use "http/server" use "valbytes" type _ReqData is diff --git a/jennet/serverinfo.pony b/jennet/serverinfo.pony index 7f6fa56..c385164 100644 --- a/jennet/serverinfo.pony +++ b/jennet/serverinfo.pony @@ -1,4 +1,4 @@ -use "http" +use "http/server" use "promises" class _ServerInfo is ServerNotify