Hello community,

here is the log from the commit of package perl-Mojolicious-Plugin-Status for 
openSUSE:Factory checked in at 2020-06-03 20:33:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-Status (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-Status.new.3606 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Mojolicious-Plugin-Status"

Wed Jun  3 20:33:02 2020 rev:8 rq:810840 version:1.11

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-Status/perl-Mojolicious-Plugin-Status.changes
    2020-05-28 09:18:38.537134412 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-Status.new.3606/perl-Mojolicious-Plugin-Status.changes
  2020-06-03 20:33:26.373345083 +0200
@@ -1,0 +2,10 @@
+Mon Jun  1 03:16:34 UTC 2020 - Tina Müller <timueller+p...@suse.de>
+
+updated to 1.11
+   see /usr/share/doc/packages/perl-Mojolicious-Plugin-Status/Changes
+
+  1.11  2020-05-30
+    - Improved .perltidyrc with more modern settings.
+  
+
+-------------------------------------------------------------------

Old:
----
  Mojolicious-Plugin-Status-1.10.tar.gz

New:
----
  Mojolicious-Plugin-Status-1.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Mojolicious-Plugin-Status.spec ++++++
--- /var/tmp/diff_new_pack.9WdnAs/_old  2020-06-03 20:33:27.641349057 +0200
+++ /var/tmp/diff_new_pack.9WdnAs/_new  2020-06-03 20:33:27.641349057 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Mojolicious-Plugin-Status
-Version:        1.10
+Version:        1.11
 Release:        0
 %define cpan_name Mojolicious-Plugin-Status
 Summary:        Mojolicious server status
@@ -34,12 +34,12 @@
 BuildRequires:  perl(Cpanel::JSON::XS) >= 4.09
 BuildRequires:  perl(File::Map)
 BuildRequires:  perl(File::Temp) >= 0.2308
-BuildRequires:  perl(Mojolicious) >= 8.33
+BuildRequires:  perl(Mojolicious) >= 8.50
 Requires:       perl(BSD::Resource)
 Requires:       perl(Cpanel::JSON::XS) >= 4.09
 Requires:       perl(File::Map)
 Requires:       perl(File::Temp) >= 0.2308
-Requires:       perl(Mojolicious) >= 8.33
+Requires:       perl(Mojolicious) >= 8.50
 %{perl_requires}
 
 %description

++++++ Mojolicious-Plugin-Status-1.10.tar.gz -> 
Mojolicious-Plugin-Status-1.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/.perltidyrc 
new/Mojolicious-Plugin-Status-1.11/.perltidyrc
--- old/Mojolicious-Plugin-Status-1.10/.perltidyrc      1970-01-01 
01:00:00.000000000 +0100
+++ new/Mojolicious-Plugin-Status-1.11/.perltidyrc      2020-05-30 
23:41:56.000000000 +0200
@@ -0,0 +1,14 @@
+-pbp     # Start with Perl Best Practices
+-w       # Show all warnings
+-iob     # Ignore old breakpoints
+-l=120   # 120 characters per line
+-mbl=2   # No more than 2 blank lines
+-i=2     # Indentation is 2 columns
+-ci=2    # Continuation indentation is 2 columns
+-vt=0    # Less vertical tightness
+-pt=2    # High parenthesis tightness
+-bt=2    # High brace tightness
+-sbt=2   # High square bracket tightness
+-wn      # Weld nested containers
+-isbc    # Don't indent comments without leading space
+-nst     # Don't output to STDOUT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/Changes 
new/Mojolicious-Plugin-Status-1.11/Changes
--- old/Mojolicious-Plugin-Status-1.10/Changes  2020-05-26 17:30:15.000000000 
+0200
+++ new/Mojolicious-Plugin-Status-1.11/Changes  2020-05-31 14:24:56.000000000 
+0200
@@ -1,17 +1,18 @@
 
+1.11  2020-05-30
+  - Improved .perltidyrc with more modern settings.
+
 1.10  2020-05-26
   - Improved Mojo::MemoryMap to not require a Perl with 64-bit integer support.
 
 1.09  2020-05-25
-  - Switched from Sereal to Cpanel::JSON::XS for serialization in
-    Mojo::MemoryMap.
+  - Switched from Sereal to Cpanel::JSON::XS for serialization in 
Mojo::MemoryMap.
 
 1.08  2020-02-16
   - Fixed support for *BSD operating systems.
 
 1.07  2020-02-14
-  - Updated the File::Temp requirement to version 0.2308 to avoid flock bugs
-    that could make web apps hang forever.
+  - Updated the File::Temp requirement to version 0.2308 to avoid flock bugs 
that could make web apps hang forever.
 
 1.06  2020-02-14
   - Fixed displaying RSS on Linux correctly.
@@ -25,18 +26,16 @@
   - Improved template design.
 
 1.03  2020-02-12
-  - Added support for retaining a list of the slowest requests since server
-    start.
+  - Added support for retaining a list of the slowest requests since server 
start.
   - Added reusable Mojo::MemoryMap module.
   - Improved template design.
 
 1.02  2020-02-10
-  - Switched to File::Map as storage backend, so this plugin should be much
-    more reliable and safer to use now. (kraih, haarg, leont)
+  - Switched to File::Map as storage backend, so this plugin should be much 
more reliable and safer to use now.
+    (kraih, haarg, leont)
 
 1.01  2019-10-07
-  - The IPC mechanism used by this module is unreliable, so production use is
-    strongly discouraged.
+  - The IPC mechanism used by this module is unreliable, so production use is 
strongly discouraged.
 
 1.0  2018-09-17
   - Fixed a problem where subprocesses would show up in the worker list.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/MANIFEST 
new/Mojolicious-Plugin-Status-1.11/MANIFEST
--- old/Mojolicious-Plugin-Status-1.10/MANIFEST 2020-05-26 17:31:21.000000000 
+0200
+++ new/Mojolicious-Plugin-Status-1.11/MANIFEST 2020-05-31 14:26:47.000000000 
+0200
@@ -1,3 +1,4 @@
+.perltidyrc
 Changes
 examples/mixed.pl
 examples/status.png
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/META.json 
new/Mojolicious-Plugin-Status-1.11/META.json
--- old/Mojolicious-Plugin-Status-1.10/META.json        2020-05-26 
17:31:21.000000000 +0200
+++ new/Mojolicious-Plugin-Status-1.11/META.json        2020-05-31 
14:26:47.000000000 +0200
@@ -37,8 +37,8 @@
             "Cpanel::JSON::XS" : "4.09",
             "File::Map" : "0",
             "File::Temp" : "0.2308",
-            "Mojolicious" : "8.33",
-            "perl" : "5.010001"
+            "Mojolicious" : "8.50",
+            "perl" : "5.016"
          }
       }
    },
@@ -58,6 +58,6 @@
       },
       "x_IRC" : "irc://irc.freenode.net/#mojo"
    },
-   "version" : "1.10",
+   "version" : "1.11",
    "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/META.yml 
new/Mojolicious-Plugin-Status-1.11/META.yml
--- old/Mojolicious-Plugin-Status-1.10/META.yml 2020-05-26 17:31:21.000000000 
+0200
+++ new/Mojolicious-Plugin-Status-1.11/META.yml 2020-05-31 14:26:46.000000000 
+0200
@@ -23,13 +23,13 @@
   Cpanel::JSON::XS: '4.09'
   File::Map: '0'
   File::Temp: '0.2308'
-  Mojolicious: '8.33'
-  perl: '5.010001'
+  Mojolicious: '8.50'
+  perl: '5.016'
 resources:
   IRC: irc://irc.freenode.net/#mojo
   bugtracker: https://github.com/mojolicious/mojo-status/issues
   homepage: https://mojolicious.org
   license: http://www.opensource.org/licenses/artistic-license-2.0
   repository: https://github.com/mojolicious/mojo-status.git
-version: '1.10'
+version: '1.11'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/Makefile.PL 
new/Mojolicious-Plugin-Status-1.11/Makefile.PL
--- old/Mojolicious-Plugin-Status-1.10/Makefile.PL      2020-05-25 
20:49:14.000000000 +0200
+++ new/Mojolicious-Plugin-Status-1.11/Makefile.PL      2020-05-31 
14:25:42.000000000 +0200
@@ -1,4 +1,4 @@
-use 5.010001;
+use 5.016;
 
 use strict;
 use warnings;
@@ -16,10 +16,9 @@
     dynamic_config => 0,
     'meta-spec'    => {version => 2},
     no_index       => {directory => ['t']},
-    prereqs        => {runtime => {requires => {perl => '5.010001'}}},
+    prereqs        => {runtime => {requires => {perl => '5.016'}}},
     resources      => {
-      bugtracker =>
-        {web => 'https://github.com/mojolicious/mojo-status/issues'},
+      bugtracker => {web => 
'https://github.com/mojolicious/mojo-status/issues'},
       homepage   => 'https://mojolicious.org',
       license    => 
['http://www.opensource.org/licenses/artistic-license-2.0'],
       repository => {
@@ -31,7 +30,7 @@
     },
   },
   PREREQ_PM => {
-    Mojolicious        => '8.33',
+    Mojolicious        => '8.50',
     'BSD::Resource'    => 0,
     'Cpanel::JSON::XS' => '4.09',
     'File::Map'        => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/README.md 
new/Mojolicious-Plugin-Status-1.11/README.md
--- old/Mojolicious-Plugin-Status-1.10/README.md        2020-05-25 
21:00:11.000000000 +0200
+++ new/Mojolicious-Plugin-Status-1.11/README.md        2020-05-30 
23:44:48.000000000 +0200
@@ -3,9 +3,8 @@
 
 
![Screenshot](https://raw.github.com/mojolicious/mojo-status/master/examples/status.png?raw=true)
 
-  A server status ui for the [Mojolicious](https://mojolicious.org) real-time
-  web framework. Note that this module is **EXPERIMENTAL** and should therefore
-  only be used for debugging purposes.
+  A server status ui for the [Mojolicious](https://mojolicious.org) real-time 
web framework. Note that this module is
+  **EXPERIMENTAL** and should therefore only be used for debugging purposes.
 
 ```perl
 use Mojolicious::Lite;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-Plugin-Status-1.10/lib/Mojo/MemoryMap/Writer.pm 
new/Mojolicious-Plugin-Status-1.11/lib/Mojo/MemoryMap/Writer.pm
--- old/Mojolicious-Plugin-Status-1.10/lib/Mojo/MemoryMap/Writer.pm     
2020-05-26 17:28:03.000000000 +0200
+++ new/Mojolicious-Plugin-Status-1.11/lib/Mojo/MemoryMap/Writer.pm     
2020-05-30 23:42:24.000000000 +0200
@@ -58,13 +58,12 @@
 
 =head1 DESCRIPTION
 
-L<Mojo::MemoryMap::Writer> is a scope guard for L<Mojo::MemoryMap> that allows
-you to write safely to anonymous mapped memory segments.
+L<Mojo::MemoryMap::Writer> is a scope guard for L<Mojo::MemoryMap> that allows 
you to write safely to anonymous mapped
+memory segments.
 
 =head1 METHODS
 
-L<Mojo::MemoryMap::Writer> inherits all methods from L<Mojo::Base> and
-implements the following new ones.
+L<Mojo::MemoryMap::Writer> inherits all methods from L<Mojo::Base> and 
implements the following new ones.
 
 =head2 change
 
@@ -97,7 +96,6 @@
 
 =head1 SEE ALSO
 
-L<Mojolicious::Plugin::Status>, L<Mojolicious::Guides>,
-L<https://mojolicious.org>.
+L<Mojolicious::Plugin::Status>, L<Mojolicious::Guides>, 
L<https://mojolicious.org>.
 
 =cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/lib/Mojo/MemoryMap.pm 
new/Mojolicious-Plugin-Status-1.11/lib/Mojo/MemoryMap.pm
--- old/Mojolicious-Plugin-Status-1.10/lib/Mojo/MemoryMap.pm    2020-05-25 
20:49:14.000000000 +0200
+++ new/Mojolicious-Plugin-Status-1.11/lib/Mojo/MemoryMap.pm    2020-05-30 
23:42:24.000000000 +0200
@@ -25,11 +25,7 @@
   my $self = shift;
 
   my $fh = $self->{fh}{$$} ||= $self->{tempfile}->open('>');
-  return Mojo::MemoryMap::Writer->new(
-    fh    => $fh,
-    map   => $self->{map},
-    usage => \$self->{usage}
-  );
+  return Mojo::MemoryMap::Writer->new(fh => $fh, map => $self->{map}, usage => 
\$self->{usage});
 }
 
 1;
@@ -53,22 +49,19 @@
 
 =head1 DESCRIPTION
 
-L<Mojo::MemoryMap> uses L<File::Map> to allow you to safely cache mutable data
-structures in anonymous mapped memory segments, and share it between multiple
-processes.
+L<Mojo::MemoryMap> uses L<File::Map> to allow you to safely cache mutable data 
structures in anonymous mapped memory
+segments, and share it between multiple processes.
 
 =head1 METHODS
 
-L<Mojo::MemoryMap> inherits all methods from L<Mojo::Base> and implements the
-following new ones.
+L<Mojo::MemoryMap> inherits all methods from L<Mojo::Base> and implements the 
following new ones.
 
 =head2 new
 
   my $map = Mojo::MemoryMap->new;
   my $map = Mojo::MemoryMap->new(4096);
 
-Construct a new L<Mojo::MemoryMap> object, defaults to a L</"size"> of
-C<52428800> bytes (50 MiB).
+Construct a new L<Mojo::MemoryMap> object, defaults to a L</"size"> of 
C<52428800> bytes (50 MiB).
 
 =head2 size
 
@@ -86,9 +79,8 @@
 
   my $writer = $map->writer;
 
-Acquire exclusive lock and return L<Mojo::MemoryMap::Writer> object. Allowing
-the shared data structure to be retrieved and modified safely. The lock is
-released when the writer object is destroyed.
+Acquire exclusive lock and return L<Mojo::MemoryMap::Writer> object. Allowing 
the shared data structure to be retrieved
+and modified safely. The lock is released when the writer object is destroyed.
 
   # Retrieve data
   my $data = $map->writer->fetch;
@@ -105,7 +97,6 @@
 
 =head1 SEE ALSO
 
-L<Mojolicious::Plugin::Status>, L<Mojolicious::Guides>,
-L<https://mojolicious.org>.
+L<Mojolicious::Plugin::Status>, L<Mojolicious::Guides>, 
L<https://mojolicious.org>.
 
 =cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-Plugin-Status-1.10/lib/Mojolicious/Plugin/Status.pm 
new/Mojolicious-Plugin-Status-1.11/lib/Mojolicious/Plugin/Status.pm
--- old/Mojolicious-Plugin-Status-1.10/lib/Mojolicious/Plugin/Status.pm 
2020-05-25 20:53:00.000000000 +0200
+++ new/Mojolicious-Plugin-Status-1.11/lib/Mojolicious/Plugin/Status.pm 
2020-05-30 23:43:24.000000000 +0200
@@ -10,7 +10,7 @@
 
 use constant MACOS => $^O eq 'darwin';
 
-our $VERSION = '1.10';
+our $VERSION = '1.11';
 
 sub register {
   my ($self, $app, $config) = @_;
@@ -22,8 +22,7 @@
 
   # Initialize cache
   my $map = $self->{map} = Mojo::MemoryMap->new($config->{size});
-  $map->writer->store(
-    {processed => 0, started => time, stats => _stats(), slowest => []});
+  $map->writer->store({processed => 0, started => time, stats => _stats(), 
slowest => []});
 
   # Only the two built-in servers are supported for now
   $app->hook(before_server_start => sub { $self->_start(@_) });
@@ -36,8 +35,7 @@
   push @{$app->renderer->paths}, $resources->child('templates')->to_string;
 
   # Routes
-  $prefix->get('/' => {mojo_status => $self} => \&_dashboard)
-    ->name('mojo_status');
+  $prefix->get('/' => {mojo_status => $self} => 
\&_dashboard)->name('mojo_status');
 }
 
 sub _activity {
@@ -113,8 +111,7 @@
 sub _read_write {
   my ($record, $id) = @_;
   return unless my $stream = Mojo::IOLoop->stream($id);
-  @{$record}{qw(bytes_read bytes_written)}
-    = ($stream->bytes_read, $stream->bytes_written);
+  @{$record}{qw(bytes_read bytes_written)} = ($stream->bytes_read, 
$stream->bytes_written);
 }
 
 sub _request {
@@ -219,8 +216,7 @@
 
   # Register started workers
   Mojo::IOLoop->next_tick(sub {
-    $self->{map}->writer->change(
-      sub { $_->{workers}{$$} = {started => time, processed => 0} });
+    $self->{map}->writer->change(sub { $_->{workers}{$$} = {started => time, 
processed => 0} });
   });
 
   # Remove stopped workers
@@ -240,14 +236,7 @@
 }
 
 sub _stats {
-  return {
-    started      => time,
-    info         => 0,
-    success      => 0,
-    redirect     => 0,
-    client_error => 0,
-    server_error => 0
-  };
+  return {started => time, info => 0, success => 0, redirect => 0, 
client_error => 0, server_error => 0};
 }
 
 sub _stream {
@@ -256,9 +245,7 @@
   my $stream = Mojo::IOLoop->stream($id);
   $stream->on(
     close => sub {
-      $self->{map}->writer->change(
-        sub { delete $_->{workers}{$$}{connections}{$id} if $_->{workers}{$$} }
-      );
+      $self->{map}->writer->change(sub { delete 
$_->{workers}{$$}{connections}{$id} if $_->{workers}{$$} });
     }
   );
 }
@@ -274,12 +261,7 @@
       return if $map->writer->fetch->{workers}{$$}{connections}{$id};
 
       $map->writer->change(sub {
-        $_->{workers}{$$}{connections}{$id} = {
-          started       => time,
-          processed     => 0,
-          bytes_read    => 0,
-          bytes_written => 0
-        };
+        $_->{workers}{$$}{connections}{$id} = {started => time, processed => 
0, bytes_read => 0, bytes_written => 0};
       });
       $self->_stream($id);
     }
@@ -317,16 +299,14 @@
 =begin html
 
 <p>
-  <img alt="Screenshot"
-    
src="https://raw.github.com/mojolicious/mojo-status/master/examples/status.png?raw=true";
+  <img alt="Screenshot" 
src="https://raw.github.com/mojolicious/mojo-status/master/examples/status.png?raw=true";
     width="600px">
 </p>
 
 =end html
 
-L<Mojolicious::Plugin::Status> is a L<Mojolicious> plugin providing a server
-status ui for L<Mojo::Server::Daemon> and L<Mojo::Server::Prefork>. Note that
-this module is B<EXPERIMENTAL> and should therefore only be used for debugging
+L<Mojolicious::Plugin::Status> is a L<Mojolicious> plugin providing a server 
status ui for L<Mojo::Server::Daemon> and
+L<Mojo::Server::Prefork>. Note that this module is B<EXPERIMENTAL> and should 
therefore only be used for debugging
 purposes.
 
 =head1 OPTIONS
@@ -338,24 +318,22 @@
   # Mojolicious::Lite
   plugin Status => {return_to => 'some_route'};
 
-Name of route or path to return to when leaving the server status ui, defaults
-to C</>.
+Name of route or path to return to when leaving the server status ui, defaults 
to C</>.
 
 =head2 route
 
   # Mojolicious::Lite
   plugin Status => {route => app->routes->any('/status')};
 
-L<Mojolicious::Routes::Route> object to attach the server status ui to, 
defaults
-to generating a new one with the prefix C</mojo-status>.
+L<Mojolicious::Routes::Route> object to attach the server status ui to, 
defaults to generating a new one with the
+prefix C</mojo-status>.
 
 =head2 size
 
   # Mojolicious::Lite
   plugin Status => {size => 1234};
 
-Size of anonymous mapped memory to use for storing statistics, defaults to
-C<52428800> (50 MiB).
+Size of anonymous mapped memory to use for storing statistics, defaults to 
C<52428800> (50 MiB).
 
 =head2 slowest
 
@@ -366,8 +344,7 @@
 
 =head1 METHODS
 
-L<Mojolicious::Plugin::Status> inherits all methods from
-L<Mojolicious::Plugin> and implements the following new ones.
+L<Mojolicious::Plugin::Status> inherits all methods from 
L<Mojolicious::Plugin> and implements the following new ones.
 
 =head2 register
 
@@ -377,15 +354,14 @@
 
 =head1 BUNDLED FILES
 
-The L<Mojolicious::Plugin::Status> distribution includes a few files with
-different licenses that have been bundled for internal use.
+The L<Mojolicious::Plugin::Status> distribution includes a few files with 
different licenses that have been bundled for
+internal use.
 
 =head2 Artwork
 
   Copyright (C) 2018, Sebastian Riedel.
 
-Licensed under the CC-SA License, Version 4.0
-L<http://creativecommons.org/licenses/by-sa/4.0>.
+Licensed under the CC-SA License, Version 4.0 
L<http://creativecommons.org/licenses/by-sa/4.0>.
 
 =head2 Bootstrap
 
@@ -397,8 +373,8 @@
 
   Copyright (C) Dave Gandy.
 
-Licensed under the MIT License, L<http://creativecommons.org/licenses/MIT>, and
-the SIL OFL 1.1, L<http://scripts.sil.org/OFL>.
+Licensed under the MIT License, L<http://creativecommons.org/licenses/MIT>, 
and the SIL OFL 1.1,
+L<http://scripts.sil.org/OFL>.
 
 =head1 AUTHOR
 
@@ -408,8 +384,8 @@
 
 Copyright (C) 2018-2020, Sebastian Riedel and others.
 
-This program is free software, you can redistribute it and/or modify it under
-the terms of the Artistic License version 2.0.
+This program is free software, you can redistribute it and/or modify it under 
the terms of the Artistic License version
+2.0.
 
 =head1 SEE ALSO
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/t/pod.t 
new/Mojolicious-Plugin-Status-1.11/t/pod.t
--- old/Mojolicious-Plugin-Status-1.10/t/pod.t  2019-11-21 17:46:56.000000000 
+0100
+++ new/Mojolicious-Plugin-Status-1.11/t/pod.t  2020-05-30 23:42:13.000000000 
+0200
@@ -2,9 +2,7 @@
 
 use Test::More;
 
-plan skip_all => 'set TEST_POD to enable this test (developer only!)'
-  unless $ENV{TEST_POD};
-plan skip_all => 'Test::Pod 1.14+ required for this test!'
-  unless eval 'use Test::Pod 1.14; 1';
+plan skip_all => 'set TEST_POD to enable this test (developer only!)' unless 
$ENV{TEST_POD};
+plan skip_all => 'Test::Pod 1.14+ required for this test!'            unless 
eval 'use Test::Pod 1.14; 1';
 
 all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/t/pod_coverage.t 
new/Mojolicious-Plugin-Status-1.11/t/pod_coverage.t
--- old/Mojolicious-Plugin-Status-1.10/t/pod_coverage.t 2019-11-21 
17:46:56.000000000 +0100
+++ new/Mojolicious-Plugin-Status-1.11/t/pod_coverage.t 2020-05-30 
23:42:13.000000000 +0200
@@ -2,9 +2,7 @@
 
 use Test::More;
 
-plan skip_all => 'set TEST_POD to enable this test (developer only!)'
-  unless $ENV{TEST_POD};
-plan skip_all => 'Test::Pod::Coverage 1.04+ required for this test!'
-  unless eval 'use Test::Pod::Coverage 1.04; 1';
+plan skip_all => 'set TEST_POD to enable this test (developer only!)' unless 
$ENV{TEST_POD};
+plan skip_all => 'Test::Pod::Coverage 1.04+ required for this test!'  unless 
eval 'use Test::Pod::Coverage 1.04; 1';
 
 all_pod_coverage_ok({also_private => ['build_tx', 'config', 'handler', 
'log']});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-Status-1.10/t/status.t 
new/Mojolicious-Plugin-Status-1.11/t/status.t
--- old/Mojolicious-Plugin-Status-1.10/t/status.t       2020-02-13 
02:34:40.000000000 +0100
+++ new/Mojolicious-Plugin-Status-1.11/t/status.t       2020-05-30 
23:42:13.000000000 +0200
@@ -8,8 +8,7 @@
 
 my $route = any '/status';
 
-plugin Status =>
-  {return_to => '/does_not_exist', route => $route, slowest => 5};
+plugin Status => {return_to => '/does_not_exist', route => $route, slowest => 
5};
 
 get '/' => sub {
   my $c = shift;
@@ -40,12 +39,9 @@
 $t->get_ok('/status.json')->status_is(200)->json_is('/processed', 4);
 
 # Bundled static files
-$t->get_ok('/mojo-status/bootstrap/bootstrap.js')->status_is(200)
-  ->content_type_is('application/javascript');
-$t->get_ok('/mojo-status/bootstrap/bootstrap.css')->status_is(200)
-  ->content_type_is('text/css');
-$t->get_ok('/mojo-status/fontawesome/fontawesome.css')->status_is(200)
-  ->content_type_is('text/css');
+$t->get_ok('/mojo-status/bootstrap/bootstrap.js')->status_is(200)->content_type_is('application/javascript');
+$t->get_ok('/mojo-status/bootstrap/bootstrap.css')->status_is(200)->content_type_is('text/css');
+$t->get_ok('/mojo-status/fontawesome/fontawesome.css')->status_is(200)->content_type_is('text/css');
 $t->get_ok('/mojo-status/webfonts/fa-brands-400.eot')->status_is(200);
 $t->get_ok('/mojo-status/webfonts/fa-brands-400.svg')->status_is(200);
 $t->get_ok('/mojo-status/webfonts/fa-brands-400.ttf')->status_is(200);
@@ -62,24 +58,18 @@
 $t->get_ok('/mojo-status/webfonts/fa-solid-900.woff')->status_is(200);
 $t->get_ok('/mojo-status/webfonts/fa-solid-900.woff2')->status_is(200);
 
$t->get_ok('/mojo-status/app.css')->status_is(200)->content_type_is('text/css');
-$t->get_ok('/mojo-status/logo-black-2x.png')->status_is(200)
-  ->content_type_is('image/png');
-$t->get_ok('/mojo-status/logo-black.png')->status_is(200)
-  ->content_type_is('image/png');
+$t->get_ok('/mojo-status/logo-black-2x.png')->status_is(200)->content_type_is('image/png');
+$t->get_ok('/mojo-status/logo-black.png')->status_is(200)->content_type_is('image/png');
 
 # JSON
-$t->get_ok('/status.json')->status_is(200)->json_is('/processed', 48)
-  ->json_has('/started')->json_has("/workers/$$/connections")
-  ->json_has("/workers/$$/maxrss")->json_has("/workers/$$/processed")
-  ->json_has("/workers/$$/started")->json_has("/workers/$$/stime")
-  ->json_has("/workers/$$/utime")->json_has('/slowest/0')
-  ->json_has('/slowest/0/time')->json_has('/slowest/0/path')
-  ->json_has('/slowest/0/request_id')->json_has('/slowest/1')
-  ->json_has('/slowest/4')->json_hasnt('/slowest/5');
+$t->get_ok('/status.json')->status_is(200)->json_is('/processed', 
48)->json_has('/started')
+  
->json_has("/workers/$$/connections")->json_has("/workers/$$/maxrss")->json_has("/workers/$$/processed")
+  
->json_has("/workers/$$/started")->json_has("/workers/$$/stime")->json_has("/workers/$$/utime")
+  
->json_has('/slowest/0')->json_has('/slowest/0/time')->json_has('/slowest/0/path')->json_has('/slowest/0/request_id')
+  ->json_has('/slowest/1')->json_has('/slowest/4')->json_hasnt('/slowest/5');
 
 # HTML
-$t->get_ok('/status')
-  ->element_exists_not('meta[http-equiv=refresh][content=5]')
+$t->get_ok('/status')->element_exists_not('meta[http-equiv=refresh][content=5]')
   ->text_like('a[href=/does_not_exist]' => qr/Back to Site/);
 
 # Reset
@@ -89,16 +79,14 @@
 
 # Subprocess
 SKIP: {
-  skip 'Subprocess does not work with fork emulation', 2
-    if $Config{d_pseudofork};
+  skip 'Subprocess does not work with fork emulation', 2 if 
$Config{d_pseudofork};
   $t->get_ok('/subprocess')->status_is(200);
   my $pid = $t->tx->res->text;
-  $t->get_ok('/status.json')->status_is(200)->json_has('/started')
-    ->json_has("/workers/$$")->json_hasnt("/workers/$pid");
+  
$t->get_ok('/status.json')->status_is(200)->json_has('/started')->json_has("/workers/$$")
+    ->json_hasnt("/workers/$pid");
 }
 
 # Refresh
-$t->get_ok('/status?refresh=5')
-  ->element_exists('meta[http-equiv=refresh][content=5]');
+$t->get_ok('/status?refresh=5')->element_exists('meta[http-equiv=refresh][content=5]');
 
 done_testing;


Reply via email to