Hello community,
here is the log from the commit of package perl-Mojolicious for openSUSE:Factory checked in at 2015-12-29 12:59:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-12-16 17:45:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Mojolicious.new/perl-Mojolicious.changes 2015-12-29 12:59:36.000000000 +0100
@@ -1,0 +2,11 @@
+Sat Dec 26 09:57:30 UTC 2015 - coolo@suse.com
+
+- updated to 6.38
+ see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+ 6.38 2015-12-19
+ - Updated prettify.js to version 8-Dec-2015.
+ - Improved form generation in Mojo::UserAgent::Transactor to use UTF-8 as the
+ default charset.
+
+-------------------------------------------------------------------
Old:
----
Mojolicious-6.37.tar.gz
New:
----
Mojolicious-6.38.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.spqYS9/_old 2015-12-29 12:59:37.000000000 +0100
+++ /var/tmp/diff_new_pack.spqYS9/_new 2015-12-29 12:59:37.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-Mojolicious
-Version: 6.37
+Version: 6.38
Release: 0
%define cpan_name Mojolicious
Summary: Real-time web framework
++++++ Mojolicious-6.37.tar.gz -> Mojolicious-6.38.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.37/Changes new/Mojolicious-6.38/Changes
--- old/Mojolicious-6.37/Changes 2015-12-14 23:39:03.000000000 +0100
+++ new/Mojolicious-6.38/Changes 2015-12-19 12:46:46.000000000 +0100
@@ -1,4 +1,9 @@
+6.38 2015-12-19
+ - Updated prettify.js to version 8-Dec-2015.
+ - Improved form generation in Mojo::UserAgent::Transactor to use UTF-8 as the
+ default charset.
+
6.37 2015-12-14
- Added protocol and with_protocols methods to Mojo::Transaction::WebSocket.
- Fixed a few reference encoding bugs in Mojo::JSON.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.37/META.json new/Mojolicious-6.38/META.json
--- old/Mojolicious-6.37/META.json 2015-12-15 01:34:58.000000000 +0100
+++ new/Mojolicious-6.38/META.json 2015-12-21 02:53:49.000000000 +0100
@@ -58,5 +58,5 @@
},
"x_IRC" : "irc://irc.perl.org/#mojo"
},
- "version" : "6.37"
+ "version" : "6.38"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.37/META.yml new/Mojolicious-6.38/META.yml
--- old/Mojolicious-6.37/META.yml 2015-12-15 01:34:58.000000000 +0100
+++ new/Mojolicious-6.38/META.yml 2015-12-21 02:53:49.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.37'
+version: '6.38'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.37/lib/Mojo/UserAgent/Transactor.pm new/Mojolicious-6.38/lib/Mojo/UserAgent/Transactor.pm
--- old/Mojolicious-6.37/lib/Mojo/UserAgent/Transactor.pm 2015-12-14 23:39:03.000000000 +0100
+++ new/Mojolicious-6.38/lib/Mojo/UserAgent/Transactor.pm 2015-12-17 07:34:25.000000000 +0100
@@ -151,6 +151,7 @@
sub _form {
my ($self, $tx, $form, %options) = @_;
+ $options{charset} = 'UTF-8' unless exists $options{charset};
# Check for uploads and force multipart if necessary
my $req = $tx->req;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.37/lib/Mojo/UserAgent.pm new/Mojolicious-6.38/lib/Mojo/UserAgent.pm
--- old/Mojolicious-6.37/lib/Mojo/UserAgent.pm 2015-12-14 23:39:03.000000000 +0100
+++ new/Mojolicious-6.38/lib/Mojo/UserAgent.pm 2015-12-15 23:36:05.000000000 +0100
@@ -859,6 +859,7 @@
$ua->websocket('wss://example.com/echo' => ['v1.proto'] => sub {
my ($ua, $tx) = @_;
say 'WebSocket handshake failed!' and return unless $tx->is_websocket;
+ say 'Subprotocol negotiation failed!' and return unless $tx->protocol;
$tx->on(finish => sub {
my ($tx, $code, $reason) = @_;
say "WebSocket closed with status $code.";
@@ -876,8 +877,9 @@
C<Sec-WebSocket-Extensions> header, this can result in much better performance,
but also increases memory usage by up to 300KB per connection.
- my $headers = {'Sec-WebSocket-Extensions' => 'permessage-deflate'};
- $ua->websocket('ws://example.com/foo' => $headers => sub {...});
+ $ua->websocket('ws://example.com/foo' => {
+ 'Sec-WebSocket-Extensions' => 'permessage-deflate'
+ } => sub {...});
=head1 DEBUGGING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-6.37/lib/Mojolicious/Guides/Cookbook.pod new/Mojolicious-6.38/lib/Mojolicious/Guides/Cookbook.pod
--- old/Mojolicious-6.37/lib/Mojolicious/Guides/Cookbook.pod 2015-12-10 17:21:50.000000000 +0100
+++ new/Mojolicious-6.38/lib/Mojolicious/Guides/Cookbook.pod 2015-12-18 17:15:03.000000000 +0100
@@ -296,8 +296,9 @@
Sometimes you might have to deploy your application in a blackbox environment
where you can't just change the server configuration or behind a reverse proxy
-that passes along additional information with C =0;)b[q.charAt(f)]=m;m=m[1];q=""+m;i.hasOwnProperty(q)||(l.push(m),i[q]=r)}l.push(/[\S\s]/);e=j(l)})();var i=d.length;return h}function t(a){var d=[],h=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,
-r,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,r,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,r,"\"'"]);a.verbatimStrings&&h.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,r]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,r,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,
-r,"#"]),h.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,r])):d.push(["com",/^#[^\n\r]*/,r,"#"]));a.cStyleComments&&(h.push(["com",/^\/\/[^\n\r]*/,r]),h.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,r]));if(b=a.regexLiterals){var e=(b=b>1?"":"\n\r")?".":"[\\S\\s]";h.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+
-("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+e+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+e+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&h.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&h.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),r]);d.push(["pln",/^\s+/,r," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");h.push(["lit",/^@[$_a-z][\w$@]*/i,r],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,r],["pln",/^[$_a-z][\w$@]*/i,r],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,
-r,"0123456789"],["pln",/^\\[\S\s]?/,r],["pun",RegExp(b),r]);return C(d,h)}function z(a,d,h){function b(a){var c=a.nodeType;if(c==1&&!j.test(a.className))if("br"===a.nodeName)e(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&h){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(l.createTextNode(d),a.nextSibling),e(a),c||a.parentNode.removeChild(a)}}
-function e(a){function b(a,c){var d=c?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),h=a.nextSibling;f.appendChild(d);for(var e=h;e;e=h)h=e.nextSibling,f.appendChild(e)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var j=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,l=a.ownerDocument,i=l.createElement("li");a.firstChild;)i.appendChild(a.firstChild);for(var c=[i],p=0;p