Replace beryl with f/radix
This commit is contained in:
parent
fa1c039f4a
commit
e223940e5e
|
@ -2,8 +2,8 @@ name: kemal
|
||||||
version: 0.7.0
|
version: 0.7.0
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
beryl:
|
radix:
|
||||||
github: luislavena/beryl
|
github: f/radix
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- Serdar Dogruyol <dogruyolserdar@gmail.com>
|
- Serdar Dogruyol <dogruyolserdar@gmail.com>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require "http/server"
|
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
|
# Kemal::Handler is the main handler which handles all the HTTP requests. Routing, parsing, rendering e.g
|
||||||
# are done in this handler.
|
# are done in this handler.
|
||||||
|
@ -8,7 +8,7 @@ class Kemal::Handler < HTTP::Handler
|
||||||
INSTANCE = new
|
INSTANCE = new
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@tree = Beryl::Routing::Tree.new
|
@tree = Radix::Tree.new
|
||||||
end
|
end
|
||||||
|
|
||||||
def call(context)
|
def call(context)
|
||||||
|
|
Loading…
Reference in New Issue