Bump version to 0.21.0

This commit is contained in:
Serdar Dogruyol 2017-09-05 12:19:32 +03:00
parent 9316ed8810
commit 731b2e0d5b
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
name: kemal
version: 0.20.0
version: 0.21.0
dependencies:
radix:

View file

@ -14,7 +14,7 @@ FILTER_METHODS = %w(get post put patch delete options all)
end
{% end %}
def ws(path : String, &block : HTTP::WebSocket, HTTP::Server::Context -> _)
def ws(path : String, &block : HTTP::WebSocket, HTTP::Server::Context -> Void)
raise Kemal::Exceptions::InvalidPathStartException.new("ws", path) unless Kemal::Utils.path_starts_with_slash?(path)
Kemal::WebSocketHandler.new path, &block
end