diff --git a/shard.lock b/shard.lock index b2f91c9..7f6906d 100644 --- a/shard.lock +++ b/shard.lock @@ -2,7 +2,7 @@ version: 1.0 shards: kemal: github: sdogruyol/kemal - commit: 65d0af5b5f953c9c263d0e4c657517c4d64567ce + commit: a8ecbde22295f4c6ce156f9d5acda304894334fb kilt: github: jeromegn/kilt @@ -10,5 +10,5 @@ shards: radix: github: luislavena/radix - version: 0.1.1 + version: 0.3.0 diff --git a/src/spec-kemal.cr b/src/spec-kemal.cr index f528f47..49e5274 100644 --- a/src/spec-kemal.cr +++ b/src/spec-kemal.cr @@ -10,17 +10,18 @@ APP_URL = "http://localhost:#{APP_PORT}" Kemal.config.env = APP_ENV Kemal.config.host_binding = APP_HOST_BINDING Kemal.config.port = APP_PORT +Kemal.config.logging = false def start spawn do Kemal.run - Kemal.config.server.listen + Kemal.config.server.not_nil!.listen end sleep TIME_TO_SLEEP end def stop - Kemal.config.server.close + Kemal.config.server.not_nil!.close sleep TIME_TO_SLEEP end