Fixing up configure for 5.2

Getting the Lua version into account when setting the constants for the Makefile.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Fixing #9

Solution by @daniel-j-h

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Small logic shortcuts and formatting changes (aka "code combing").

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Renamed the README file to and make use of Markdown.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
More code combing.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Adding gitignore.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Code combing, replace module() usage.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Fixing up the Markdown syntax so that it looks better.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Adding an initial rockspec for the next release.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Changing the url of the rockspec for testing purposes.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
fixing some module require'ing.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Moving web_methods for better segmentation of the file.

This results in easier reading.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Moving more indices into the table assignment for the web object.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Moving htmlify_func inside the htmlify function.

This gets me into thinking of splitting this function into a separate module.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Simple reformatting for simpler reading of an xpcall.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Remove the re.lua dependency

This makes tests/test_routes.lua run ~25% faster (omitting the /:foo.:bar test that failed and continues to do so)

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Exctract the htmlify module on its own file.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Extracted mime_types

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
Unifying the functionality of some of the app_module.dispatch_* methods.

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>