Skip to content

Commit

Permalink
chore(all): prepare-release 0.2.6
Browse files Browse the repository at this point in the history
### 0.2.6 (2015-06-28)

#### Bug Fixes
* **jspm:** Fixes config.js fork issue ([20c3f5d](20c3f5d), closes [#63](#63))
* **validation-group:** clean up of path observer subscriptions on validation group destroy ([2187489](2187489))

#### Features

* **i18n:**
  * add resource for language bg-BG ([99fbbaa](99fbbaa))
  * add resource for language zh-CN ([299065d](299065d))
* **treatAllPropertiesAsMandatory:** now supports 'isMandatory' by default. ([4569968](4569968))
  • Loading branch information
janvanderhaegen committed Jun 28, 2015
1 parent a94c58d commit e88449e
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 19 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-validation",
"version": "0.2.5",
"version": "0.2.6",
"description": "A validation plugin for Aurelia.",
"keywords": [
"aurelia",
Expand Down
1 change: 0 additions & 1 deletion dist/amd/validation/validation-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ define(['exports', '../validation/validation-group-builder', '../validation/vali
}
promise = promise['catch'](function () {
console.log('Should never get here: a validation property should always resolve to true/false!');
debugger;
throw Error('Should never get here: a validation property should always resolve to true/false!');
});

Expand Down
1 change: 0 additions & 1 deletion dist/amd/validation/validation-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ define(['exports', '../validation/validation-rules-collection', '../validation/p
return validationResponse.isValid;
})['catch'](function (err) {
console.log('Unexpected behavior: a validation-rules-collection should always fulfil', err);
debugger;
throw Error('Unexpected behavior: a validation-rules-collection should always fulfil');
});
}, function () {
Expand Down
1 change: 0 additions & 1 deletion dist/amd/validation/validation-rules-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ define(['exports', '../validation/utilities', '../validation/validation-locale']
function ValidationRulesCollection(config) {
_classCallCheck(this, ValidationRulesCollection);

if (config) debugger;
this.isRequired = config ? config.getValue('allPropertiesAreMandatory') : false;
this.validationRules = [];
this.validationCollections = [];
Expand Down
1 change: 0 additions & 1 deletion dist/commonjs/validation/validation-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ var ValidationGroup = (function () {
}
promise = promise['catch'](function () {
console.log('Should never get here: a validation property should always resolve to true/false!');
debugger;
throw Error('Should never get here: a validation property should always resolve to true/false!');
});

Expand Down
1 change: 0 additions & 1 deletion dist/commonjs/validation/validation-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ var ValidationProperty = (function () {
return validationResponse.isValid;
})['catch'](function (err) {
console.log('Unexpected behavior: a validation-rules-collection should always fulfil', err);
debugger;
throw Error('Unexpected behavior: a validation-rules-collection should always fulfil');
});
}, function () {
Expand Down
1 change: 0 additions & 1 deletion dist/commonjs/validation/validation-rules-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ var ValidationRulesCollection = (function () {
function ValidationRulesCollection(config) {
_classCallCheck(this, ValidationRulesCollection);

if (config) debugger;
this.isRequired = config ? config.getValue('allPropertiesAreMandatory') : false;
this.validationRules = [];
this.validationCollections = [];
Expand Down
1 change: 0 additions & 1 deletion dist/es6/validation/validation-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export class ValidationGroup {
}
promise = promise.catch( () => {
console.log("Should never get here: a validation property should always resolve to true/false!");
debugger;
throw Error("Should never get here: a validation property should always resolve to true/false!");
});

Expand Down
1 change: 0 additions & 1 deletion dist/es6/validation/validation-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export class ValidationProperty {
})
.catch((err) => {
console.log("Unexpected behavior: a validation-rules-collection should always fulfil", err);
debugger;
throw Error("Unexpected behavior: a validation-rules-collection should always fulfil");
});
},
Expand Down
2 changes: 0 additions & 2 deletions dist/es6/validation/validation-rules-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import {ValidationLocale} from '../validation/validation-locale';

export class ValidationRulesCollection {
constructor(config) {
if(config)
debugger;
this.isRequired = config ? config.getValue('allPropertiesAreMandatory') : false;
this.validationRules = [];
this.validationCollections = [];
Expand Down
1 change: 0 additions & 1 deletion dist/system/validation/validation-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ System.register(['../validation/validation-group-builder', '../validation/valida
}
promise = promise['catch'](function () {
console.log('Should never get here: a validation property should always resolve to true/false!');
debugger;
throw Error('Should never get here: a validation property should always resolve to true/false!');
});

Expand Down
1 change: 0 additions & 1 deletion dist/system/validation/validation-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ System.register(['../validation/validation-rules-collection', '../validation/pat
return validationResponse.isValid;
})['catch'](function (err) {
console.log('Unexpected behavior: a validation-rules-collection should always fulfil', err);
debugger;
throw Error('Unexpected behavior: a validation-rules-collection should always fulfil');
});
}, function () {
Expand Down
1 change: 0 additions & 1 deletion dist/system/validation/validation-rules-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ System.register(['../validation/utilities', '../validation/validation-locale'],
function ValidationRulesCollection(config) {
_classCallCheck(this, ValidationRulesCollection);

if (config) debugger;
this.isRequired = config ? config.getValue('allPropertiesAreMandatory') : false;
this.validationRules = [];
this.validationCollections = [];
Expand Down
14 changes: 14 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
### 0.2.6 (2015-06-28)


#### Bug Fixes
* **jspm:** Fixes config.js fork issue ([20c3f5d0](https://github.com/aurelia/validation/commit/20c3f5d0519e163d8baa8ec094e0ea01bca12deb), closes [#63](https://github.com/aurelia/validation/issues/63))
* **validation-group:** clean up of path observer subscriptions on validation group destroy ([2187489a](https://github.com/aurelia/validation/commit/2187489aae24c4b714addb2d1d29e4b81c649b6f))

#### Features

* **i18n:**
* add resource for language bg-BG ([99fbbaa8](https://github.com/aurelia/validation/commit/99fbbaa8d3d79e16f6800daaa59a807daff6e828))
* add resource for language zh-CN ([299065d2](https://github.com/aurelia/validation/commit/299065d2dc7eab52b5c83209198105051c988554))
* **treatAllPropertiesAsMandatory:** now supports 'isMandatory' by default. ([45699688](https://github.com/aurelia/validation/commit/45699688040e38f3fd09ac3857c8edb7428bf521))

### 0.2.5 (2015-06-10)


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": "aurelia-validation",
"version": "0.2.5",
"version": "0.2.6",
"description": "A validation plugin for Aurelia.",
"keywords": [
"aurelia",
Expand Down
1 change: 0 additions & 1 deletion src/validation/validation-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export class ValidationGroup {
}
promise = promise.catch( () => {
console.log("Should never get here: a validation property should always resolve to true/false!");
debugger;
throw Error("Should never get here: a validation property should always resolve to true/false!");
});

Expand Down
1 change: 0 additions & 1 deletion src/validation/validation-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export class ValidationProperty {
})
.catch((err) => {
console.log("Unexpected behavior: a validation-rules-collection should always fulfil", err);
debugger;
throw Error("Unexpected behavior: a validation-rules-collection should always fulfil");
});
},
Expand Down
2 changes: 0 additions & 2 deletions src/validation/validation-rules-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import {ValidationLocale} from '../validation/validation-locale';

export class ValidationRulesCollection {
constructor(config) {
if(config)
debugger;
this.isRequired = config ? config.getValue('allPropertiesAreMandatory') : false;
this.validationRules = [];
this.validationCollections = [];
Expand Down

0 comments on commit e88449e

Please sign in to comment.