Replace beryl with f/radix

This commit is contained in:
Sdogruyol 2016-01-24 20:50:54 +02:00
parent fa1c039f4a
commit e223940e5e
2 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,8 @@ name: kemal
version: 0.7.0
dependencies:
beryl:
github: luislavena/beryl
radix:
github: f/radix
author:
- Serdar Dogruyol <dogruyolserdar@gmail.com>

View file

@ -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)