From 3d2d30db937d0b548829d535cbdd8918992c1ee9 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Sun, 20 Feb 2022 22:27:02 +0100 Subject: [PATCH] Ignore HTTP::Server::Response patching for crystal >= 1.3.0 Closes #627 --- src/kemal/ext/response.cr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kemal/ext/response.cr b/src/kemal/ext/response.cr index 6fd4c01..103046f 100644 --- a/src/kemal/ext/response.cr +++ b/src/kemal/ext/response.cr @@ -1,3 +1,7 @@ +# This override collides with the new stdlib of Crystal 1.3 +# See https://github.com/kemalcr/kemal/issues/627 for more details +{{ skip_file if compare_versions(Crystal::VERSION, "1.3.0") >= 0 }} + class HTTP::Server::Response class Output def close