Hello community,

here is the log from the commit of package perl-Mojolicious-Plugin-RenderFile 
for openSUSE:Factory checked in at 2017-10-03 23:17:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-RenderFile (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-RenderFile.new 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Mojolicious-Plugin-RenderFile"

Tue Oct  3 23:17:39 2017 rev:7 rq:530066 version:0.12

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-RenderFile/perl-Mojolicious-Plugin-RenderFile.changes
    2017-05-16 14:33:55.665776952 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-RenderFile.new/perl-Mojolicious-Plugin-RenderFile.changes
       2017-10-03 23:17:41.730952361 +0200
@@ -1,0 +2,10 @@
+Mon Sep 25 05:44:08 UTC 2017 - [email protected]
+
+- updated to 0.12
+   see /usr/share/doc/packages/perl-Mojolicious-Plugin-RenderFile/Changes
+
+  
+  0.12 
+          Fix warning about content_type and format incompatiblity
+
+-------------------------------------------------------------------

Old:
----
  Mojolicious-Plugin-RenderFile-0.11.tar.gz

New:
----
  Mojolicious-Plugin-RenderFile-0.12.tar.gz

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

Other differences:
------------------
++++++ perl-Mojolicious-Plugin-RenderFile.spec ++++++
--- /var/tmp/diff_new_pack.urBWzv/_old  2017-10-03 23:17:42.418855550 +0200
+++ /var/tmp/diff_new_pack.urBWzv/_new  2017-10-03 23:17:42.418855550 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Mojolicious-Plugin-RenderFile
-Version:        0.11
+Version:        0.12
 Release:        0
 #Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
 %define cpan_name Mojolicious-Plugin-RenderFile
@@ -42,6 +42,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++++++ Mojolicious-Plugin-RenderFile-0.11.tar.gz -> 
Mojolicious-Plugin-RenderFile-0.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-RenderFile-0.11/Changes 
new/Mojolicious-Plugin-RenderFile-0.12/Changes
--- old/Mojolicious-Plugin-RenderFile-0.11/Changes      2017-04-13 
08:26:18.000000000 +0200
+++ new/Mojolicious-Plugin-RenderFile-0.12/Changes      2017-09-24 
10:45:29.000000000 +0200
@@ -34,3 +34,6 @@
 
 0.11
         Add "content_type" option
+
+0.12 
+        Fix warning about content_type and format incompatiblity
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-RenderFile-0.11/META.json 
new/Mojolicious-Plugin-RenderFile-0.12/META.json
--- old/Mojolicious-Plugin-RenderFile-0.11/META.json    2017-04-13 
08:27:51.000000000 +0200
+++ new/Mojolicious-Plugin-RenderFile-0.12/META.json    2017-09-24 
10:46:40.000000000 +0200
@@ -4,7 +4,7 @@
       "Viktor Turskyi <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter 
version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150001",
    "license" : [
       "unknown"
    ],
@@ -43,6 +43,5 @@
          "url" : "https://github.com/koorchik/Mojolicious-Plugin-RenderFile";
       }
    },
-   "version" : "0.11",
-   "x_serialization_backend" : "JSON::PP version 2.27300"
+   "version" : "0.12"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-Plugin-RenderFile-0.11/META.yml 
new/Mojolicious-Plugin-RenderFile-0.12/META.yml
--- old/Mojolicious-Plugin-RenderFile-0.11/META.yml     2017-04-13 
08:27:51.000000000 +0200
+++ new/Mojolicious-Plugin-RenderFile-0.12/META.yml     2017-09-24 
10:46:40.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter 
version 2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150001'
 license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,5 +22,4 @@
   perl: '5.01'
 resources:
   repository: https://github.com/koorchik/Mojolicious-Plugin-RenderFile
-version: '0.11'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+version: '0.12'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Mojolicious-Plugin-RenderFile-0.11/lib/Mojolicious/Plugin/RenderFile.pm 
new/Mojolicious-Plugin-RenderFile-0.12/lib/Mojolicious/Plugin/RenderFile.pm
--- old/Mojolicious-Plugin-RenderFile-0.11/lib/Mojolicious/Plugin/RenderFile.pm 
2017-04-13 08:21:23.000000000 +0200
+++ new/Mojolicious-Plugin-RenderFile-0.12/lib/Mojolicious/Plugin/RenderFile.pm 
2017-09-24 10:44:39.000000000 +0200
@@ -7,7 +7,7 @@
 use Encode qw( encode decode_utf8 );
 use Mojo::Util 'quote';
 
-our $VERSION = '0.11';
+our $VERSION = '0.12';
 
 sub register {
     my ( $self, $app ) = @_;
@@ -25,8 +25,10 @@
         my $cleanup             = $args{cleanup} // 0;
 
         # Content type based on format
-               $c->app->log->error('You cannot provide both "format" and 
"content_type" option');
-        return if $args{format} && $args{content_type};
+        if ($args{format} && $args{content_type}) {
+            $c->app->log->error('You cannot provide both "format" and 
"content_type" option');
+            return;
+        }
 
         my $content_type = $args{content_type};
         $content_type ||= $c->app->types->type( $args{format} ) if 
$args{format};
@@ -148,7 +150,7 @@
 
 =item C<data>
 
-Binary content which will be transfered to browser. You must always pass 
"filepath" or "data" option
+Binary content which will be transferred to browser. You must always pass 
"filepath" or "data" option
 
 =item C<filename> (optional)
 


Reply via email to