- [CHANGE] Licence is now MIT
- [ENHANCEMENT] partial expansion has now more features
-
[FEATURE] partial expansion
-
[FEATURE] You can now pass variables as an Array to URITemplate#expand ( thanks to @bmaland ) Example:
tpl = URITemplate.new("/{var}/") tpl.expand(["value"]) # => '/value/'
-
[BUGFIX] Expanding arrays/hashes with a length limit now actually works
- [ENHANCEMENT] The colon based uri templates now allow more characters in variable names.
- [BUGFIX] f*** bug.
- [ENHANCEMENT] Removed draft7
- [ENHANCEMENT] splitted absoulte? method into host? and scheme?
- [ENHANCEMENT] the URITemplate interface is now much stronger
- [ENHANCEMENT] code quality significantly improved
- [ENHANCEMENT] concat method
- [ENHANCEMENT] expand now accepts symbols as keys ( thanks to @peterhellber )
- [ENHANCEMENT] expand now accepts arrays of pairs ( thanks to @peterhellber )
- [BUGFIX] fixed some testing bugs
- [ENHANCEMENT] Implemented the final version. Default implementation is now RFC 6570
- [BUGFIX] variables with terminal dots were allowed
- [BUGFIX] lists of commas were parsed incorrectly
- [ENHANCEMENT] Works now with MRI 1.8.7 and REE
- [ENHANCEMENT] Reworked the escaping mechanism
- [ENHANCEMENT] escape_utils can now be used to boost escape/unescape performance
- [ENHANCEMENT] Compatiblity: Works now with MRI 1.9.3, Rubinius and JRuby
- [ENHANCEMENT] Various (significant!) performance improvements
- [BUGFIX] Draft7./ now concatenates literals correctly
- [BUGFIX] Draft7.tokens is now public
- [FEATURE] added a new template-type: Colon this should allow (some day) to rails-like routing tables
- [ENHANCEMENT] made the tokens-method mandatory and added two interfaces for tokens. this allows cross-type features like variable anaylisis
- [ENHANCEMENT] added a bunch of useful helper methods
- [ENHANCEMENT] Removed Sections. They made too many headaches.
- [ENHANCEMENT] Made draft7 template concatenateable. This should replace sections.
- [BUGFIX] multiline uris were matched
- [BUGFIX] variablenames were decoded when this was not appreciated
- [BUGFIX] Concatenating empty sections no more leads to catch-all templates, when an emtpy template was appreciated.
- [ENHANCEMENT] The extracted variables now contains the keys :suffix and :prefix if the match didn't consume the whole uri.
- [FEATURE] Initial version