![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package perl-Minion for openSUSE:Factory checked in at 2016-01-21 23:44:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2016-01-15 10:42:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Minion.new/perl-Minion.changes 2016-01-22 01:09:53.000000000 +0100 @@ -1,0 +2,11 @@ +Tue Jan 19 10:06:25 UTC 2016 - coolo@suse.com + +- updated to 4.03 + see /usr/share/doc/packages/perl-Minion/Changes + + 4.03 2016-01-17 + - Removed an unused index from Minion::Backend::Pg. + - Fixed a bug where the worker command would always watch the default queue. + (avkhozov) + +------------------------------------------------------------------- Old: ---- Minion-4.02.tar.gz New: ---- Minion-4.03.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Minion.spec ++++++ --- /var/tmp/diff_new_pack.lOMqg0/_old 2016-01-22 01:09:55.000000000 +0100 +++ /var/tmp/diff_new_pack.lOMqg0/_new 2016-01-22 01:09:55.000000000 +0100 @@ -17,7 +17,7 @@ Name: perl-Minion -Version: 4.02 +Version: 4.03 Release: 0 %define cpan_name Minion Summary: Job queue ++++++ Minion-4.02.tar.gz -> Minion-4.03.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-4.02/Changes new/Minion-4.03/Changes --- old/Minion-4.02/Changes 2016-01-03 01:02:56.000000000 +0100 +++ new/Minion-4.03/Changes 2016-01-17 17:52:03.000000000 +0100 @@ -1,4 +1,9 @@ +4.03 2016-01-17 + - Removed an unused index from Minion::Backend::Pg. + - Fixed a bug where the worker command would always watch the default queue. + (avkhozov) + 4.02 2016-01-03 - Updated links to Mojolicious website. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-4.02/META.json new/Minion-4.03/META.json --- old/Minion-4.02/META.json 2016-01-06 19:47:59.000000000 +0100 +++ new/Minion-4.03/META.json 2016-01-17 23:33:08.000000000 +0100 @@ -54,5 +54,5 @@ }, "x_IRC" : "irc://irc.perl.org/#mojo" }, - "version" : "4.02" + "version" : "4.03" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-4.02/META.yml new/Minion-4.03/META.yml --- old/Minion-4.02/META.yml 2016-01-06 19:47:59.000000000 +0100 +++ new/Minion-4.03/META.yml 2016-01-17 23:33:08.000000000 +0100 @@ -27,4 +27,4 @@ homepage: http://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/kraih/minion.git -version: '4.02' +version: '4.03' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-4.02/lib/Minion/Backend/Pg.pm new/Minion-4.03/lib/Minion/Backend/Pg.pm --- old/Minion-4.02/lib/Minion/Backend/Pg.pm 2016-01-03 01:01:58.000000000 +0100 +++ new/Minion-4.03/lib/Minion/Backend/Pg.pm 2016-01-17 23:30:50.000000000 +0100 @@ -724,3 +724,6 @@ -- 5 up alter table minion_jobs add column attempts int not null default 1; + +-- 6 up +drop index minion_jobs_state_idx; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-4.02/lib/Minion/Command/minion/job.pm new/Minion-4.03/lib/Minion/Command/minion/job.pm --- old/Minion-4.02/lib/Minion/Command/minion/job.pm 2016-01-03 01:02:07.000000000 +0100 +++ new/Minion-4.03/lib/Minion/Command/minion/job.pm 2016-01-13 19:11:03.000000000 +0100 @@ -127,8 +127,8 @@ -e, --enqueue <name> New job to be enqueued -h, --help Show this summary of available options --home <path> Path to home directory of your application, - defaults to the value of MOJO_HOME or auto - detection + defaults to the value of MOJO_HOME or + auto-detection -l, --limit <number> Number of jobs/workers to show when listing them, defaults to 100 -m, --mode <name> Operating mode for your application, defaults to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-4.02/lib/Minion/Command/minion/worker.pm new/Minion-4.03/lib/Minion/Command/minion/worker.pm --- old/Minion-4.02/lib/Minion/Command/minion/worker.pm 2016-01-03 01:02:12.000000000 +0100 +++ new/Minion-4.03/lib/Minion/Command/minion/worker.pm 2016-01-17 17:47:30.000000000 +0100 @@ -13,7 +13,8 @@ GetOptionsFromArray \@args, 'I|heartbeat-interval=i' => \($self->{interval} = 60), 'j|jobs=i' => \($self->{max} = 4), - 'q|queue=s' => ($self->{queues} = ['default']); + 'q|queue=s' => \my @queues; + $self->{queues} = @queues ? \@queues : ['default']; local $SIG{CHLD} = 'DEFAULT'; local $SIG{INT} = local $SIG{TERM} = sub { $self->{finished}++ }; @@ -77,7 +78,7 @@ -h, --help Show this summary of available options --home <path> Path to home directory of your application, defaults to the value of - MOJO_HOME or auto detection + MOJO_HOME or auto-detection -I, --heartbeat-interval <seconds> Heartbeat interval, defaults to 60 -j, --jobs <number> Number of jobs to perform concurrently, defaults to 4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-4.02/lib/Minion.pm new/Minion-4.03/lib/Minion.pm --- old/Minion-4.02/lib/Minion.pm 2016-01-03 01:01:48.000000000 +0100 +++ new/Minion-4.03/lib/Minion.pm 2016-01-06 19:48:29.000000000 +0100 @@ -16,7 +16,7 @@ has remove_after => 864000; has tasks => sub { {} }; -our $VERSION = '4.02'; +our $VERSION = '4.03'; sub add_task { ($_[0]->tasks->{$_[1]} = $_[2]) and return $_[0] }