Hello community,

here is the log from the commit of package perl-Mojolicious for 
openSUSE:Factory checked in at 2020-01-21 21:03:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Mojolicious"

Tue Jan 21 21:03:05 2020 rev:122 rq:766093 version:8.32

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes        
2020-01-19 20:58:07.604071971 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Mojolicious.new.26092/perl-Mojolicious.changes 
    2020-01-21 21:03:47.868944955 +0100
@@ -1,0 +2,12 @@
+Mon Jan 20 03:12:34 UTC 2020 -  <[email protected]>
+
+- updated to 8.32
+   see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+  8.32  2020-01-18
+    - Changed experimental -async flag to -async_await in Mojo::Base, because 
of a
+      Perl quirk that Future::AsyncAwait can't handle itself.
+    - Fixed a bug where the -async_await flag in Mojo::Base would not load
+      Mojo::Promise.
+
+-------------------------------------------------------------------

Old:
----
  Mojolicious-8.31.tar.gz

New:
----
  Mojolicious-8.32.tar.gz

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

Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.hGV2I0/_old  2020-01-21 21:03:48.364945186 +0100
+++ /var/tmp/diff_new_pack.hGV2I0/_new  2020-01-21 21:03:48.364945186 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Mojolicious
-Version:        8.31
+Version:        8.32
 Release:        0
 %define cpan_name Mojolicious
 Summary:        Real-time web framework

++++++ Mojolicious-8.31.tar.gz -> Mojolicious-8.32.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/Changes new/Mojolicious-8.32/Changes
--- old/Mojolicious-8.31/Changes        2020-01-14 20:55:36.000000000 +0100
+++ new/Mojolicious-8.32/Changes        2020-01-18 17:18:35.000000000 +0100
@@ -1,4 +1,10 @@
 
+8.32  2020-01-18
+  - Changed experimental -async flag to -async_await in Mojo::Base, because of 
a
+    Perl quirk that Future::AsyncAwait can't handle itself.
+  - Fixed a bug where the -async_await flag in Mojo::Base would not load
+    Mojo::Promise.
+
 8.31  2020-01-14
   - Added attr_is, attr_isnt, attr_like and attr_unlike methods to Test::Mojo.
     (pau4o)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/META.json 
new/Mojolicious-8.32/META.json
--- old/Mojolicious-8.31/META.json      2020-01-14 21:17:46.000000000 +0100
+++ new/Mojolicious-8.32/META.json      2020-01-19 15:34:03.000000000 +0100
@@ -4,7 +4,7 @@
       "Sebastian Riedel <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 7.42, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "artistic_2"
    ],
@@ -62,6 +62,6 @@
       },
       "x_IRC" : "irc://irc.freenode.net/#mojo"
    },
-   "version" : "8.31",
+   "version" : "8.32",
    "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/META.yml 
new/Mojolicious-8.32/META.yml
--- old/Mojolicious-8.31/META.yml       2020-01-14 21:17:46.000000000 +0100
+++ new/Mojolicious-8.32/META.yml       2020-01-19 15:34:03.000000000 +0100
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.42, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.44, 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.31'
+version: '8.32'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/lib/Mojo/Base.pm 
new/Mojolicious-8.32/lib/Mojo/Base.pm
--- old/Mojolicious-8.31/lib/Mojo/Base.pm       2020-01-14 20:58:37.000000000 
+0100
+++ new/Mojolicious-8.32/lib/Mojo/Base.pm       2020-01-18 17:16:12.000000000 
+0100
@@ -128,9 +128,10 @@
     }
 
     # async/await
-    elsif ($flag eq '-async') {
+    elsif ($flag eq '-async_await') {
       Carp::croak 'Future::AsyncAwait 0.35+ is required for async/await'
         unless ASYNC;
+      require Mojo::Promise;
       Future::AsyncAwait->import_into($caller, future_class => 
'Mojo::Promise');
     }
 
@@ -271,14 +272,14 @@
   use Mojo::Base 'SomeBaseClass', -signatures;
   use Mojo::Base -role, -signatures;
 
-If you have L<Future::AsyncAwait> 0.35+ installed you can also use the 
C<-async>
-flag to activate the C<async> and C<await> keywords to deal much more
-efficiently with promises. Note that this feature is B<EXPERIMENTAL> and might
-change without warning!
+If you have L<Future::AsyncAwait> 0.35+ installed you can also use the
+C<-async_await> flag to activate the C<async> and C<await> keywords to deal 
much
+more efficiently with promises. Note that this feature is B<EXPERIMENTAL> and
+might change without warning!
 
   # Also enable async/await
-  use Mojo::Base -strict, -async;
-  use Mojo::Base -base, -signatures, -async;
+  use Mojo::Base -strict, -async_await;
+  use Mojo::Base -base, -signatures, -async_await;
 
 This will also disable experimental warnings on versions of Perl where this
 feature was still experimental.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/lib/Mojolicious/Guides/Cookbook.pod 
new/Mojolicious-8.32/lib/Mojolicious/Guides/Cookbook.pod
--- old/Mojolicious-8.31/lib/Mojolicious/Guides/Cookbook.pod    2020-01-07 
20:37:13.000000000 +0100
+++ new/Mojolicious-8.32/lib/Mojolicious/Guides/Cookbook.pod    2020-01-16 
21:32:51.000000000 +0100
@@ -652,18 +652,18 @@
 =head2 async/await
 
 And if you have L<Future::AsyncAwait> installed you can make using promises 
even
-easier. The C<async> and C<await> keywords are enabled with the C<-async> flag
-of L<Mojo::Base>, and make the use of closures with promises completely
+easier. The C<async> and C<await> keywords are enabled with the C<-async_await>
+flag of L<Mojo::Base>, and make the use of closures with promises completely
 optional.
 
-  use Mojo::Base -strict, -async;
+  use Mojo::Base -strict, -async_await;
 
 The C<async> keyword is placed before the C<sub> keyword, and means that this
 function always returns a promise. Returned values that are not 
L<Mojo::Promise>
 objects will be wrapped in a resolved promise automatically. And if an 
exception
 gets thrown in the function it will result in a rejected promise.
 
-  use Mojo::Base -strict, -async;
+  use Mojo::Base -strict, -async_await;
 
   async sub hello_p {
     return 'Hello Mojo!';
@@ -676,7 +676,7 @@
 rejection reason. While waiting, the event loop is free to perform other tasks
 however, so no resources are wasted.
 
-  use Mojo::Base -strict, -signatures, -async;
+  use Mojo::Base -strict, -signatures, -async_await;
   use Mojo::UserAgent;
   use Mojo::URL;
 
@@ -700,7 +700,7 @@
 instead, by using methods like L<Mojo::Promise/"all"> to combine multiple
 promises before awaiting the results.
 
-  use Mojo::Base -strict, -signatures, -async;
+  use Mojo::Base -strict, -signatures, -async_await;
   use Mojo::Promise;
   use Mojo::UserAgent;
   use Mojo::URL;
@@ -724,7 +724,7 @@
 All of this also means that you can use normal Perl exception handling again.
 Even many 3rd party exception handling modules from CPAN work just fine.
 
-  use Mojo::Base -strict, -async;
+  use Mojo::Base -strict, -async_await;
   use Mojo::Promise;
 
   # Catch a non-blocking exception
@@ -739,7 +739,7 @@
 applications. Just declare your actions with the C<async> keyword and use
 C<await> to wait for promises to be C<fulfilled> or C<rejected>.
 
-  use Mojolicious::Lite -signatures, -async;
+  use Mojolicious::Lite -signatures, -async_await;
 
   # Request HTML titles from two sites non-blocking
   get '/' => async sub ($c) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/lib/Mojolicious.pm 
new/Mojolicious-8.32/lib/Mojolicious.pm
--- old/Mojolicious-8.31/lib/Mojolicious.pm     2020-01-14 20:58:23.000000000 
+0100
+++ new/Mojolicious-8.32/lib/Mojolicious.pm     2020-01-14 21:18:29.000000000 
+0100
@@ -59,7 +59,7 @@
 has validator => sub { Mojolicious::Validator->new };
 
 our $CODENAME = 'Supervillain';
-our $VERSION  = '8.31';
+our $VERSION  = '8.32';
 
 sub BUILD_DYNAMIC {
   my ($class, $method, $dyn_methods) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/t/mojo/promise.t 
new/Mojolicious-8.32/t/mojo/promise.t
--- old/Mojolicious-8.31/t/mojo/promise.t       2020-01-14 20:57:57.000000000 
+0100
+++ new/Mojolicious-8.32/t/mojo/promise.t       2020-01-18 17:15:29.000000000 
+0100
@@ -4,7 +4,6 @@
 
 use Test::More;
 use Mojo::IOLoop;
-use Mojo::Promise;
 
 # Resolved
 my $promise = Mojo::Promise->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-8.31/t/mojo/promise_async_await.t 
new/Mojolicious-8.32/t/mojo/promise_async_await.t
--- old/Mojolicious-8.31/t/mojo/promise_async_await.t   2020-01-14 
20:57:45.000000000 +0100
+++ new/Mojolicious-8.32/t/mojo/promise_async_await.t   2020-01-16 
21:33:01.000000000 +0100
@@ -10,7 +10,7 @@
   plan skip_all => 'Future::AsyncAwait 0.35+ required for this test!'
     unless Mojo::Base->ASYNC;
 }
-use Mojo::Base -async;
+use Mojo::Base -async_await;
 
 use Test::Mojo;
 use Mojo::Promise;


Reply via email to