Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Jul 24, 2015
1 parent aa99490 commit d125cc1
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 7 deletions.
7 changes: 7 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### Note

As of 0.6.0, the History.md file has been deprecated. [Please refer to the full
commit logs available on GitHub](https://github.com/chaijs/chai-spies/commits/master).

---

0.6.0 / 2015-04-24
==================

Expand Down
5 changes: 5 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes

## Note

As of 0.6.0, the ReleaseNotes.md file has been deprecated. [Please refer to the release notes available on Github](https://github.com/chaijs/chai-spies/releases).
---

## 0.6.0 / 2015-04-24

Added `.spy.on` and `.spy.object` to easily make new spies, for example:
Expand Down
20 changes: 15 additions & 5 deletions chai-spies.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,23 @@
s += " }";
return s;
};
proxy.__spy = {

/**
* # proxy.reset (function)
*
* Resets __spy object parameters for instantiation and reuse
* @returns proxy spy object
*/
proxy.reset = function() {
this.__spy = {
calls: []
, called: false
, name: name
};
, called: false
, name: name
};
return this;
}

return proxy;
return proxy.reset();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "chai-spies",
"repo": "chaijs/chai-spies",
"version": "0.6.0",
"version": "0.7.0",
"description": "Spies for the Chai assertion library.",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Jake Luer <jake@alogicalparadox.com> (http://alogicalparadox.com)",
"name": "chai-spies",
"description": "Spies for the Chai assertion library.",
"version": "0.6.0",
"version": "0.7.0",
"repository": {
"type": "git",
"url": "git://github.com/logicalparadox/chai-spies.git"
Expand Down

0 comments on commit d125cc1

Please sign in to comment.