Skip to content

Commit

Permalink
Bump version to 0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Serdar Dogruyol committed Sep 5, 2017
1 parent 9316ed8 commit 731b2e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shard.yml
@@ -1,5 +1,5 @@
name: kemal
version: 0.20.0
version: 0.21.0

dependencies:
radix:
Expand Down
2 changes: 1 addition & 1 deletion src/kemal/dsl.cr
Expand Up @@ -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
Expand Down

0 comments on commit 731b2e0

Please sign in to comment.