Commit Graph

8 Commits (da62ae6713d6db6c8b37bff47a9622c78ba5da6a)

Author SHA1 Message Date
Antti Pihlaja da62ae6713 allow inserting falsy values, excluding undefined 7 years ago
Johannes Jörg Schmidt 8c276ddb18 Merge pull request #23 from Useclark/parens-in-values
Add a test for parens not saved in the value
9 years ago
Denis Sokolov 6176d32029 Add a test for parameters replacing all at once to prevent colon conflicts 9 years ago
Denis Sokolov 47849de070 Add a test for parens not saved in the value 9 years ago
Denis Sokolov 5cc5e5a249 Encode parameter values to allow slashes in values, fix #15 9 years ago
Denis Sokolov 824d69fd08 Remove global state, return rules directly
This breaks backwards compatibility.

This removes .routes because it's not intuitive what the result value
of that must be, and users are free to .map over .route themselves.

Also, .routes was never tested.

Fixes #14.
9 years ago
Johannes J. Schmidt bc9dff9d4c Fixed named parameter followed by optional parameter 10 years ago
Johannes J. Schmidt e751d71494 Fix surrounded optional parameter 10 years ago