Skip to content

Commit

Permalink
chore(all): prepare release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jul 2, 2015
1 parent 9a28eca commit a99a825
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-route-recognizer",
"version": "0.5.0",
"version": "0.6.0",
"description": "A lightweight JavaScript library that matches paths against registered routes. It includes support for dynamic and star segments and nested handlers.",
"keywords": [
"aurelia",
Expand Down
6 changes: 3 additions & 3 deletions dist/amd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,12 @@ define(['exports', 'core-js'], function (exports, _coreJs) {
}

if (Array.isArray(value)) {
var arrayKey = '' + encodeKey(key) + '[]';
var arrayKey = encodeKey(key) + '[]';
for (var j = 0, l = value.length; j < l; j++) {
pairs.push('' + arrayKey + '=' + encode(value[j]));
pairs.push(arrayKey + '=' + encode(value[j]));
}
} else {
pairs.push('' + encodeKey(key) + '=' + encode(value));
pairs.push(encodeKey(key) + '=' + encode(value));
}
}

Expand Down
6 changes: 3 additions & 3 deletions dist/commonjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,12 @@ var RouteRecognizer = (function () {
}

if (Array.isArray(value)) {
var arrayKey = '' + encodeKey(key) + '[]';
var arrayKey = encodeKey(key) + '[]';
for (var j = 0, l = value.length; j < l; j++) {
pairs.push('' + arrayKey + '=' + encode(value[j]));
pairs.push(arrayKey + '=' + encode(value[j]));
}
} else {
pairs.push('' + encodeKey(key) + '=' + encode(value));
pairs.push(encodeKey(key) + '=' + encode(value));
}
}

Expand Down
6 changes: 3 additions & 3 deletions dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,12 +484,12 @@ System.register(['core-js'], function (_export) {
}

if (Array.isArray(value)) {
var arrayKey = '' + encodeKey(key) + '[]';
var arrayKey = encodeKey(key) + '[]';
for (var j = 0, l = value.length; j < l; j++) {
pairs.push('' + arrayKey + '=' + encode(value[j]));
pairs.push(arrayKey + '=' + encode(value[j]));
}
} else {
pairs.push('' + encodeKey(key) + '=' + encode(value));
pairs.push(encodeKey(key) + '=' + encode(value));
}
}

Expand Down
17 changes: 17 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## 0.6.0 (2015-07-02)


#### Bug Fixes

* **package:** update aurelia tools and dts generator ([1786cd45](http://github.com/aurelia/route-recognizer/commit/1786cd45b6bc867bae053d4ad7d4da058f8777fb))
* **tests:** correct import source ([dbb913c9](http://github.com/aurelia/route-recognizer/commit/dbb913c9b326b82a47fdab6f39dfc8e6b1ab5d82))


#### Features

* **all:** working on improving d.ts generation ([60b547a8](http://github.com/aurelia/route-recognizer/commit/60b547a885dafd2932e5d25a301f14b542151606))
* **build:**
* d.ts building from babel ([503776f6](http://github.com/aurelia/route-recognizer/commit/503776f6fd3ee970a93e558a92e956494993807e))
* initial work on dts generation ([3af59915](http://github.com/aurelia/route-recognizer/commit/3af599153e7a5e339990ff4cbff0149efe02ff5e))


## 0.5.0 (2015-06-08)


Expand Down
2 changes: 1 addition & 1 deletion doc/api.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"classes":[{"name":"RouteRecognizer","file":"aurelia/route-recognizer/src/index.js","line":10,"description":"Class that parses route patterns and matches path strings.","is_constructor":1,"methods":[{"line":22,"description":"Parse a route pattern and add it to the collection of recognized routes.","name":"add","params":[{"name":"route","description":"The route to add.","type":"Object"}]},{"line":80,"description":"Retrieve the handlers registered for the named route.","name":"handlersFor","params":[{"name":"name","description":"The name of the route.","type":"String"}],"return":{"description":"The handlers.","type":"Array"}},{"line":102,"description":"Check if this RouteRecognizer recognizes a named route.","name":"hasRoute","params":[{"name":"name","description":"The name of the route.","type":"String"}],"return":{"description":"True if the named route is recognized.","type":"Boolean"}},{"line":113,"description":"Generate a path and query string from a route name and params object.","name":"generate","params":[{"name":"name","description":"The name of the route.","type":"String"},{"name":"params","description":"The route params to use when populating the pattern.\n Properties not required by the pattern will be appended to the query string.","type":"Object"}],"return":{"description":"The generated absolute path and query string.","type":"String"}},{"line":164,"description":"Generate a query string from an object.","name":"generateQueryString","params":[{"name":"params","description":"Object containing the keys and values to be used.","type":"Object"}],"return":{"description":"The generated query string, including leading '?'.","type":"String"}},{"line":206,"description":"Parse a query string.","name":"parseQueryString","params":[{"name":"The","description":"query string to parse.","type":"String"}],"return":{"description":"Object with keys and values mapped from the query string.","type":"Object"}},{"line":255,"description":"Match a path string against registered route patterns.","name":"recognize","params":[{"name":"path","description":"The path to attempt to match.","type":"String"}],"return":{"description":"Array of objects containing `handler`, `params`, and\n `isDynanic` values for the matched route(s), or undefined if no match\n was found.","type":"Array"}}],"properties":[],"events":[]}],"methods":[],"properties":[],"events":[]}
{"classes":[{"name":"RouteRecognizer","file":"aurelia/route-recognizer/src/route-recognizer.js","line":10,"description":"Class that parses route patterns and matches path strings.","is_constructor":1,"methods":[{"line":22,"description":"Parse a route pattern and add it to the collection of recognized routes.","name":"add","params":[{"name":"route","description":"The route to add.","type":"Object"}]},{"line":80,"description":"Retrieve the handlers registered for the named route.","name":"handlersFor","params":[{"name":"name","description":"The name of the route.","type":"String"}],"return":{"description":"The handlers.","type":"Array"}},{"line":102,"description":"Check if this RouteRecognizer recognizes a named route.","name":"hasRoute","params":[{"name":"name","description":"The name of the route.","type":"String"}],"return":{"description":"True if the named route is recognized.","type":"Boolean"}},{"line":113,"description":"Generate a path and query string from a route name and params object.","name":"generate","params":[{"name":"name","description":"The name of the route.","type":"String"},{"name":"params","description":"The route params to use when populating the pattern.\n Properties not required by the pattern will be appended to the query string.","type":"Object"}],"return":{"description":"The generated absolute path and query string.","type":"String"}},{"line":164,"description":"Generate a query string from an object.","name":"generateQueryString","params":[{"name":"params","description":"Object containing the keys and values to be used.","type":"Object"}],"return":{"description":"The generated query string, including leading '?'.","type":"String"}},{"line":206,"description":"Parse a query string.","name":"parseQueryString","params":[{"name":"The","description":"query string to parse.","type":"String"}],"return":{"description":"Object with keys and values mapped from the query string.","type":"Object"}},{"line":255,"description":"Match a path string against registered route patterns.","name":"recognize","params":[{"name":"path","description":"The path to attempt to match.","type":"String"}],"return":{"description":"Array of objects containing `handler`, `params`, and\n `isDynanic` values for the matched route(s), or undefined if no match\n was found.","type":"Array"}}],"properties":[],"events":[]}],"methods":[],"properties":[],"events":[]}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-route-recognizer",
"version": "0.5.0",
"version": "0.6.0",
"description": "A lightweight JavaScript library that matches paths against registered routes. It includes support for dynamic and star segments and nested handlers.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit a99a825

Please sign in to comment.