commit nodejs-inflight for openSUSE:Factory

2015-04-27 Thread h_root
Hello community,

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

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


Package is nodejs-inflight

Changes:

--- /work/SRC/openSUSE:Factory/nodejs-inflight/nodejs-inflight.changes  
2014-10-24 10:47:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-inflight.new/nodejs-inflight.changes 
2015-04-27 13:01:23.0 +0200
@@ -1,0 +2,5 @@
+Sat Apr  4 06:40:38 UTC 2015 - dmuel...@suse.com
+
+- enable building for all arches
+
+---



Other differences:
--
++ nodejs-inflight.spec ++
--- /var/tmp/diff_new_pack.59kory/_old  2015-04-27 13:01:24.0 +0200
+++ /var/tmp/diff_new_pack.59kory/_new  2015-04-27 13:01:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nodejs-inflight
 #
-# 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-inflight for openSUSE:Factory

2014-10-24 Thread h_root
Hello community,

here is the log from the commit of package nodejs-inflight for openSUSE:Factory 
checked in at 2014-10-24 10:47:41

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


Package is nodejs-inflight

Changes:

--- /work/SRC/openSUSE:Factory/nodejs-inflight/nodejs-inflight.changes  
2014-09-23 10:46:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-inflight.new/nodejs-inflight.changes 
2014-10-24 10:47:44.0 +0200
@@ -1,0 +2,10 @@
+Fri Oct 10 15:02:35 UTC 2014 - jgleiss...@suse.com
+
+- update to version 1.0.4
+
+---
+Thu Oct  9 15:08:13 UTC 2014 - jgleiss...@suse.com
+
+- use nodejs-packaging for building
+
+---

Old:

  inflight-1.0.2.tgz

New:

  inflight-1.0.4.tgz



Other differences:
--
++ nodejs-inflight.spec ++
--- /var/tmp/diff_new_pack.pQ2dON/_old  2014-10-24 10:47:45.0 +0200
+++ /var/tmp/diff_new_pack.pQ2dON/_new  2014-10-24 10:47:45.0 +0200
@@ -19,20 +19,19 @@
 %define base_name inflight
 
 Name:   nodejs-inflight
-Version:1.0.2
+Version:1.0.4
 Release:0
 Summary:Node.js inflight
 License:ISC
 Group:  Development/Languages/Other
 Url:https://github.com/isaacs/inflight
 Source: 
http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
-Requires:   nodejs-once
-Requires:  nodejs-wrappy
-BuildRequires:  nodejs
+BuildRequires:  nodejs-packaging
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
-%{?nodejs_requires}
+
+%nodejs_find_provides_and_requires
 
 %description
 Add callbacks to requests in flight to avoid async duplication 

++ inflight-1.0.2.tgz - inflight-1.0.4.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/package/.eslintrc new/package/.eslintrc
--- old/package/.eslintrc   1970-01-01 01:00:00.0 +0100
+++ new/package/.eslintrc   2014-10-03 08:40:51.0 +0200
@@ -0,0 +1,17 @@
+{
+  env : {
+node : true
+  },
+  rules : {
+semi: [2, never],
+strict: 0,
+quotes: [1, single, avoid-escape],
+no-use-before-define: 0,
+curly: 0,
+no-underscore-dangle: 0,
+no-lonely-if: 1,
+no-unused-vars: [2, {vars : all, args : after-used}],
+no-mixed-requires: 0,
+space-infix-ops: 0
+  }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/package/inflight.js new/package/inflight.js
--- old/package/inflight.js 2014-09-19 01:08:37.0 +0200
+++ new/package/inflight.js 2014-10-03 08:47:10.0 +0200
@@ -14,12 +14,31 @@
   }
 }
 
-function makeres(key) {
-  return once(function(error,  data) {
+function makeres (key) {
+  return once(function RES () {
 var cbs = reqs[key]
-delete reqs[key]
-cbs.forEach(function(cb) {
-  cb(error, data)
-})
+var len = cbs.length
+var args = slice(arguments)
+for (var i = 0; i  len; i++) {
+  cbs[i].apply(null, args)
+}
+if (cbs.length  len) {
+  // added more in the interim.
+  // de-zalgo, just in case, but don't call again.
+  cbs.splice(0, len)
+  process.nextTick(function () {
+RES.apply(null, args)
+  })
+} else {
+  delete reqs[key]
+}
   })
 }
+
+function slice (args) {
+  var length = args.length
+  var array = []
+
+  for (var i = 0; i  length; i++) array[i] = args[i]
+  return array
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json2014-09-19 01:09:27.0 +0200
+++ new/package/package.json2014-10-03 08:49:19.0 +0200
@@ -1,6 +1,6 @@
 {
   name: inflight,
-  version: 1.0.2,
+  version: 1.0.4,
   description: Add callbacks to requests in flight to avoid async 
duplication,
   main: inflight.js,
   dependencies: {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/package/test.js new/package/test.js
--- old/package/test.js 2014-05-05 04:56:11.0 +0200
+++ new/package/test.js 2014-10-03 08:46:35.0 +0200
@@ -31,3 +31,67 @@
 
   t.notOk(b, 'second should get falsey inflight response')
 })
+
+test('timing', function (t) {
+  var expect = [
+'method one',
+'start one',
+'end one',
+'two',
+'tick',
+'three'
+  ]
+  var i = 0
+
+  function log (m) {
+t.equal(m, expect[i], m + ' === ' + expect[i])
+++i
+if (i === 

commit nodejs-inflight for openSUSE:Factory

2014-09-23 Thread h_root
Hello community,

here is the log from the commit of package nodejs-inflight for openSUSE:Factory 
checked in at 2014-09-23 10:46:18

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


Package is nodejs-inflight

Changes:

New Changes file:

--- /dev/null   2014-07-24 01:57:42.080040256 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-inflight.new/nodejs-inflight.changes 
2014-09-23 10:46:20.0 +0200
@@ -0,0 +1,10 @@
+---
+Sun Sep 21 14:38:52 UTC 2014 - i...@marguerite.su
+
+- update version 1.0.2
+
+---
+Mon Aug 18 12:35:15 UTC 2014 - jgleiss...@suse.com
+
+- Initial build
+

New:

  inflight-1.0.2.tgz
  nodejs-inflight.changes
  nodejs-inflight.spec



Other differences:
--
++ nodejs-inflight.spec ++
#
# spec file for package nodejs-inflight
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define base_name inflight

Name:   nodejs-inflight
Version:1.0.2
Release:0
Summary:Node.js inflight
License:ISC
Group:  Development/Languages/Other
Url:https://github.com/isaacs/inflight
Source: 
http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
Requires:   nodejs-once
Requires:   nodejs-wrappy
BuildRequires:  nodejs
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch
ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
%{?nodejs_requires}

%description
Add callbacks to requests in flight to avoid async duplication 

%prep
%setup -q -n package

%build

%install
mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
cp -pr package.json inflight.js \
%{buildroot}%{nodejs_modulesdir}/%{base_name}/

%files
%defattr(-,root,root,-)
%doc README.md LICENSE
%{nodejs_modulesdir}/%{base_name}

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