From e223940e5e05b63ddebfda3c4bff63f1c7f4ba82 Mon Sep 17 00:00:00 2001 From: Sdogruyol Date: Sun, 24 Jan 2016 20:50:54 +0200 Subject: [PATCH] Replace beryl with f/radix --- shard.yml | 4 ++-- src/kemal/handler.cr | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shard.yml b/shard.yml index b58e222..ddbc086 100644 --- a/shard.yml +++ b/shard.yml @@ -2,8 +2,8 @@ name: kemal version: 0.7.0 dependencies: - beryl: - github: luislavena/beryl + radix: + github: f/radix author: - Serdar Dogruyol diff --git a/src/kemal/handler.cr b/src/kemal/handler.cr index 27a9637..7c966aa 100644 --- a/src/kemal/handler.cr +++ b/src/kemal/handler.cr @@ -1,5 +1,5 @@ require "http/server" -require "beryl/beryl/routing/tree" +require "radix" # Kemal::Handler is the main handler which handles all the HTTP requests. Routing, parsing, rendering e.g # are done in this handler. @@ -8,7 +8,7 @@ class Kemal::Handler < HTTP::Handler INSTANCE = new def initialize - @tree = Beryl::Routing::Tree.new + @tree = Radix::Tree.new end def call(context)