commit nodejs-minimist for openSUSE:Factory

2015-07-02 Thread h_root
Hello community,

here is the log from the commit of package nodejs-minimist for openSUSE:Factory 
checked in at 2015-07-02 22:43:30

Comparing /work/SRC/openSUSE:Factory/nodejs-minimist (Old)
 and  /work/SRC/openSUSE:Factory/.nodejs-minimist.new (New)


Package is nodejs-minimist

Changes:

--- /work/SRC/openSUSE:Factory/nodejs-minimist/nodejs-minimist.changes  
2015-04-27 13:01:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-minimist.new/nodejs-minimist.changes 
2015-07-02 22:43:31.0 +0200
@@ -1,0 +2,10 @@
+Mon Jun 29 08:58:33 UTC 2015 - i...@marguerite.su
+
+- revert to 0.0.8 for mkdirp
+
+---
+Fri Jun  5 19:16:55 UTC 2015 - i...@marguerite.su
+
+- update version 1.1.1
+
+---

Old:

  minimist-1.1.0.tgz

New:

  minimist-0.0.8.tgz



Other differences:
--
++ nodejs-minimist.spec ++
--- /var/tmp/diff_new_pack.Brla2D/_old  2015-07-02 22:43:31.0 +0200
+++ /var/tmp/diff_new_pack.Brla2D/_new  2015-07-02 22:43:31.0 +0200
@@ -19,7 +19,7 @@
 %define base_name minimist
 
 Name:   nodejs-minimist
-Version:1.1.0
+Version:0.0.8
 Release:0
 Summary:Argument parsing
 License:MIT

++ minimist-1.1.0.tgz - minimist-0.0.8.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/package/index.js new/package/index.js
--- old/package/index.js2014-08-11 04:08:52.0 +0200
+++ new/package/index.js2014-02-21 05:46:01.0 +0100
@@ -1,19 +1,15 @@
 module.exports = function (args, opts) {
 if (!opts) opts = {};
 
-var flags = { bools : {}, strings : {}, unknownFn: null };
-
-if (typeof opts['unknown'] === 'function') {
-flags.unknownFn = opts['unknown'];
-}
-
-if (typeof opts['boolean'] === 'boolean'  opts['boolean']) {
-  flags.allBools = true;
-} else {
-  [].concat(opts['boolean']).filter(Boolean).forEach(function (key) {
-  flags.bools[key] = true;
-  });
-}
+var flags = { bools : {}, strings : {} };
+
+[].concat(opts['boolean']).filter(Boolean).forEach(function (key) {
+flags.bools[key] = true;
+});
+
+[].concat(opts.string).filter(Boolean).forEach(function (key) {
+flags.strings[key] = true;
+});
 
 var aliases = {};
 Object.keys(opts.alias || {}).forEach(function (key) {
@@ -24,14 +20,7 @@
 }));
 });
 });
-
-[].concat(opts.string).filter(Boolean).forEach(function (key) {
-flags.strings[key] = true;
-if (aliases[key]) {
-flags.strings[aliases[key]] = true;
-}
- });
-
+
 var defaults = opts['default'] || {};
 
 var argv = { _ : [] };
@@ -46,16 +35,7 @@
 args = args.slice(0, args.indexOf('--'));
 }
 
-function argDefined(key, arg) {
-return (flags.allBools  /^--[^=]+$/.test(arg)) ||
-flags.strings[key] || flags.bools[key] || aliases[key];
-}
-
-function setArg (key, val, arg) {
-if (arg  flags.unknownFn  !argDefined(key, arg)) {
-if (flags.unknownFn(arg) === false) return;
-}
-
+function setArg (key, val) {
 var value = !flags.strings[key]  isNumber(val)
 ? Number(val) : val
 ;
@@ -74,28 +54,27 @@
 // 'dotall' regex modifier. See:
 // http://stackoverflow.com/a/1068308/13216
 var m = arg.match(/^--([^=]+)=([\s\S]*)$/);
-setArg(m[1], m[2], arg);
+setArg(m[1], m[2]);
 }
 else if (/^--no-.+/.test(arg)) {
 var key = arg.match(/^--no-(.+)/)[1];
-setArg(key, false, arg);
+setArg(key, false);
 }
 else if (/^--.+/.test(arg)) {
 var key = arg.match(/^--(.+)/)[1];
 var next = args[i + 1];
 if (next !== undefined  !/^-/.test(next)
  !flags.bools[key]
- !flags.allBools
  (aliases[key] ? !flags.bools[aliases[key]] : true)) {
-setArg(key, next, arg);
+setArg(key, next);
 i++;
 }
 else if (/^(true|false)$/.test(next)) {
-setArg(key, next === 'true', arg);
+setArg(key, next === 'true');
 i++;
 }
 else {
-setArg(key, flags.strings[key] ? '' : true, arg);
+setArg(key, flags.strings[key] ? '' : true);
 }
 }
 else if (/^-[^-]+/.test(arg)) {
@@ -106,24 +85,24 @@
 var next = arg.slice(j+2);
   

commit nodejs-minimist for openSUSE:Factory

2015-04-27 Thread h_root
Hello community,

here is the log from the commit of package nodejs-minimist for openSUSE:Factory 
checked in at 2015-04-27 13:01:48

Comparing /work/SRC/openSUSE:Factory/nodejs-minimist (Old)
 and  /work/SRC/openSUSE:Factory/.nodejs-minimist.new (New)


Package is nodejs-minimist

Changes:

--- /work/SRC/openSUSE:Factory/nodejs-minimist/nodejs-minimist.changes  
2014-10-24 10:46:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-minimist.new/nodejs-minimist.changes 
2015-04-27 13:01:49.0 +0200
@@ -1,0 +2,5 @@
+Sat Apr  4 06:42:45 UTC 2015 - dmuel...@suse.com
+
+- enable building for all arches
+
+---



Other differences:
--
++ nodejs-minimist.spec ++
--- /var/tmp/diff_new_pack.a5kG1Q/_old  2015-04-27 13:01:49.0 +0200
+++ /var/tmp/diff_new_pack.a5kG1Q/_new  2015-04-27 13:01:49.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nodejs-minimist
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,6 @@
 BuildRequires:  nodejs-packaging
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
 
 %nodejs_find_provides_and_requires
 




commit nodejs-minimist for openSUSE:Factory

2014-10-24 Thread h_root
Hello community,

here is the log from the commit of package nodejs-minimist for openSUSE:Factory 
checked in at 2014-10-24 10:46:50

Comparing /work/SRC/openSUSE:Factory/nodejs-minimist (Old)
 and  /work/SRC/openSUSE:Factory/.nodejs-minimist.new (New)


Package is nodejs-minimist

Changes:

--- /work/SRC/openSUSE:Factory/nodejs-minimist/nodejs-minimist.changes  
2014-09-23 10:46:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-minimist.new/nodejs-minimist.changes 
2014-10-24 10:46:53.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct  9 15:08:20 UTC 2014 - jgleiss...@suse.com
+
+- use nodejs-packaging for building
+
+---



Other differences:
--
++ nodejs-minimist.spec ++
--- /var/tmp/diff_new_pack.WHaBi4/_old  2014-10-24 10:46:54.0 +0200
+++ /var/tmp/diff_new_pack.WHaBi4/_new  2014-10-24 10:46:54.0 +0200
@@ -15,21 +15,23 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define base_name minimist
 
 Name:nodejs-minimist
 Version: 1.1.0
 Release: 0
-License: MIT
 Summary: Argument parsing
-URL: https://github.com/substack/minimist
+License:MIT
 Group:   Development/Libraries/Other
+Url:https://github.com/substack/minimist
 Source:  
http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
-BuildRequires:   nodejs
-BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:  nodejs-packaging
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:   noarch
 ExclusiveArch:   %{ix86} x86_64 %{arm} noarch
-%{?nodejs_requires}
+
+%nodejs_find_provides_and_requires
 
 %description
 Parse argument options

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org