cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject git commit: Revert "Merge branch 'tizen' of https://github.com/gabrielschulhof/cordova-plugman"
Date Tue, 18 Feb 2014 20:11:48 GMT
Repository: cordova-plugman
Updated Branches:
  refs/heads/master 16e7f8a0b -> d082830b9


Revert "Merge branch 'tizen' of https://github.com/gabrielschulhof/cordova-plugman"

This reverts commit 4eb4d2dc169840bdb55c13971f53acf8014ff6e8, reversing
changes made to ce8c421481ff04e87eaf81442e9504b6358c13c3.


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

Branch: refs/heads/master
Commit: d082830b97f3e37181fb18e5551a67ef8cbf478b
Parents: 16e7f8a
Author: Anis Kadri <anis@apache.org>
Authored: Tue Feb 18 12:11:10 2014 -0800
Committer: Anis Kadri <anis@apache.org>
Committed: Tue Feb 18 12:11:10 2014 -0800

----------------------------------------------------------------------
 README.md                                    |  1 -
 package.json                                 |  1 -
 spec/platforms/tizen.spec.js                 | 54 -----------------------
 spec/plugins/DummyPlugin/plugin.xml          |  5 ---
 spec/plugins/DummyPlugin/src/tizen/dummer.js |  0
 spec/projects/tizen/www/config.xml           |  2 -
 src/platforms.js                             |  3 +-
 src/platforms/tizen.js                       | 14 ------
 8 files changed, 1 insertion(+), 79 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 7ac71d5..62f7596 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,6 @@ You must have `git` on your PATH to be able to install plugins directly
from rem
 * BlackBerry 10
 * Windows Phone (7+8)
 * Windows 8
-* Tizen
 
 ## Command Line Usage
     plugman help

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 55198d1..84c862f 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,6 @@
     "request": "2.22.0"
   },
   "devDependencies": {
-    "temp": "0.6.x",
     "jasmine-node": "1.7.0",
     "osenv": "0.0.x"
   },

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/spec/platforms/tizen.spec.js
----------------------------------------------------------------------
diff --git a/spec/platforms/tizen.spec.js b/spec/platforms/tizen.spec.js
deleted file mode 100644
index 372e4d3..0000000
--- a/spec/platforms/tizen.spec.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- *
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
-*/
-var tizen = require('../../src/platforms/tizen'),
-	common = require('../../src/platforms/common'),
-	temp = require('temp'),
-	os = require('osenv'),
-	fs = require('fs'),
-	et = require('elementtree'),
-	path = require('path'),
-	tizen_project = path.join(__dirname, '..', 'projects', 'tizen'),
-	destination = temp.path(),
-	shell = require('shelljs'),
-	dummyPluginPath = path.join(__dirname, '..', 'plugins', 'DummyPlugin'),
-	dummyPlugin = et.XML(fs.readFileSync(
-		path.join(dummyPluginPath, 'plugin.xml'), {encoding: "utf-8"})),
-	dummySources = dummyPlugin
-		.find('./platform[@name="tizen"]')
-		.findall('./source-file');
-
-describe('Tizen project handler', function() {
-	describe('www_dir method', function() {
-		it('should append www to the directory passed in', function() {
-			expect(tizen.www_dir(path.sep)).toEqual(path.join(path.sep, 'www'));
-		});
-	});
-	describe('Manipulating project files', function() {
-		beforeEach(function() {
-			shell.cp('-rf', path.join(tizen_project, '*'), destination);
-		});
-		afterEach(function() {
-			shell.rm('-rf', destination);
-		});
-		describe('package_name method', function() {
-			it('should return the id of the config.xml root element', function() {
-				expect(tizen.package_name(destination)).toEqual("TizenTestPackage");
-			});
-		});
-	});
-});

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/spec/plugins/DummyPlugin/plugin.xml
----------------------------------------------------------------------
diff --git a/spec/plugins/DummyPlugin/plugin.xml b/spec/plugins/DummyPlugin/plugin.xml
index bc71119..92a8151 100644
--- a/spec/plugins/DummyPlugin/plugin.xml
+++ b/spec/plugins/DummyPlugin/plugin.xml
@@ -161,11 +161,6 @@
         </js-module>
     </platform>
 
-		<!-- tizen -->
-		<platform name="tizen">
-			<source-file src="src/tizen/dummer.js"/>
-		</platform>
-
     <!-- windows8 -->
     <platform name="windows8">
         <config-file target="config.xml" parent="/*">

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/spec/plugins/DummyPlugin/src/tizen/dummer.js
----------------------------------------------------------------------
diff --git a/spec/plugins/DummyPlugin/src/tizen/dummer.js b/spec/plugins/DummyPlugin/src/tizen/dummer.js
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/spec/projects/tizen/www/config.xml
----------------------------------------------------------------------
diff --git a/spec/projects/tizen/www/config.xml b/spec/projects/tizen/www/config.xml
deleted file mode 100644
index 788f6d4..0000000
--- a/spec/projects/tizen/www/config.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<widget id="TizenTestPackage"></widget>

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/src/platforms.js
----------------------------------------------------------------------
diff --git a/src/platforms.js b/src/platforms.js
index a2ad634..0cb3bcf 100644
--- a/src/platforms.js
+++ b/src/platforms.js
@@ -7,6 +7,5 @@ module.exports = {
     'wp8': require('./platforms/wp8'),
     'windows8' : require('./platforms/windows8'),
     'firefoxos': require('./platforms/firefoxos'),
-    'ubuntu': require('./platforms/ubuntu'),
-    'tizen': require('./platforms/tizen')
+    'ubuntu': require('./platforms/ubuntu')
 };

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d082830b/src/platforms/tizen.js
----------------------------------------------------------------------
diff --git a/src/platforms/tizen.js b/src/platforms/tizen.js
deleted file mode 100644
index d411709..0000000
--- a/src/platforms/tizen.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var path = require('path')
-    , xml_helpers = require('../util/xml-helpers')
-    , common = require('./common');
-
-module.exports = {
-    www_dir: function(project_dir) {
-        return path.join(project_dir, 'www');
-    },
-    package_name:function(project_dir) {
-        var config_path = path.join(module.exports.www_dir(project_dir), 'config.xml');
-        var widget_doc = xml_helpers.parseElementtreeSync(config_path);
-        return widget_doc._root.attrib['id'];
-    }
-};


Mime
View raw message