Hello community,

here is the log from the commit of package perl-Mojolicious for 
openSUSE:Factory checked in at 2015-11-10 10:03:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Mojolicious.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Mojolicious"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes        
2015-11-08 11:26:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Mojolicious.new/perl-Mojolicious.changes   
2015-11-10 10:03:24.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Nov  8 09:57:43 UTC 2015 - [email protected]
+
+- updated to 6.29
+   see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+  6.29  2015-11-03
+    - Fixed a few bugs in built-in templates. (Zoffix, sri)
+
+-------------------------------------------------------------------

Old:
----
  Mojolicious-6.28.tar.gz

New:
----
  Mojolicious-6.29.tar.gz

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

Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.tQzPf2/_old  2015-11-10 10:03:25.000000000 +0100
+++ /var/tmp/diff_new_pack.tQzPf2/_new  2015-11-10 10:03:25.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Mojolicious
-Version:        6.28
+Version:        6.29
 Release:        0
 %define cpan_name Mojolicious
 Summary:        Real-time web framework

++++++ Mojolicious-6.28.tar.gz -> Mojolicious-6.29.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-6.28/Changes new/Mojolicious-6.29/Changes
--- old/Mojolicious-6.28/Changes        2015-11-02 13:10:32.000000000 +0100
+++ new/Mojolicious-6.29/Changes        2015-11-03 17:20:56.000000000 +0100
@@ -1,4 +1,7 @@
 
+6.29  2015-11-03
+  - Fixed a few bugs in built-in templates. (Zoffix, sri)
+
 6.28  2015-11-02
   - Improved build_app method in Mojo::Server to work more like the load_app
     method.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-6.28/META.json 
new/Mojolicious-6.29/META.json
--- old/Mojolicious-6.28/META.json      2015-11-02 16:16:03.000000000 +0100
+++ new/Mojolicious-6.29/META.json      2015-11-04 11:04:11.000000000 +0100
@@ -58,5 +58,5 @@
       },
       "x_IRC" : "irc://irc.perl.org/#mojo"
    },
-   "version" : "6.28"
+   "version" : "6.29"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-6.28/META.yml 
new/Mojolicious-6.29/META.yml
--- old/Mojolicious-6.28/META.yml       2015-11-02 16:16:03.000000000 +0100
+++ new/Mojolicious-6.29/META.yml       2015-11-04 11:04:11.000000000 +0100
@@ -31,4 +31,4 @@
   homepage: http://mojolicio.us
   license: http://www.opensource.org/licenses/artistic-license-2.0
   repository: https://github.com/kraih/mojo.git
-version: '6.28'
+version: '6.29'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-6.28/lib/Mojo/Log.pm 
new/Mojolicious-6.29/lib/Mojo/Log.pm
--- old/Mojolicious-6.28/lib/Mojo/Log.pm        2015-11-02 13:08:37.000000000 
+0100
+++ new/Mojolicious-6.29/lib/Mojo/Log.pm        2015-11-03 19:34:57.000000000 
+0100
@@ -189,52 +189,52 @@
   $log = $log->debug('You screwed up, but that is ok');
   $log = $log->debug('All', 'cool');
 
-Emit L</"message"> event and log debug message.
+Emit L</"message"> event and log C<debug> message.
 
 =head2 error
 
   $log = $log->error('You really screwed up this time');
   $log = $log->error('Wow', 'seriously');
 
-Emit L</"message"> event and log error message.
+Emit L</"message"> event and log C<error> message.
 
 =head2 fatal
 
   $log = $log->fatal('Its over...');
   $log = $log->fatal('Bye', 'bye');
 
-Emit L</"message"> event and log fatal message.
+Emit L</"message"> event and log C<fatal> message.
 
 =head2 info
 
   $log = $log->info('You are bad, but you prolly know already');
   $log = $log->info('Ok', 'then');
 
-Emit L</"message"> event and log info message.
+Emit L</"message"> event and log C<info> message.
 
 =head2 is_debug
 
   my $bool = $log->is_debug;
 
-Check for debug log level.
+Check if C<debug> log level is active.
 
 =head2 is_error
 
   my $bool = $log->is_error;
 
-Check for error log level.
+Check if C<error> log level is active.
 
 =head2 is_info
 
   my $bool = $log->is_info;
 
-Check for info log level.
+Check if C<info> log level is active.
 
 =head2 is_warn
 
   my $bool = $log->is_warn;
 
-Check for warn log level.
+Check if C<warn> log level is active.
 
 =head2 new
 
@@ -248,7 +248,7 @@
   $log = $log->warn('Dont do that Dave...');
   $log = $log->warn('No', 'really');
 
-Emit L</"message"> event and log warn message.
+Emit L</"message"> event and log C<warn> message.
 
 =head1 SEE ALSO
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-6.28/lib/Mojolicious/Guides/Routing.pod 
new/Mojolicious-6.29/lib/Mojolicious/Guides/Routing.pod
--- old/Mojolicious-6.28/lib/Mojolicious/Guides/Routing.pod     2015-10-28 
01:06:22.000000000 +0100
+++ new/Mojolicious-6.29/lib/Mojolicious/Guides/Routing.pod     2015-11-03 
10:25:26.000000000 +0100
@@ -949,7 +949,7 @@
 
 =head2 Embed applications
 
-For a litte more power you can also embed applications by using them instead of
+For a little more power you can also embed applications by using them instead 
of
 a controller. This allows for example, the use of the L<Mojolicious::Lite>
 domain specific language in normal L<Mojolicious> controllers.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-6.28/lib/Mojolicious/Plugin/PODRenderer.pm 
new/Mojolicious-6.29/lib/Mojolicious/Plugin/PODRenderer.pm
--- old/Mojolicious-6.28/lib/Mojolicious/Plugin/PODRenderer.pm  2015-10-20 
15:33:03.000000000 +0200
+++ new/Mojolicious-6.29/lib/Mojolicious/Plugin/PODRenderer.pm  2015-11-03 
16:47:42.000000000 +0100
@@ -64,11 +64,10 @@
   for my $e ($dom->find('h1, h2, h3')->each) {
 
     push @parts, [] if $e->tag eq 'h1' || !@parts;
-    my $anchor = $e->{id};
-    my $link   = Mojo::URL->new->fragment($anchor);
+    my $link = Mojo::URL->new->fragment($e->{id});
     push @{$parts[-1]}, my $text = $e->all_text, $link;
     my $permalink = $c->link_to('#' => $link, class => 'permalink');
-    $e->content($permalink . $c->link_to($text => $toc, id => $anchor));
+    $e->content($permalink . $c->link_to($text => $toc));
   }
 
   # Try to find a title
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-6.28/lib/Mojolicious/resources/templates/mojo/menubar.html.ep 
new/Mojolicious-6.29/lib/Mojolicious/resources/templates/mojo/menubar.html.ep
--- 
old/Mojolicious-6.28/lib/Mojolicious/resources/templates/mojo/menubar.html.ep   
    2015-10-27 15:59:30.000000000 +0100
+++ 
new/Mojolicious-6.29/lib/Mojolicious/resources/templates/mojo/menubar.html.ep   
    2015-11-03 19:30:47.000000000 +0100
@@ -82,8 +82,11 @@
 <script>
   var mojobar = $('#mojobar');
   var mojobarHeight = mojobar.outerHeight();
+  function getElementByHash(hash) {
+    return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
+  }
   function fixOffset() {
-    var offset = $(window.location.hash).offset();
+    var offset = getElementByHash(window.location.hash).offset();
     if (offset) {
       $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
     }
@@ -125,11 +128,11 @@
   });
   $(document).ready(function () {
     $('a[href^="#"]').addClass('mojoscroll');
-    $(".mojoscroll").click(function (e) {
+    $('.mojoscroll').click(function (e) {
       e.preventDefault();
       e.stopPropagation();
-      var hash   = "#" + this.href.split("#")[1];
-      var target = $(hash);
+      var hash   = '#' + this.href.split('#')[1];
+      var target = getElementByHash(hash);
       var old    = target.attr('id');
       target.attr('id', '');
       location.hash = hash;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-6.28/lib/Mojolicious/resources/templates/mojo/perldoc.html.ep 
new/Mojolicious-6.29/lib/Mojolicious/resources/templates/mojo/perldoc.html.ep
--- 
old/Mojolicious-6.28/lib/Mojolicious/resources/templates/mojo/perldoc.html.ep   
    2015-10-20 15:33:49.000000000 +0200
+++ 
new/Mojolicious-6.29/lib/Mojolicious/resources/templates/mojo/perldoc.html.ep   
    2015-11-03 17:11:23.000000000 +0100
@@ -90,7 +90,7 @@
     </style>
   </head>
   <body>
-    %= include 'mojo/mojobar'
+    %= include 'mojo/menubar'
     <div id="wrapperlicious">
       <div id="perldoc">
         <div id="source">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-6.28/lib/Mojolicious.pm 
new/Mojolicious-6.29/lib/Mojolicious.pm
--- old/Mojolicious-6.28/lib/Mojolicious.pm     2015-10-30 01:06:42.000000000 
+0100
+++ new/Mojolicious-6.29/lib/Mojolicious.pm     2015-11-02 16:16:41.000000000 
+0100
@@ -43,7 +43,7 @@
 has validator => sub { Mojolicious::Validator->new };
 
 our $CODENAME = 'Clinking Beer Mugs';
-our $VERSION  = '6.28';
+our $VERSION  = '6.29';
 
 sub AUTOLOAD {
   my $self = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-6.28/t/mojolicious/exception_lite_app.t 
new/Mojolicious-6.29/t/mojolicious/exception_lite_app.t
--- old/Mojolicious-6.28/t/mojolicious/exception_lite_app.t     2015-08-29 
01:31:39.000000000 +0200
+++ new/Mojolicious-6.29/t/mojolicious/exception_lite_app.t     2015-11-03 
23:57:33.000000000 +0100
@@ -137,11 +137,11 @@
   ->content_is('fatal: five');
 like $log, qr/fatal:five/, 'right result';
 
-# "not_found.development.html.ep" route suggestion
-$t->get_ok('/does_not_exist')->status_is(404)
+# "debug.html.ep" route suggestion
+$t->get_ok('/does_not_exist')->status_is(404)->element_exists('#mojobar')
   ->content_like(qr!/does_not_exist!);
 
-# "not_found.development.html.ep" route suggestion
+# "debug.html.ep" route suggestion
 $t->post_ok('/does_not_exist')->status_is(404)
   ->content_like(qr!/does_not_exist!);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-6.28/t/mojolicious/pod_renderer_lite_app.t 
new/Mojolicious-6.29/t/mojolicious/pod_renderer_lite_app.t
--- old/Mojolicious-6.28/t/mojolicious/pod_renderer_lite_app.t  2015-08-29 
01:31:45.000000000 +0200
+++ new/Mojolicious-6.29/t/mojolicious/pod_renderer_lite_app.t  2015-11-03 
23:53:16.000000000 +0100
@@ -52,33 +52,34 @@
 $t->get_ok('/empty')->status_is(200)->content_is('');
 
 # Perldoc browser (Welcome)
-$t->get_ok('/perldoc')->status_is(200)->text_is('a[id="TUTORIAL"]', 'TUTORIAL')
-  ->text_is('a[id="GUIDES"]', 'GUIDES')
+$t->get_ok('/perldoc')->status_is(200)->element_exists('#mojobar')
+  ->text_is('#TUTORIAL a:nth-of-type(2)', 'TUTORIAL')
+  ->text_is('#GUIDES a:nth-of-type(2)',   'GUIDES')
   ->content_like(qr/Mojolicious guide to the galaxy/);
 
 # Perldoc browser (Welcome with slash)
 $t->get_ok('/perldoc/')->status_is(200)
-  ->text_is('a[id="TUTORIAL"]', 'TUTORIAL')
-  ->text_is('a[id="GUIDES"]',   'GUIDES')
+  ->text_is('#TUTORIAL a:nth-of-type(2)', 'TUTORIAL')
+  ->text_is('#GUIDES a:nth-of-type(2)',   'GUIDES')
   ->content_like(qr/Mojolicious guide to the galaxy/)
   ->content_unlike(qr/Pirates/);
 
 # Perldoc browser (Mojo documentation)
 $t->get_ok('/perldoc/Mojo')->status_is(200)
-  ->text_is('h1 a[id="SYNOPSIS"]', 'SYNOPSIS')
-  ->text_is('a[id="handler"]',     'handler')
+  ->text_is('h1#SYNOPSIS a:nth-of-type(2)', 'SYNOPSIS')
+  ->text_is('#handler a:nth-of-type(2)',    'handler')
   ->text_like('p', qr/Duct tape for the HTML5 web!/);
 
 # Perldoc browser (Mojo documentation with format)
 $t->get_ok('/perldoc/Mojo.html')->status_is(200)
-  ->text_is('h1 a[id="SYNOPSIS"]', 'SYNOPSIS')
-  ->text_is('a[id="handler"]',     'handler')
+  ->text_is('h1#SYNOPSIS a:nth-of-type(2)', 'SYNOPSIS')
+  ->text_is('#handler a:nth-of-type(2)',    'handler')
   ->text_like('p', qr/Duct tape for the HTML5 web!/);
 
 # Perldoc browser (negotiated Mojo documentation)
 $t->get_ok('/perldoc/Mojo' => {Accept => 'text/html'})->status_is(200)
-  ->text_is('h1 a[id="SYNOPSIS"]', 'SYNOPSIS')
-  ->text_is('a[id="handler"]',     'handler')
+  ->text_is('h1#SYNOPSIS a:nth-of-type(2)', 'SYNOPSIS')
+  ->text_is('#handler a:nth-of-type(2)',    'handler')
   ->text_like('p', qr/Duct tape for the HTML5 web!/);
 
 # Perldoc browser (Mojo source with format)


Reply via email to