Hello community,

here is the log from the commit of package perl-Text-Diff for openSUSE:Factory 
checked in at 2017-08-29 11:37:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-Diff (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Text-Diff.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Text-Diff"

Tue Aug 29 11:37:00 2017 rev:18 rq:517969 version:1.45

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-Diff/perl-Text-Diff.changes    
2016-03-16 10:24:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Text-Diff.new/perl-Text-Diff.changes       
2017-08-29 11:37:02.955712404 +0200
@@ -1,0 +2,10 @@
+Sat Aug 19 06:21:46 UTC 2017 - co...@suse.com
+
+- updated to 1.45
+   see /usr/share/doc/packages/perl-Text-Diff/Changes
+
+  1.45 2017-08-16 NEILB
+      - Typo fixed in doc. Patch from Lucas Kanashiro++. RT#112564
+      - Documentation improvements PR from David Gutteridge++.
+
+-------------------------------------------------------------------

Old:
----
  Text-Diff-1.44.tar.gz

New:
----
  Text-Diff-1.45.tar.gz

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

Other differences:
------------------
++++++ perl-Text-Diff.spec ++++++
--- /var/tmp/diff_new_pack.0PdNTo/_old  2017-08-29 11:37:04.931434811 +0200
+++ /var/tmp/diff_new_pack.0PdNTo/_new  2017-08-29 11:37:04.955431440 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Text-Diff
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,14 +17,14 @@
 
 
 Name:           perl-Text-Diff
-Version:        1.44
+Version:        1.45
 Release:        0
 %define cpan_name Text-Diff
 Summary:        Perform diffs on files and record sets
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Text-Diff/
-Source0:        
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -44,7 +44,7 @@
 Relies on Algorithm::Diff for, well, the algorithm. This may not produce
 the same exact diff as a system's local 'diff' executable, but it will be a
 valid diff and comprehensible by 'patch'. We haven't seen any differences
-between Algorithm::Diff's logic and GNU diff's, but we have not examined
+between Algorithm::Diff's logic and GNU 'diff''s, but we have not examined
 them to make sure they are indeed identical.
 
 *Note*: If you don't want to import the 'diff' function, do one of the
@@ -54,7 +54,7 @@
 
    require Text::Diff;
 
-That's a pretty rare occurence, so 'diff()' is exported by default.
+That's a pretty rare occurrence, so 'diff()' is exported by default.
 
 If you pass a filename, but the file can't be read, then 'diff()' will
 'croak'.
@@ -76,6 +76,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
 
 %changelog

++++++ Text-Diff-1.44.tar.gz -> Text-Diff-1.45.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Diff-1.44/Changes new/Text-Diff-1.45/Changes
--- old/Text-Diff-1.44/Changes  2016-02-27 00:04:12.000000000 +0100
+++ new/Text-Diff-1.45/Changes  2017-08-16 20:39:01.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for Perl module Text::Diff
 
+1.45 2017-08-16 NEILB
+    - Typo fixed in doc. Patch from Lucas Kanashiro++. RT#112564
+    - Documentation improvements PR from David Gutteridge++.
+
 1.44 2016-02-26 NEILB
     - Fixed the handling of text without a trailing newline. This module now
       adds the same text that the diff tool does, "\n\\ No newline at end of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Diff-1.44/META.json new/Text-Diff-1.45/META.json
--- old/Text-Diff-1.44/META.json        2016-02-27 00:05:49.000000000 +0100
+++ new/Text-Diff-1.45/META.json        2017-08-16 20:39:27.000000000 +0200
@@ -4,7 +4,7 @@
       "Adam Kennedy <ad...@cpan.org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter 
version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter 
version 2.150005",
    "license" : [
       "perl_5"
    ],
@@ -44,6 +44,6 @@
          "url" : "https://github.com/neilbowers/Text-Diff";
       }
    },
-   "version" : "1.44",
+   "version" : "1.45",
    "x_serialization_backend" : "JSON::PP version 2.27203"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Diff-1.44/META.yml new/Text-Diff-1.45/META.yml
--- old/Text-Diff-1.44/META.yml 2016-02-27 00:05:49.000000000 +0100
+++ new/Text-Diff-1.45/META.yml 2017-08-16 20:39:27.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter version 
2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 
2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,5 +23,5 @@
   perl: '5.006'
 resources:
   repository: https://github.com/neilbowers/Text-Diff
-version: '1.44'
+version: '1.45'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Diff-1.44/lib/Text/Diff.pm 
new/Text-Diff-1.45/lib/Text/Diff.pm
--- old/Text-Diff-1.44/lib/Text/Diff.pm 2016-02-27 00:04:33.000000000 +0100
+++ new/Text-Diff-1.45/lib/Text/Diff.pm 2017-08-16 20:37:46.000000000 +0200
@@ -7,7 +7,7 @@
 use Exporter        ();
 use Algorithm::Diff ();
 
-our $VERSION = '1.44';
+our $VERSION = '1.45';
 our @ISA     = qw/ Exporter /;
 our @EXPORT  = qw/ diff /;
 
@@ -423,8 +423,8 @@
 Relies on L<Algorithm::Diff> for, well, the algorithm.  This may not produce
 the same exact diff as a system's local C<diff> executable, but it will be a
 valid diff and comprehensible by C<patch>.  We haven't seen any differences
-between Algorithm::Diff's logic and GNU diff's, but we have not examined them
-to make sure they are indeed identical.
+between L<Algorithm::Diff>'s logic and GNU C<diff>'s, but we have not examined
+them to make sure they are indeed identical.
 
 B<Note>: If you don't want to import the C<diff> function, do one of the
 following:
@@ -433,27 +433,28 @@
 
    require Text::Diff;
 
-That's a pretty rare occurence, so C<diff()> is exported by default.
+That's a pretty rare occurrence,
+so C<diff()> is exported by default.
 
 If you pass a filename, but the file can't be read,
 then C<diff()> will C<croak>.
 
 =head1 OPTIONS
 
-diff() takes two parameters from which to draw input and a set of
-options to control it's output.  The options are:
+C<diff()> takes two parameters from which to draw input and a set of
+options to control its output.  The options are:
 
 =over
 
 =item FILENAME_A, MTIME_A, FILENAME_B, MTIME_B
 
-The name of the file and the modification time "files"
+The name of the file and the modification time "files".
 
-These are filled in automatically for each file when diff() is passed a
+These are filled in automatically for each file when C<diff()> is passed a
 filename, unless a defined value is passed in.
 
 If a filename is not passed in and FILENAME_A and FILENAME_B are not provided
-or C<undef>, the header will not be printed.
+or are C<undef>, the header will not be printed.
 
 Unused on C<OldStyle> diffs.
 
@@ -462,7 +463,7 @@
 The index of the first line / element.  These default to 1 for all
 parameter types except ARRAY references, for which the default is 0.  This
 is because ARRAY references are presumed to be data structures, while the
-others are line oriented text.
+others are line-oriented text.
 
 =item STYLE
 
@@ -474,9 +475,9 @@
 Defaults to "Unified" (unlike standard C<diff>, but Unified is what's most
 often used in submitting patches and is the most human readable of the three.
 
-If the package indicated by the STYLE has no hunk() method, c<diff()> will
+If the package indicated by the STYLE has no C<hunk()> method, C<diff()> will
 load it automatically (lazy loading).  Since all such packages should inherit
-from Text::Diff::Base, this should be marvy.
+from C<Text::Diff::Base>, this should be marvy.
 
 Styles may be specified as class names (C<STYLE =E<gt> 'Foo'>),
 in which case they will be C<new()>ed with no parameters,
@@ -514,21 +515,23 @@
 =back
 
 B<Note>: if neither C<FILENAME_> option is defined, the header will not be
-printed.  If at one is present, the other and both MTIME_ options must be
-present or "Use of undefined variable" warnings will be generated (except
+printed.  If at least one is present, the other and both C<MTIME_> options must
+be present or "Use of undefined variable" warnings will be generated (except
 on C<OldStyle> diffs, which ignores these options).
 
 =head1 Formatting Classes
 
 These functions implement the output formats.  They are grouped in to classes
-so diff() can use class names to call the correct set of output routines and so
-that you may inherit from them easily.  There are no constructors or instance
-methods for these classes, though subclasses may provide them if need be.
-
-Each class has file_header(), hunk_header(), hunk(), and footer() methods
-identical to those documented in the Text::Diff::Unified section.  header() is
-called before the hunk() is first called, footer() afterwards.  The default
-footer function is an empty method provided for overloading:
+so C<diff()> can use class names to call the correct set of output routines and
+so that you may inherit from them easily.  There are no constructors or
+instance methods for these classes, though subclasses may provide them if need
+be.
+
+Each class has C<file_header()>, C<hunk_header()>, C<hunk()>, and C<footer()>
+methods identical to those documented in the C<Text::Diff::Unified> section.
+C<header()> is called before the C<hunk()> is first called, C<footer()>
+afterwards.  The default footer function is an empty method provided for
+overloading:
 
     sub footer { return "End of patch\n" }
 
@@ -563,12 +566,12 @@
 
 =over
 
-=item file_header
+=item Text::Diff::Unified::file_header
 
   $s = Text::Diff::Unified->file_header( $options );
 
 Returns a string containing a unified header.  The sole parameter is the
-options hash passed in to diff(), containing at least:
+C<options> hash passed in to C<diff()>, containing at least:
 
   FILENAME_A  => $fn1,
   MTIME_A     => $mtime1,
@@ -582,11 +585,11 @@
 
 to override the default prefixes (default values shown).
 
-=item hunk_header
+=item Text::Diff::Unified::hunk_header
 
   Text::Diff::Unified->hunk_header( \@ops, $options );
 
-Returns a string containing the output of one hunk of unified diff.
+Returns a string containing the heading of one hunk of unified diff.
 
 =item Text::Diff::Unified::hunk
 
@@ -668,7 +671,7 @@
       12
       13
 
-Note: hunk_header() returns only "***************\n".
+Note: C<hunk_header()> returns only "***************\n".
 
 =head2 Text::Diff::OldStyle
 
@@ -681,23 +684,23 @@
     12d12
     < 11d
 
-Note: no file_header().
+Note: no C<file_header()>.
 
 =head1 LIMITATIONS
 
 Must suck both input files entirely in to memory and store them with a normal
 amount of Perlish overhead (one array location) per record.  This is implied by
-the implementation of Algorithm::Diff, which takes two arrays.  If
-Algorithm::Diff ever offers an incremental mode, this can be changed (contact
-the maintainers of Algorithm::Diff and Text::Diff if you need this; it
-shouldn't be too terribly hard to tie arrays in this fashion).
-
-Does not provide most of the more refined GNU diff options: recursive directory
-tree scanning, ignoring blank lines / whitespace, etc., etc.  These can all be
-added as time permits and need arises, many are rather easy; patches quite
-welcome.
+the implementation of L<Algorithm::Diff>, which takes two arrays.  If
+L<Algorithm::Diff> ever offers an incremental mode, this can be changed
+(contact the maintainers of L<Algorithm::Diff> and C<Text::Diff> if you need
+this; it shouldn't be too terribly hard to tie arrays in this fashion).
+
+Does not provide most of the more refined GNU C<diff> options: recursive
+directory tree scanning, ignoring blank lines / whitespace, etc., etc.  These
+can all be added as time permits and need arises, many are rather easy; patches
+quite welcome.
 
-Uses closures internally, this may lead to leaks on C<perl> versions 5.6.1 and
+Uses closures internally, this may lead to leaks on Perl versions 5.6.1 and
 prior if used many times over a process' life time.
 
 =head1 SEE ALSO


Reply via email to