Commit graph

12 commits

Author SHA1 Message Date
Luis Lavena
60acd49794 doc: Add CHANGELOG.md file with list of changes
[skip ci]
2016-02-29 12:09:34 -03:00
Luis Lavena
88863daab2 Merge pull request #3 from luislavena/detect-multiple-params
Correctly build key from detected parameters
2016-02-29 11:49:43 -03:00
Luis Lavena
fe1ebb7d76 Correctly build key from detected parameters
Given a key `/:foo/:bar`, the find mechanism was incorrectly picking
the separator character as part of the key name (`foo/`).

This caused incorrect match between expected name (`foo`) and the
one obtained.

When the key name was extracted from the named parameter, the size
of the returned key was not compensated, given that we move +1 positions
to avoid having ':' as part of the key.

This is now corrected by reducing the key size one shorter to
compensate.

Fixes Issue #2
2016-02-29 11:40:18 -03:00
Luis Lavena
2a7a3b77bc Merge pull request #1 from askn/master
Update README.md

[skip ci]
2016-01-24 20:04:41 -03:00
Luis Lavena
63bdc343f4 doc: Correct usage sample styles
Ensure Crystal is used as usage examples blocks covered in README.

[skip ci]
2016-01-24 20:01:31 -03:00
Aşkın Gedik
b33839e5f1 Update README.md 2016-01-25 01:00:30 +02:00
Luis Lavena
cc0f5ca225 doc: Correct typo in documentation link
Build link to documentation incorrectly, which resulted in 404 when
visited.

This commit corrects the issue.

[skip ci]
2016-01-24 19:58:29 -03:00
Luis Lavena
4543af0ae3 doc: Link to documentation (docrystal.org)
Add documentation reference badge to README

[skip ci]
2016-01-24 19:42:34 -03:00
Luis Lavena
f320d9fb1a ci: Add Travis build badge to README
[skip ci]
2016-01-24 19:35:39 -03:00
Luis Lavena
c9f474b927 ci: adjust Travis build options
Ensure both stable and nightly builds of Crystal are being used
to test this project.
2016-01-24 19:23:48 -03:00
Luis Lavena
c79f4e5c21 spec: ensure Node usage is tracked
Add missing spec for disable of node payload when collecting the
usage of them in `Result`.
2016-01-24 19:21:19 -03:00
Luis Lavena
7f348cae8c Extraction: initial import
Extract Radix Tree implementation from `Beryl` project into an
standalone library to facilitate usage by other developers.

- Move `Tree`, `Node` and `Result` into `Radix` namespace
- Clenaup standalone README and describe usage
2016-01-24 19:19:42 -03:00