Commit 215d4adb 215d4adbec7a8ec4cbe05a1d1e3150b91c7994ae by Nicolas Perriault

let's adopt a serious version numbering policy

1 parent 6bf3ecd1
......@@ -30,12 +30,18 @@
return;
}
// see http://semver.org/
phantom.casperVersion = {
major: 0,
minor: 4,
patch: 1,
patch: 2,
ident: 'trunk',
toString: function() {
return [this.major, this.minor, this.patch].join('.');
var version = [this.major, this.minor, this.patch].join('.');
if (this.ident) {
version = [version, this.ident].join('-');
}
return version;
}
};
......
{
"name": "casperjs",
"description": "Navigation scripting & testing utility for PhantomJS",
"version": "0.4.2",
"version": "0.4.2-trunk",
"keywords": [
"phantomjs",
"javascript"
......