Hello community, here is the log from the commit of package perl-Minion for openSUSE:Factory checked in at 2015-10-08 08:24:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Minion (Old) and /work/SRC/openSUSE:Factory/.perl-Minion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Minion" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Minion/perl-Minion.changes 2015-10-03 20:30:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Minion.new/perl-Minion.changes 2015-10-08 08:24:26.000000000 +0200 @@ -1,0 +2,9 @@ +Sun Oct 4 08:59:20 UTC 2015 - co...@suse.com + +- updated to 2.01 + see /usr/share/doc/packages/perl-Minion/Changes + + 2.01 2015-10-02 + - Fixed Windows portability issues in tests. + +------------------------------------------------------------------- Old: ---- Minion-2.0.tar.gz New: ---- Minion-2.01.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Minion.spec ++++++ --- /var/tmp/diff_new_pack.5D38kl/_old 2015-10-08 08:24:26.000000000 +0200 +++ /var/tmp/diff_new_pack.5D38kl/_new 2015-10-08 08:24:26.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Minion -Version: 2.0 +Version: 2.01 Release: 0 %define cpan_name Minion Summary: Job queue ++++++ Minion-2.0.tar.gz -> Minion-2.01.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.0/Changes new/Minion-2.01/Changes --- old/Minion-2.0/Changes 2015-10-01 14:13:16.000000000 +0200 +++ new/Minion-2.01/Changes 2015-10-02 16:32:39.000000000 +0200 @@ -1,4 +1,7 @@ +2.01 2015-10-02 + - Fixed Windows portability issues in tests. + 2.0 2015-10-01 - Removed -t option from worker command. - Added support for multiple named queues. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.0/META.json new/Minion-2.01/META.json --- old/Minion-2.0/META.json 2015-10-01 20:35:41.000000000 +0200 +++ new/Minion-2.01/META.json 2015-10-02 17:14:17.000000000 +0200 @@ -55,6 +55,6 @@ }, "x_IRC" : "irc://irc.perl.org/#mojo" }, - "version" : "2.0", + "version" : "2.01", "x_serialization_backend" : "JSON::PP version 2.27300" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.0/META.yml new/Minion-2.01/META.yml --- old/Minion-2.0/META.yml 2015-10-01 20:35:41.000000000 +0200 +++ new/Minion-2.01/META.yml 2015-10-02 17:14:16.000000000 +0200 @@ -28,5 +28,5 @@ homepage: http://mojolicio.us license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/kraih/minion.git -version: '2.0' +version: '2.01' x_serialization_backend: 'CPAN::Meta::YAML version 0.016' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.0/lib/Minion.pm new/Minion-2.01/lib/Minion.pm --- old/Minion-2.0/lib/Minion.pm 2015-10-01 17:09:40.000000000 +0200 +++ new/Minion-2.01/lib/Minion.pm 2015-10-02 07:45:27.000000000 +0200 @@ -15,7 +15,7 @@ has remove_after => 864000; has tasks => sub { {} }; -our $VERSION = '2.0'; +our $VERSION = '2.01'; sub add_task { ($_[0]->tasks->{$_[1]} = $_[2]) and return $_[0] } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.0/t/file.t new/Minion-2.01/t/file.t --- old/Minion-2.0/t/file.t 2015-10-01 14:15:55.000000000 +0200 +++ new/Minion-2.01/t/file.t 2015-10-02 17:10:58.000000000 +0200 @@ -108,7 +108,7 @@ my $before = time; $worker = $minion->worker->register; is $worker->dequeue(0.5), undef, 'no jobs yet'; -ok !!(($before + 0.5) <= time), 'waited for jobs'; +ok !!(($before + 0.4) <= time), 'waited for jobs'; $worker->unregister; # Stats @@ -372,7 +372,8 @@ # Queues $id = $minion->enqueue(add => [100, 1]); -$job = $worker->register->dequeue(0); +is $worker->register->dequeue(0 => {queues => ['test1']}), undef, 'wrong queue'; +$job = $worker->dequeue(0); is $job->id, $id, 'right id'; is $job->info->{queue}, 'default', 'right queue'; ok $job->finish, 'job finished'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.0/t/pg.t new/Minion-2.01/t/pg.t --- old/Minion-2.0/t/pg.t 2015-10-01 14:15:40.000000000 +0200 +++ new/Minion-2.01/t/pg.t 2015-10-02 17:10:58.000000000 +0200 @@ -130,7 +130,7 @@ my $before = time; $worker = $minion->worker->register; is $worker->dequeue(0.5), undef, 'no jobs yet'; -ok !!(($before + 0.5) <= time), 'waited for jobs'; +ok !!(($before + 0.4) <= time), 'waited for jobs'; $worker->unregister; # Stats @@ -355,7 +355,8 @@ # Queues $id = $minion->enqueue(add => [100, 1]); -$job = $worker->register->dequeue(0); +is $worker->register->dequeue(0 => {queues => ['test1']}), undef, 'wrong queue'; +$job = $worker->dequeue(0); is $job->id, $id, 'right id'; is $job->info->{queue}, 'default', 'right queue'; ok $job->finish, 'job finished';