You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/03/31 16:08:08 UTC

android commit: Fix lint errors breaking travis CI

Repository: cordova-android
Updated Branches:
  refs/heads/master d96d49329 -> b8f2b8948


Fix lint errors breaking travis CI


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

Branch: refs/heads/master
Commit: b8f2b8948feb8bb38d05e1c3788077a229b69d32
Parents: d96d493
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Mar 31 10:07:27 2015 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Mar 31 10:07:27 2015 -0400

----------------------------------------------------------------------
 package.json        | 60 ++++++++++++++++++++++++------------------------
 spec/create.spec.js | 10 ++++----
 2 files changed, 35 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/b8f2b894/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 39741d2..da20627 100644
--- a/package.json
+++ b/package.json
@@ -1,32 +1,32 @@
 {
-    "name": "cordova-android",
-    "version": "4.0.0-dev",
-    "description": "cordova-android release",
-    "main": "bin/create",
-    "repository": {
-        "type": "git",
-        "url": "https://git-wip-us.apache.org/repos/asf/cordova-android.git"
-    },
-    "keywords": [
-        "android",
-        "cordova",
-        "apache"
-    ],
-    "scripts": {
-        "test": "npm run jshint && jasmine-node --color spec",
-        "test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\"",
-        "jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint spec"
-    },
-    "author": "Apache Software Foundation",
-    "license": "Apache version 2.0",
-    "dependencies": {
-        "q": "^0.9.0",
-        "shelljs": "^0.2.6",
-        "which": "^1.0.5"
-    },
-    "devDependencies": {
-        "jasmine-node": "~1",
-        "jshint": "^2.6.0",
-        "promise-matchers": "~0"
-    }
+  "name": "cordova-android",
+  "version": "4.0.0-dev",
+  "description": "cordova-android release",
+  "main": "bin/create",
+  "repository": {
+    "type": "git",
+    "url": "https://git-wip-us.apache.org/repos/asf/cordova-android.git"
+  },
+  "keywords": [
+    "android",
+    "cordova",
+    "apache"
+  ],
+  "scripts": {
+    "test": "npm run jshint && jasmine-node --color spec",
+    "test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\"",
+    "jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint spec"
+  },
+  "author": "Apache Software Foundation",
+  "license": "Apache version 2.0",
+  "dependencies": {
+    "q": "^0.9.0",
+    "shelljs": "^0.2.6",
+    "which": "^1.0.5"
+  },
+  "devDependencies": {
+    "jasmine-node": "^1.14.5",
+    "jshint": "^2.6.0",
+    "promise-matchers": "~0"
+  }
 }

http://git-wip-us.apache.org/repos/asf/cordova-android/blob/b8f2b894/spec/create.spec.js
----------------------------------------------------------------------
diff --git a/spec/create.spec.js b/spec/create.spec.js
index 8385fc2..840c4f1 100644
--- a/spec/create.spec.js
+++ b/spec/create.spec.js
@@ -27,8 +27,8 @@ describe("create", function () {
     var valid = [
         "org.apache.mobilespec"
       , "com.example"
-      , "com.floors42.package",
-      , "ball8.ball8.ball8ball",
+      , "com.floors42.package"
+      , "ball8.ball8.ball8ball"
     ];
     var invalid = [
         ""
@@ -41,9 +41,9 @@ describe("create", function () {
       , "_underscore.anything"
       , "underscore._something"
       , "_underscore._all._the._things"
-      , "8.ball",
-      , "8ball.ball",
-      , "ball8.8ball",
+      , "8.ball"
+      , "8ball.ball"
+      , "ball8.8ball"
       , "ball8.com.8ball"
     ];
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org