You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/06/27 00:21:53 UTC

git commit: reset VERSION file to "dev". tweak a test so it does not need to be incremented with every version bump.

Updated Branches:
  refs/heads/master2 7765eb884 -> 624f39b94


reset VERSION file to "dev". tweak a test so it does not need to be incremented with every version bump.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/624f39b9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/624f39b9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/624f39b9

Branch: refs/heads/master2
Commit: 624f39b94aa006fcd8f38fe3e31181b9779ae518
Parents: 7765eb8
Author: Fil Maj <ma...@gmail.com>
Authored: Wed Jun 26 15:21:49 2013 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Wed Jun 26 15:21:49 2013 -0700

----------------------------------------------------------------------
 VERSION               | 2 +-
 spec/platform.spec.js | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/624f39b9/VERSION
----------------------------------------------------------------------
diff --git a/VERSION b/VERSION
index 24ba9a3..38f8e88 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.7.0
+dev

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/624f39b9/spec/platform.spec.js
----------------------------------------------------------------------
diff --git a/spec/platform.spec.js b/spec/platform.spec.js
index 48bec1b..77980aa 100644
--- a/spec/platform.spec.js
+++ b/spec/platform.spec.js
@@ -125,10 +125,10 @@ describe('platform command', function() {
         describe('`add`', function() {
             it('should shell out to specified platform\'s bin/create, using the version that is specified in platforms manifest', function() {
                 cordova.platform('add', 'android');
-                expect(exec.mostRecentCall.args[0]).toMatch(/lib.android.cordova.2.8.1.bin.create/gi);
+                expect(exec.mostRecentCall.args[0]).toMatch(/lib.android.cordova.\d.\d.\d[\d\w]*.bin.create/gi);
                 expect(exec.mostRecentCall.args[0]).toContain(project_dir);
                 cordova.platform('add', 'wp8');
-                expect(exec.mostRecentCall.args[0]).toMatch(/lib.wp8.cordova.2.8.0.bin.create/gi);
+                expect(exec.mostRecentCall.args[0]).toMatch(/lib.wp8.cordova.\d.\d.\d[\d\w]*.bin.create/gi);
                 expect(exec.mostRecentCall.args[0]).toContain(project_dir);
             });
             it('should call into lazy_load.custom if there is a user-specified configruation for consuming custom libraries', function() {