Hello community,

here is the log from the commit of package perl-Perl-Tidy for openSUSE:Factory 
checked in at 2018-01-24 15:30:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Perl-Tidy (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Perl-Tidy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Perl-Tidy"

Wed Jan 24 15:30:20 2018 rev:19 rq:568403 version:20180101

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Perl-Tidy/perl-Perl-Tidy.changes    
2017-12-18 08:57:59.811175665 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Perl-Tidy.new/perl-Perl-Tidy.changes       
2018-01-24 15:30:25.958563504 +0100
@@ -1,0 +2,92 @@
+Mon Jan  1 06:52:06 UTC 2018 - co...@suse.com
+
+- updated to 20180101
+   see /usr/share/doc/packages/perl-Perl-Tidy/CHANGES
+
+    2018 01 01
+        - Added new flag -wn (--weld-nested-containers) which addresses these 
issues:
+          RT #123749: Problem with promises; 
+          RT #119970: opening token stacking strange behavior;
+          RT #81853: Can't stack block braces
+  
+          This option causes closely nested pairs of opening and closing 
containers
+          to be "welded" together and essentially be formatted as a single 
unit,
+          with just one level of indentation.
+  
+          Since this is a new flag it is set to be "off" by default but it has 
given 
+          excellent results in testing. 
+  
+          EXAMPLE 1, multiple blocks, default formatting:
+              do {
+                  {
+                      next if $x == $y;    # do something here
+                  }
+              } until $x++ > $z;
+  
+          perltidy -wn
+              do { {
+                  next if $x == $y;
+              } } until $x++ > $z;
+  
+           EXAMPLE 2, three levels of wrapped function calls, default 
formatting:
+                  p(
+                      em(
+                          conjug(
+                              translate( param('verb') ), param('tense'),
+                              param('person')
+                          )
+                      )
+                  );
+  
+              # perltidy -wn
+                  p( em( conjug(
+                      translate( param('verb') ),
+                      param('tense'), param('person')
+                  ) ) );
+  
+              # EXAMPLE 3, chained method calls, default formatting:
+              get('http://mojolicious.org')->then(
+                  sub {
+                      my $mojo = shift;
+                      say $mojo->res->code;
+                      return get('http://metacpan.org');
+                  }
+              )->then(
+                  sub {
+                      my $cpan = shift;
+                      say $cpan->res->code;
+                  }
+              )->catch(
+                  sub {
+                      my $err = shift;
+                      warn "Something went wrong: $err";
+                  }
+              )->wait;
+  
+              # perltidy -wn
+              get('http://mojolicious.org')->then( sub {
+                  my $mojo = shift;
+                  say $mojo->res->code;
+                  return get('http://metacpan.org');
+              } )->then( sub {
+                  my $cpan = shift;
+                  say $cpan->res->code;
+              } )->catch( sub {
+                  my $err = shift;
+                  warn "Something went wrong: $err";
+              } )->wait;
+  
+  
+        - Fixed RT #114359: Missparsing of "print $x ** 0.5;
+  
+        - Deactivated the --check-syntax flag for better security.  It will be
+          ignored if set.  
+  
+        - Corrected minimum perl version from 5.004 to 5.008 based on perlver
+          report.  The change is required for coding involving wide characters.
+  
+        - For certain severe errors, the source file will be copied directly 
to the
+          output without formatting. These include ending in a quote, ending 
in a
+          here doc, and encountering an unidentified character.
+
+-------------------------------------------------------------------

Old:
----
  Perl-Tidy-20171214.tar.gz

New:
----
  Perl-Tidy-20180101.tar.gz

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

Other differences:
------------------
++++++ perl-Perl-Tidy.spec ++++++
--- /var/tmp/diff_new_pack.k67ZJm/_old  2018-01-24 15:30:26.630532076 +0100
+++ /var/tmp/diff_new_pack.k67ZJm/_new  2018-01-24 15:30:26.630532076 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Perl-Tidy
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Perl-Tidy
-Version:        20171214
+Version:        20180101
 Release:        0
 #Upstream:  This package is free software; you can redistribute it and/or 
modify it under the terms of the "GNU General Public License". Please refer to 
the file "COPYING" for details.
 %define cpan_name Perl-Tidy
@@ -51,6 +51,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++++++ Perl-Tidy-20171214.tar.gz -> Perl-Tidy-20180101.tar.gz ++++++
++++ 5024 lines of diff (skipped)


Reply via email to