Commit 215d4adb 215d4adbec7a8ec4cbe05a1d1e3150b91c7994ae by Nicolas Perriault

let's adopt a serious version numbering policy

1 parent 6bf3ecd1
...@@ -30,12 +30,18 @@ ...@@ -30,12 +30,18 @@
30 return; 30 return;
31 } 31 }
32 32
33 // see http://semver.org/
33 phantom.casperVersion = { 34 phantom.casperVersion = {
34 major: 0, 35 major: 0,
35 minor: 4, 36 minor: 4,
36 patch: 1, 37 patch: 2,
38 ident: 'trunk',
37 toString: function() { 39 toString: function() {
38 return [this.major, this.minor, this.patch].join('.'); 40 var version = [this.major, this.minor, this.patch].join('.');
41 if (this.ident) {
42 version = [version, this.ident].join('-');
43 }
44 return version;
39 } 45 }
40 }; 46 };
41 47
......
1 { 1 {
2 "name": "casperjs", 2 "name": "casperjs",
3 "description": "Navigation scripting & testing utility for PhantomJS", 3 "description": "Navigation scripting & testing utility for PhantomJS",
4 "version": "0.4.2", 4 "version": "0.4.2-trunk",
5 "keywords": [ 5 "keywords": [
6 "phantomjs", 6 "phantomjs",
7 "javascript" 7 "javascript"
......