Skip to content

Commit

Permalink
Release 0.5.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
abuiles committed Jun 30, 2015
1 parent 0fcf5d7 commit bab7302
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# ember-watson Changelog

### unreleased
### 0.5.6

Created `convert-resource-router-mapping` command fixes [#50](https://github.com/abuiles/ember-watson/issues/50).
Adds `convert-resource-router-mapping` which convert the deprecated
`this.resource('user')` to `this.route('user', {resetNamespace: true
})`. See [#50](https://github.com/abuiles/ember-watson/issues/50) for
more info.

### 0.5.5

Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ export default DS.Model.extend({

#### `ember watson:convert-resource-router-mapping <routerPath>`

It takes the router path, by default `app/router.js`, and convert the deprecated `this.resource('user')` to `this.route('user', { resetNamespace: true })`. Also works for nested resources.
Converts `this.resource('user')` to `this.route('user',
{resetNamespace: true })` in `app/router.js`.

Helps with the deprecation added added in
[ember.js/11517](https://github.com/emberjs/ember.js/pull/11517).



### Specifying a file or path.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-watson",
"version": "0.5.5",
"version": "0.5.6",
"description": "A young Ember Doctor to help you fix your code.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit bab7302

Please sign in to comment.