Release 1.0.3

This commit is contained in:
Jake Luer 2012-05-27 18:19:47 -04:00
parent 8c680682dc
commit 886e626e57
5 changed files with 18 additions and 10 deletions

View file

@ -1,4 +1,12 @@
1.0.3 / 2012-05-27
==================
* Point Travis badge to the right place.
* Make error message for eql/deep.equal more clear.
* Fix .not.deep.equal.
* contributors list
1.0.2 / 2012-05-26
==================

View file

@ -9,12 +9,12 @@ For more information or to download plugins, view the [documentation](http://cha
### Contributors
commits: 462
commits: 466
files : 44
authors:
339 Jake Luer 73.4%
66 Veselin Todorov 14.3%
31 Domenic Denicola 6.7%
340 Jake Luer 73.0%
66 Veselin Todorov 14.2%
34 Domenic Denicola 7.3%
5 Jo Liss 1.1%
5 Juliusz Gonera 1.1%
4 josher19 0.9%

View file

@ -567,7 +567,7 @@ Object.defineProperty(Assertion.prototype, 'arguments',
Assertion.prototype.equal = function (val) {
var obj = flag(this, 'object');
if (flag(this, 'deep')) {
new Assertion(obj).to.eql(val);
return this.eql(val);
} else {
this.assert(
val === obj
@ -595,8 +595,8 @@ Assertion.prototype.equal = function (val) {
Assertion.prototype.eql = function (obj) {
this.assert(
util.eql(obj, flag(this, 'object'))
, 'expected #{this} to equal #{exp}'
, 'expected #{this} to not equal #{exp}'
, 'expected #{this} to deeply equal #{exp}'
, 'expected #{this} to not deeply equal #{exp}'
, obj );
return this;
@ -1183,7 +1183,7 @@ var used = []
* Chai version
*/
exports.version = '1.0.2';
exports.version = '1.0.3';
/*!
* Primary `Assertion` prototype

View file

@ -11,7 +11,7 @@ var used = []
* Chai version
*/
exports.version = '1.0.2';
exports.version = '1.0.3';
/*!
* Primary `Assertion` prototype

View file

@ -11,7 +11,7 @@
"Veselin Todorov <hi@vesln.com>",
"John Firebaugh <john.firebaugh@gmail.com>"
],
"version": "1.0.2",
"version": "1.0.3",
"repository": {
"type": "git",
"url": "https://github.com/chaijs/chai"