You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/11/12 01:59:34 UTC

[1/2] cordova-lib git commit: CB-7079 Allow special characters and digits in id when publishing to plugins registry

Repository: cordova-lib
Updated Branches:
  refs/heads/master bb723460d -> 6ae16c9a9


CB-7079 Allow special characters and digits in id when publishing to plugins registry


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

Branch: refs/heads/master
Commit: 89924ae872c2877180dc3522228c0306ef369ed5
Parents: bb72346
Author: Steve Gill <st...@gmail.com>
Authored: Tue Nov 11 16:57:52 2014 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Nov 11 16:57:52 2014 -0800

----------------------------------------------------------------------
 cordova-lib/src/plugman/registry/manifest.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/89924ae8/cordova-lib/src/plugman/registry/manifest.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/registry/manifest.js b/cordova-lib/src/plugman/registry/manifest.js
index 4496f34..13abe17 100644
--- a/cordova-lib/src/plugman/registry/manifest.js
+++ b/cordova-lib/src/plugman/registry/manifest.js
@@ -28,7 +28,7 @@ var xml_helpers = require('../../util/xml-helpers'),
     whitelist = require('./whitelist');
 
 function validateName(name) {
-    if (!name.match(/^(\w+\.){2,}.*$/)) {
+    if (!name.match(/^(\S+\.){2,}.*$/)) {
         throw new Error('Invalid plugin ID. It has to follow the reverse domain `com.domain.plugin` format');
     }
 


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


[2/2] cordova-lib git commit: updated release notes

Posted by st...@apache.org.
updated release notes


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

Branch: refs/heads/master
Commit: 6ae16c9a9b38c06f334997ff82b39cd0256a2ea6
Parents: 89924ae
Author: Steve Gill <st...@gmail.com>
Authored: Tue Nov 11 16:59:25 2014 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Nov 11 16:59:25 2014 -0800

----------------------------------------------------------------------
 cordova-lib/RELEASENOTES.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/6ae16c9a/cordova-lib/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/cordova-lib/RELEASENOTES.md b/cordova-lib/RELEASENOTES.md
index 53f23ca..c561939 100644
--- a/cordova-lib/RELEASENOTES.md
+++ b/cordova-lib/RELEASENOTES.md
@@ -21,6 +21,7 @@
 # Cordova-lib Release Notes
 
 ### 4.1.1 (Nov 11, 2014)
+* CB-7079 Allow special characters and digits in id when publishing to plugins registry
 * CB-7988: Update platform versions for iOS, wp8 & Windows to 3.7.0
 * CB-7846 Fix plugin deletion when dependency plugin does not exist
 * CB-6992 Fix build issue on iOS when app name contains accented characters


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