Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit b403910
Author: Dylan Foster <dylan947@gmail.com>
Date:   Sat Apr 8 16:23:31 2017 -0700

    chore(docs): update docs

commit 2ddd1d6
Author: Dylan Foster <dylan947@gmail.com>
Date:   Sat Apr 8 16:21:27 2017 -0700

    docs(CHANGELOG): bump version

commit 708b5aa
Author: Dylan Foster <dylan947@gmail.com>
Date:   Sat Apr 8 16:21:26 2017 -0700

    chore(package): bump version

commit c5f744a
Author: Dylan Foster <dylan947@gmail.com>
Date:   Sat Apr 8 16:21:12 2017 -0700

    chore(docs): update yuidoc version

commit 82fdf09
Author: Dylan Foster <dylan947@gmail.com>
Date:   Sat Apr 8 16:20:35 2017 -0700

    fix(query): update error message to not be hardcoded

    commit e340dd5
    Author: Dylan Foster <dylan947@gmail.com>
    Date:   Sat Apr 8 16:16:56 2017 -0700

        fix(query): update error message to not be hardcoded

commit e884ec8
Merge: 5eb1084 7851d25
Author: Dylan Foster <dylan947@gmail.com>
Date:   Sun Apr 2 10:39:18 2017 -0700

    Merge tag '0.0.1' into develop

    Release 0.0.1
  • Loading branch information
dylanfoster committed Apr 8, 2017
1 parent c34326b commit 9406be4
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
<a name="0.0.2"></a>
## [0.0.2](https://github.com/parch-js/orm/compare/0.0.1...0.0.2) (2017-04-08)


### Bug Fixes

* **query:** update error message to not be hardcoded ([82fdf09](https://github.com/parch-js/orm/commit/82fdf09))



<a name="0.0.1"></a>
## 0.0.1 (2017-04-02)
2 changes: 1 addition & 1 deletion docs/classes/ORM.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1 class="brand" style="padding: 10px 16px 10px; height: 20px; line-height: 20p
<li class="divider-vertical"></li>
<li>
<p class="navbar-text">
API Docs for Version: <b>0.0.1</b>
API Docs for Version: <b>0.0.2</b>
</p>
</li>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"project": {
"name": "@parch-js/orm",
"url": "https://github.com/parch-js/orm",
"version": "0.0.1",
"version": "0.0.2",
"description": "ORM for parch providing record DSL"
},
"files": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1 class="brand" style="padding: 10px 16px 10px; height: 20px; line-height: 20p
<li class="divider-vertical"></li>
<li>
<p class="navbar-text">
API Docs for Version: <b>0.0.1</b>
API Docs for Version: <b>0.0.2</b>
</p>
</li>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/files/src_orm.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1 class="brand" style="padding: 10px 16px 10px; height: 20px; line-height: 20p
<li class="divider-vertical"></li>
<li>
<p class="navbar-text">
API Docs for Version: <b>0.0.1</b>
API Docs for Version: <b>0.0.2</b>
</p>
</li>
</div>
Expand Down Expand Up @@ -228,7 +228,7 @@ <h1>src/orm.js <small>File</small></h1>
return model.findOne(modelQuery).then(record =&gt; {
if (!record) {
const NotFound = errors.NotFoundError;
const message = &quot;user does not exist&quot;;
const message = &#x60;${modelName} does not exist&#x60;;

throw new NotFound(message);
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1 class="brand" style="padding: 10px 16px 10px; height: 20px; line-height: 20p
<li class="divider-vertical"></li>
<li>
<p class="navbar-text">
API Docs for Version: <b>0.0.1</b>
API Docs for Version: <b>0.0.2</b>
</p>
</li>
</div>
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": "@parch-js/orm",
"version": "0.0.1",
"version": "0.0.2",
"description": "ORM for parch providing record DSL",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/orm.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default class ORM {
return model.findOne(modelQuery).then(record => {
if (!record) {
const NotFound = errors.NotFoundError;
const message = "user does not exist";
const message = `${modelName} does not exist`;

throw new NotFound(message);
}
Expand Down
2 changes: 1 addition & 1 deletion yuidoc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@parch-js/orm",
"url": "https://github.com/parch-js/orm",
"version": "0.0.1",
"version": "0.0.2",
"options": {
"exclude": "lib",
"helpers": ["node_modules/yuidoc-lucid-theme/helpers/helpers.js"],
Expand Down

0 comments on commit 9406be4

Please sign in to comment.