Hello community,

here is the log from the commit of package perl-Mojolicious for 
openSUSE:Factory checked in at 2020-11-12 22:48:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Mojolicious"

Thu Nov 12 22:48:12 2020 rev:147 rq:848091 version:8.65

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes        
2020-11-09 13:59:22.399707376 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Mojolicious.new.24930/perl-Mojolicious.changes 
    2020-11-12 22:49:56.250802304 +0100
@@ -1,0 +2,12 @@
+Thu Nov 12 03:10:26 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 8.65
+   see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+  8.65  2020-11-10
+    - Added generate dockerfile command. (tianon)
+    - Improved cookbook with container deployment recipe.
+    - Improved security of secure_compare function in Mojo::Util. (robrwo)
+    - Fixed all generated code to consistently use a *::Sandbox class, instead 
of *::SandBox.
+
+-------------------------------------------------------------------

Old:
----
  Mojolicious-8.64.tar.gz

New:
----
  Mojolicious-8.65.tar.gz

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

Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.Zn4TNS/_old  2020-11-12 22:49:56.842802923 +0100
+++ /var/tmp/diff_new_pack.Zn4TNS/_new  2020-11-12 22:49:56.846802927 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Mojolicious
-Version:        8.64
+Version:        8.65
 Release:        0
 %define cpan_name Mojolicious
 Summary:        Real-time web framework

++++++ Mojolicious-8.64.tar.gz -> Mojolicious-8.65.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/Changes new/Mojolicious-8.65/Changes
--- old/Mojolicious-8.64/Changes        2020-11-01 17:54:47.000000000 +0100
+++ new/Mojolicious-8.65/Changes        2020-11-10 20:33:34.000000000 +0100
@@ -1,4 +1,10 @@
 
+8.65  2020-11-10
+  - Added generate dockerfile command. (tianon)
+  - Improved cookbook with container deployment recipe.
+  - Improved security of secure_compare function in Mojo::Util. (robrwo)
+  - Fixed all generated code to consistently use a *::Sandbox class, instead 
of *::SandBox.
+
 8.64  2020-11-01
   - Replaced prettify.js with highlight.js. (zakame)
   - Fixed a bug in Mojo::DOM where the tree root would be checked for all 
pseudo-classes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/MANIFEST 
new/Mojolicious-8.65/MANIFEST
--- old/Mojolicious-8.64/MANIFEST       2020-11-06 19:38:19.000000000 +0100
+++ new/Mojolicious-8.65/MANIFEST       2020-11-11 20:55:18.000000000 +0100
@@ -84,6 +84,7 @@
 lib/Mojolicious/Command/Author/cpanify.pm
 lib/Mojolicious/Command/Author/generate.pm
 lib/Mojolicious/Command/Author/generate/app.pm
+lib/Mojolicious/Command/Author/generate/dockerfile.pm
 lib/Mojolicious/Command/Author/generate/lite_app.pm
 lib/Mojolicious/Command/Author/generate/makefile.pm
 lib/Mojolicious/Command/Author/generate/plugin.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/META.json 
new/Mojolicious-8.65/META.json
--- old/Mojolicious-8.64/META.json      2020-11-06 19:38:19.000000000 +0100
+++ new/Mojolicious-8.65/META.json      2020-11-11 20:55:18.000000000 +0100
@@ -4,7 +4,7 @@
       "Sebastian Riedel <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 7.50, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.52, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "artistic_2"
    ],
@@ -63,6 +63,6 @@
          "web" : "https://webchat.freenode.net/#mojo";
       }
    },
-   "version" : "8.64",
+   "version" : "8.65",
    "x_serialization_backend" : "JSON::PP version 4.05"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/META.yml 
new/Mojolicious-8.65/META.yml
--- old/Mojolicious-8.64/META.yml       2020-11-06 19:38:19.000000000 +0100
+++ new/Mojolicious-8.65/META.yml       2020-11-11 20:55:18.000000000 +0100
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.50, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.52, CPAN::Meta::Converter version 
2.150010'
 license: artistic_2
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -34,5 +34,5 @@
   homepage: https://mojolicious.org
   license: http://www.opensource.org/licenses/artistic-license-2.0
   repository: https://github.com/mojolicious/mojo.git
-version: '8.64'
+version: '8.65'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/README.md 
new/Mojolicious-8.65/README.md
--- old/Mojolicious-8.64/README.md      2020-08-03 15:18:44.000000000 +0200
+++ new/Mojolicious-8.65/README.md      2020-11-10 17:22:26.000000000 +0100
@@ -22,6 +22,7 @@
 
   * An amazing **real-time web framework**, allowing you to easily grow single 
file prototypes into well-structured MVC
     web applications.
+    * Everything you need to build cloud-native web applications for state of 
the art container environments.
     * Powerful out of the box with RESTful routes, plugins, commands, Perl-ish 
templates, content negotiation, session
       management, form validation, testing framework, static file server, 
CGI/[PSGI](http://plackperl.org) detection,
       first class Unicode support and much more for you to discover.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/lib/Mojo/Template.pm 
new/Mojolicious-8.65/lib/Mojo/Template.pm
--- old/Mojolicious-8.64/lib/Mojo/Template.pm   2020-10-24 13:05:13.000000000 
+0200
+++ new/Mojolicious-8.65/lib/Mojo/Template.pm   2020-11-09 13:06:50.000000000 
+0100
@@ -19,7 +19,7 @@
 has [qw(escape_mark expression_mark trim_mark)] => '=';
 has [qw(line_start replace_mark)]               => '%';
 has name                                        => 'template';
-has namespace                                   => 'Mojo::Template::SandBox';
+has namespace                                   => 'Mojo::Template::Sandbox';
 has tag_start                                   => '<%';
 has tag_end                                     => '%>';
 has tree                                        => sub { [] };
@@ -534,7 +534,7 @@
   my $namespace = $mt->namespace;
   $mt           = $mt->namespace('main');
 
-Namespace used to compile templates, defaults to C<Mojo::Template::SandBox>. 
Note that namespaces should only be shared
+Namespace used to compile templates, defaults to C<Mojo::Template::Sandbox>. 
Note that namespaces should only be shared
 very carefully between templates, since functions and global variables will 
not be cleared automatically.
 
 =head2 prepend
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/lib/Mojo/Util.pm 
new/Mojolicious-8.65/lib/Mojo/Util.pm
--- old/Mojolicious-8.64/lib/Mojo/Util.pm       2020-10-24 13:05:07.000000000 
+0200
+++ new/Mojolicious-8.65/lib/Mojo/Util.pm       2020-11-10 16:16:09.000000000 
+0100
@@ -276,8 +276,8 @@
 
 sub secure_compare {
   my ($one, $two) = @_;
-  return undef if length $one != length $two;
-  my $r = 0;
+  my $r = length $one != length $two;
+  $two = $one if $r;
   $r |= ord(substr $one, $_) ^ ord(substr $two, $_) for 0 .. length($one) - 1;
   return $r == 0;
 }
@@ -792,7 +792,8 @@
 
   my $bool = secure_compare $str1, $str2;
 
-Constant time comparison algorithm to prevent timing attacks.
+Constant time comparison algorithm to prevent timing attacks. The secret 
string should be the second argument, to avoid
+leaking information about the length of the string.
 
 =head2 sha1_bytes
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-8.64/lib/Mojolicious/Command/Author/generate/dockerfile.pm 
new/Mojolicious-8.65/lib/Mojolicious/Command/Author/generate/dockerfile.pm
--- old/Mojolicious-8.64/lib/Mojolicious/Command/Author/generate/dockerfile.pm  
1970-01-01 01:00:00.000000000 +0100
+++ new/Mojolicious-8.65/lib/Mojolicious/Command/Author/generate/dockerfile.pm  
2020-11-10 21:27:37.000000000 +0100
@@ -0,0 +1,87 @@
+package Mojolicious::Command::Author::generate::dockerfile;
+use Mojo::Base 'Mojolicious::Command';
+
+use Mojo::File qw(path);
+
+has description => 'Generate "Dockerfile"';
+has usage       => sub { shift->extract_usage };
+
+sub run {
+  my $self = shift;
+  my $name = $self->app->moniker;
+  my $exe  = $ENV{MOJO_EXE} ? 
path($ENV{MOJO_EXE})->to_rel($self->app->home)->to_string : "script/$name";
+  $self->render_to_rel_file('dockerfile', 'Dockerfile', {name => $name, cmd => 
"./$exe prefork"});
+}
+
+1;
+
+=encoding utf8
+
+=head1 NAME
+
+Mojolicious::Command::Author::generate::dockerfile - Dockerfile generator 
command
+
+=head1 SYNOPSIS
+
+  Usage: APPLICATION generate dockerfile [OPTIONS]
+
+    ./myapp.pl generate dockerfile
+    ./script/my_app generate dockerfile
+
+  Options:
+    -h, --help   Show this summary of available options
+
+=head1 DESCRIPTION
+
+L<Mojolicious::Command::Author::generate::dockerfile> generates C<Dockerfile> 
for applications.
+
+This is a core command, that means it is always enabled and its code a good 
example for learning to build new commands,
+you're welcome to fork it.
+
+See L<Mojolicious::Commands/"COMMANDS"> for a list of commands that are 
available by default.
+
+=head1 ATTRIBUTES
+
+L<Mojolicious::Command::Author::generate::dockerfile> inherits all attributes 
from L<Mojolicious::Command> and
+implements the following new ones.
+
+=head2 description
+
+  my $description = $dockerfile->description;
+  $dockerfile     = $dockerfile->description('Foo');
+
+Short description of this command, used for the command list.
+
+=head2 usage
+
+  my $usage   = $dockerfile->usage;
+  $dockerfile = $dockerfile->usage('Foo');
+
+Usage information for this command, used for the help screen.
+
+=head1 METHODS
+
+L<Mojolicious::Command::Author::generate::dockerfile> inherits all methods 
from L<Mojolicious::Command> and implements
+the following new ones.
+
+=head2 run
+
+  $dockerfile->run(@ARGV);
+
+Run this command.
+
+=head1 SEE ALSO
+
+L<Mojolicious>, L<Mojolicious::Guides>, L<https://mojolicious.org>.
+
+=cut
+
+__DATA__
+
+@@ dockerfile
+FROM perl
+WORKDIR /opt/<%= $name %>
+COPY . .
+RUN cpanm --installdeps -n .
+EXPOSE 3000
+CMD <%= $cmd %>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-8.64/lib/Mojolicious/Command/Author/generate/makefile.pm 
new/Mojolicious-8.65/lib/Mojolicious/Command/Author/generate/makefile.pm
--- old/Mojolicious-8.64/lib/Mojolicious/Command/Author/generate/makefile.pm    
2020-10-24 13:05:25.000000000 +0200
+++ new/Mojolicious-8.65/lib/Mojolicious/Command/Author/generate/makefile.pm    
2020-11-10 16:22:08.000000000 +0100
@@ -18,6 +18,7 @@
 
   Usage: APPLICATION generate makefile [OPTIONS]
 
+    ./myapp.pl generate makefile
     mojo generate makefile
 
   Options:
@@ -78,6 +79,8 @@
 
 WriteMakefile(
   VERSION   => '0.01',
-  PREREQ_PM => {'Mojolicious' => '<%= $Mojolicious::VERSION %>'},
-  test      => {TESTS => 't/*.t'}
+  PREREQ_PM => {
+    'Mojolicious' => '<%= $Mojolicious::VERSION %>'
+  },
+  test => {TESTS => 't/*.t'}
 );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/lib/Mojolicious/Commands.pm 
new/Mojolicious-8.65/lib/Mojolicious/Commands.pm
--- old/Mojolicious-8.64/lib/Mojolicious/Commands.pm    2020-10-24 
13:05:28.000000000 +0200
+++ new/Mojolicious-8.65/lib/Mojolicious/Commands.pm    2020-11-09 
20:04:57.000000000 +0100
@@ -177,6 +177,13 @@
 Use L<Mojolicious::Command::Author::generate::app> to generate application 
directory structure for a fully functional
 L<Mojolicious> application.
 
+=head2 generate dockerfile
+
+  $ ./myapp.pl generate dockerfile
+  $ ./script/my_app generate dockerfile
+
+Use L<Mojolicious::Command::Author::generate::dockerfile> to generate 
C<Dockerfile> for application.
+
 =head2 generate lite-app
 
   $ mojo generate lite-app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/lib/Mojolicious/Guides/Cookbook.pod 
new/Mojolicious-8.65/lib/Mojolicious/Guides/Cookbook.pod
--- old/Mojolicious-8.64/lib/Mojolicious/Guides/Cookbook.pod    2020-10-01 
15:18:43.000000000 +0200
+++ new/Mojolicious-8.65/lib/Mojolicious/Guides/Cookbook.pod    2020-11-10 
21:28:04.000000000 +0100
@@ -151,8 +151,18 @@
 
 =head2 Pre-forking
 
-On UNIX platforms you can also add pre-forking to the built-in web server and 
switch to a multi-process architecture
-with L<Mojolicious::Command::prefork>, to take advantage of multiple CPU cores 
and copy-on-write memory management.
+For bigger applications L<Mojolicious> contains the UNIX optimized pre-forking 
web server L<Mojo::Server::Prefork>,
+which can take advantage of multiple CPU cores and copy-on-write memory 
management to scale up to thousands of
+concurrent client connections.
+
+  Mojo::Server::Prefork
+  |- Mojo::Server::Daemon [1]
+  |- Mojo::Server::Daemon [2]
+  |- Mojo::Server::Daemon [3]
+  +- Mojo::Server::Daemon [4]
+
+It is based on L<Mojo::Server::Daemon> and available to every application 
through the command
+L<Mojolicious::Command::prefork>.
 
   $ ./script/my_app prefork
   Web application available at http://127.0.0.1:3000
@@ -205,22 +215,66 @@
   $ morbo ./script/my_app
   Web application available at http://127.0.0.1:3000
 
-=head2 Hypnotoad
+=head2 Containers
 
-For bigger applications L<Mojolicious> contains the UNIX optimized pre-forking 
web server
-L<Hypnotoad|Mojo::Server::Hypnotoad>, which can take advantage of multiple CPU 
cores and copy-on-write memory
-management to scale up to thousands of concurrent client connections.
+There are many ways to go cloud-native with L<Mojolicious>. To get you started 
with containerizing your web applications
+we will explore one of them in this recipe. First, you will need to declare 
the CPAN dependencies of your application,
+for example in a C<Makefile.PL> file. This should always include at the very 
least L<Mojolicious> itself.
+
+  use strict;
+  use warnings;
+
+  use ExtUtils::MakeMaker;
+
+  WriteMakefile(
+    VERSION   => '0.01',
+    PREREQ_PM => {
+      'Mojolicious' => '8.65',
+      'Mojolicious::Plugin::Status' => '1.12'
+    },
+    test => {TESTS => 't/*.t'}
+  );
+
+The helper command L<Mojolicious::Command::Author::generate::makefile> can 
also generate a minimal C<Makefile.PL> for
+you.
+
+  $ ./myapp.pl generate makefile
+  ...
+
+And then we are going to need a C<Dockerfile> describing the container. A very 
simple one will do for now.
+
+  FROM perl
+  WORKDIR /opt/myapp
+  COPY . .
+  RUN cpanm --installdeps -n .
+  EXPOSE 3000
+  CMD ./myapp.pl prefork
+
+It uses the latest L<Perl container|https://hub.docker.com/_/perl> from Docker 
Hub, copies all the contents of your
+application directory into the container, installs CPAN dependencies with 
L<App::cpanminus>, and then starts the
+application on port C<3000> with the pre-forking web server. With 
L<Mojolicious::Command::generate::dockerfile> there is
+also a helper command to generate a minimal C<Dockerfile> for you.
+
+  $ ./myapp.pl generate dockerfile
+  ...
+
+To build and deploy our container there are also many options available, here 
we will simply use Docker.
+
+  $ docker build -t myapp_image .
+  ...
+  $ docker run -d -p 3000:3000 --name myapp_container myapp_image
+  ...
+
+And now your web application should be deployed as a container under 
C<http://127.0.0.1:3000>. For more information and
+many more container deployment options we recommend the 
L<Docker|https://docs.docker.com/> and
+L<Kubernetes|https://kubernetes.io/docs/> documentation.
 
-  Mojo::Server::Hypnotoad
-  |- Mojo::Server::Daemon [1]
-  |- Mojo::Server::Daemon [2]
-  |- Mojo::Server::Daemon [3]
-  +- Mojo::Server::Daemon [4]
+=head2 Hypnotoad
 
-It is based on the L<Mojo::Server::Prefork> web server, which adds pre-forking 
to L<Mojo::Server::Daemon>, but
-optimized specifically for production environments out of the box. To start 
applications with it you can use the
-L<hypnotoad> script, which listens on port C<8080>, automatically daemonizes 
the server process and defaults to
-C<production> mode for L<Mojolicious> and L<Mojolicious::Lite> applications.
+L<Hypnotoad|Mojo::Server::Hypnotoad> is based on the L<Mojo::Server::Prefork> 
web server, and adds some features
+especially optimized for high availability non-containerized production 
environments. To start applications with it you
+can use the L<hypnotoad> script, which listens on port C<8080>, automatically 
daemonizes the server process and defaults
+to C<production> mode for L<Mojolicious> and L<Mojolicious::Lite> applications.
 
   $ hypnotoad ./script/my_app
 
@@ -344,7 +398,7 @@
 
 =head2 Envoy
 
-L<Mojolicious> applications can be deployed on "cloud-native" environments 
that use L<Envoy|https://www.envoyproxy.io>,
+L<Mojolicious> applications can be deployed on cloud-native environments that 
use L<Envoy|https://www.envoyproxy.io>,
 such as with this reverse proxy configuration similar to the Apache and Nginx 
ones above.
 
   static_resources:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/lib/Mojolicious/Guides.pod 
new/Mojolicious-8.65/lib/Mojolicious/Guides.pod
--- old/Mojolicious-8.64/lib/Mojolicious/Guides.pod     2020-08-19 
22:48:43.000000000 +0200
+++ new/Mojolicious-8.65/lib/Mojolicious/Guides.pod     2020-11-09 
20:04:57.000000000 +0100
@@ -394,6 +394,8 @@
 
 =item * L<Mojolicious::Command::Author::generate::app>
 
+=item * L<Mojolicious::Command::Author::generate::dockerfile>
+
 =item * L<Mojolicious::Command::Author::generate::lite_app>
 
 =item * L<Mojolicious::Command::Author::generate::makefile>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/lib/Mojolicious.pm 
new/Mojolicious-8.65/lib/Mojolicious.pm
--- old/Mojolicious-8.64/lib/Mojolicious.pm     2020-10-28 01:23:27.000000000 
+0100
+++ new/Mojolicious-8.65/lib/Mojolicious.pm     2020-11-10 16:19:27.000000000 
+0100
@@ -58,7 +58,7 @@
 has validator => sub { Mojolicious::Validator->new };
 
 our $CODENAME = 'Supervillain';
-our $VERSION  = '8.64';
+our $VERSION  = '8.65';
 
 sub BUILD_DYNAMIC {
   my ($class, $method, $dyn_methods) = @_;
@@ -1073,6 +1073,8 @@
 
 Robert Hicks
 
+Robert Rothenberg
+
 Robin Lee
 
 Roland Lammel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/t/mojo/template.t 
new/Mojolicious-8.65/t/mojo/template.t
--- old/Mojolicious-8.64/t/mojo/template.t      2020-10-24 13:04:17.000000000 
+0200
+++ new/Mojolicious-8.65/t/mojo/template.t      2020-11-09 13:07:13.000000000 
+0100
@@ -600,13 +600,13 @@
 %= __PACKAGE__
 %= foo
 EOF
-is $output, "Mojo::Template::SandBox\nworks!\n", 'right result';
+is $output, "Mojo::Template::Sandbox\nworks!\n", 'right result';
 $output = $mt->render(<<'EOF');
 % BEGIN { MyTemplateExporter->import }
 %= __PACKAGE__
 %= foo
 EOF
-is $output, "Mojo::Template::SandBox\nworks!\n", 'right result';
+is $output, "Mojo::Template::Sandbox\nworks!\n", 'right result';
 
 # Unusable error message (stack trace required)
 $mt     = Mojo::Template->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/t/mojolicious/commands.t 
new/Mojolicious-8.65/t/mojolicious/commands.t
--- old/Mojolicious-8.64/t/mojolicious/commands.t       2020-10-24 
13:04:23.000000000 +0200
+++ new/Mojolicious-8.65/t/mojolicious/commands.t       2020-11-09 
20:05:09.000000000 +0100
@@ -320,6 +320,24 @@
 ok -e $app->rel_file('my_app/templates/example/welcome.html.ep'), 'template 
exists';
 chdir $cwd;
 
+subtest 'generate dockerfile' => sub {
+  require Mojolicious::Command::Author::generate::dockerfile;
+  my $dockerfile = Mojolicious::Command::Author::generate::dockerfile->new;
+  ok $dockerfile->description, 'has a description';
+  like $dockerfile->usage, qr/dockerfile/, 'has usage information';
+  my $dir = tempdir CLEANUP => 1;
+  chdir $dir;
+  $buffer = '';
+  {
+    open my $handle, '>', \$buffer;
+    local *STDOUT = $handle;
+    $dockerfile->run;
+  }
+  like $buffer, qr/Dockerfile/, 'right output';
+  ok -e $app->rel_file('Dockerfile'), 'Dockerfile exists';
+  chdir $cwd;
+};
+
 # generate lite_app
 require Mojolicious::Command::Author::generate::lite_app;
 $app = Mojolicious::Command::Author::generate::lite_app->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.64/t/pod_coverage.t 
new/Mojolicious-8.65/t/pod_coverage.t
--- old/Mojolicious-8.64/t/pod_coverage.t       2020-10-24 13:04:18.000000000 
+0200
+++ new/Mojolicious-8.65/t/pod_coverage.t       2020-11-10 10:32:52.000000000 
+0100
@@ -7,9 +7,8 @@
 
 # async/await hooks
 my @await = (
-  qw(AWAIT_CLONE AWAIT_DONE AWAIT_FAIL AWAIT_GET AWAIT_IS_CANCELLED),
-  qw(AWAIT_IS_READY AWAIT_NEW_DONE AWAIT_NEW_FAIL AWAIT_ON_CANCEL),
-  qw(AWAIT_ON_READY)
+  qw(AWAIT_CLONE AWAIT_DONE AWAIT_FAIL AWAIT_GET AWAIT_IS_CANCELLED 
AWAIT_IS_READY AWAIT_NEW_DONE AWAIT_NEW_FAIL),
+  qw(AWAIT_ON_CANCEL AWAIT_ON_READY)
 );
 
 all_pod_coverage_ok({also_private => ['BUILD_DYNAMIC', @await, 'success']});
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to