Hello community,

here is the log from the commit of package perl-Test-Spelling for 
openSUSE:Factory checked in at 2019-05-24 11:32:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Spelling (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Spelling.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Spelling"

Fri May 24 11:32:38 2019 rev:13 rq:704997 version:0.23

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Spelling/perl-Test-Spelling.changes    
2019-04-28 20:14:53.786364671 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-Spelling.new.5148/perl-Test-Spelling.changes
  2019-05-24 11:32:40.725382986 +0200
@@ -1,0 +2,13 @@
+Wed May 22 05:27:48 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 0.23
+   see /usr/share/doc/packages/perl-Test-Spelling/Changes
+
+  0.23      2019-05-21
+    - Fixed some documentation errors (Mohammad S Anwar)
+    - Added unicode support (Kivanc Yazan, GH PR#10)
+    - Bump Perl prereq to 5.8 now that we support unicode
+    - Don't inherit from Exporter (Olivier Mengué, GH PR#9)
+    - Bump Exporter prereq to 5.57
+
+-------------------------------------------------------------------

Old:
----
  Test-Spelling-0.22.tar.gz

New:
----
  Test-Spelling-0.23.tar.gz

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

Other differences:
------------------
++++++ perl-Test-Spelling.spec ++++++
--- /var/tmp/diff_new_pack.AQjXla/_old  2019-05-24 11:32:41.629382641 +0200
+++ /var/tmp/diff_new_pack.AQjXla/_new  2019-05-24 11:32:41.633382640 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-Spelling
-Version:        0.22
+Version:        0.23
 Release:        0
 %define cpan_name Test-Spelling
 Summary:        Check for spelling errors in POD files

++++++ Test-Spelling-0.22.tar.gz -> Test-Spelling-0.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/Changes 
new/Test-Spelling-0.23/Changes
--- old/Test-Spelling-0.22/Changes      2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/Changes      2019-05-22 02:44:53.000000000 +0200
@@ -1,5 +1,12 @@
 Revision history for Test-Spelling
 
+0.23      2019-05-21
+  - Fixed some documentation errors (Mohammad S Anwar)
+  - Added unicode support (Kivanc Yazan, GH PR#10)
+  - Bump Perl prereq to 5.8 now that we support unicode
+  - Don't inherit from Exporter (Olivier Mengué, GH PR#9)
+  - Bump Exporter prereq to 5.57
+
 0.22      2019-04-24
   - Zero-code-change release encompassing everything from 0.21
   - Resolves RT#120425 . in @INC should no longer be an issue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/MANIFEST 
new/Test-Spelling-0.23/MANIFEST
--- old/Test-Spelling-0.22/MANIFEST     2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/MANIFEST     2019-05-22 02:44:53.000000000 +0200
@@ -16,6 +16,7 @@
 t/corpus/good-pod.pm
 t/corpus/no-pod.pm
 t/corpus/stopword.pm
+t/corpus/unicode-pod.pm
 t/fake_checker.t
 t/load.t
 t/stopword.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/META.json 
new/Test-Spelling-0.23/META.json
--- old/Test-Spelling-0.22/META.json    2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/META.json    2019-05-22 02:44:53.000000000 +0200
@@ -32,6 +32,9 @@
       "configure" : {
          "requires" : {
             "ExtUtils::MakeMaker" : "0"
+         },
+         "suggests" : {
+            "JSON::PP" : "2.27300"
          }
       },
       "develop" : {
@@ -54,7 +57,7 @@
       },
       "runtime" : {
          "requires" : {
-            "Exporter" : "0",
+            "Exporter" : "5.57",
             "File::Spec" : "0",
             "IPC::Run3" : "0",
             "Pod::Spell" : "0",
@@ -62,7 +65,7 @@
             "Test::Builder" : "0",
             "Text::Wrap" : "0",
             "base" : "0",
-            "perl" : "5.006",
+            "perl" : "5.008",
             "strict" : "0",
             "warnings" : "0"
          }
@@ -84,7 +87,7 @@
    "provides" : {
       "Test::Spelling" : {
          "file" : "lib/Test/Spelling.pm",
-         "version" : "0.22"
+         "version" : "0.23"
       }
    },
    "release_status" : "stable",
@@ -99,7 +102,7 @@
          "web" : "https://github.com/genio/test-spelling";
       }
    },
-   "version" : "0.22",
+   "version" : "0.23",
    "x_Dist_Zilla" : {
       "perl" : {
          "version" : "5.026001"
@@ -196,7 +199,7 @@
                }
             },
             "name" : "@Starter/MakeMaker::Awesome",
-            "version" : "0.47"
+            "version" : "0.48"
          },
          {
             "class" : "Dist::Zilla::Plugin::Manifest",
@@ -304,7 +307,7 @@
                   "meta_noindex" : 1
                },
                "Dist::Zilla::Role::ModuleMetadata" : {
-                  "Module::Metadata" : "1.000033",
+                  "Module::Metadata" : "1.000036",
                   "version" : "0.006"
                }
             },
@@ -340,7 +343,7 @@
             "class" : "Dist::Zilla::Plugin::Git::Contributors",
             "config" : {
                "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.19.1",
+                  "git_version" : "2.20.1",
                   "include_authors" : 0,
                   "include_releaser" : 1,
                   "order_by" : "name",
@@ -370,7 +373,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.19.1",
+                  "git_version" : "2.20.1",
                   "repo_root" : "."
                }
             },
@@ -393,7 +396,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.19.1",
+                  "git_version" : "2.20.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -410,12 +413,12 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v0.22",
+                  "tag" : "v0.23",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.19.1",
+                  "git_version" : "2.20.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -435,7 +438,7 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.19.1",
+                  "git_version" : "2.20.1",
                   "repo_root" : "."
                }
             },
@@ -580,7 +583,10 @@
       "David Golden <[email protected]>",
       "Karen Etheridge <[email protected]>",
       "Kent Fredric <[email protected]>",
+      "Kivanc Yazan <[email protected]>",
+      "Mohammad S Anwar <[email protected]>",
       "Olaf Alders <[email protected]>",
+      "Olivier Mengu\u00e9 <[email protected]>",
       "Randy Stauner <[email protected]>",
       "Shawn M Moore <[email protected]>",
       "Thomas Sibley <[email protected]>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/META.yml 
new/Test-Spelling-0.23/META.yml
--- old/Test-Spelling-0.22/META.yml     2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/META.yml     2019-05-22 02:44:53.000000000 +0200
@@ -29,9 +29,9 @@
 provides:
   Test::Spelling:
     file: lib/Test/Spelling.pm
-    version: '0.22'
+    version: '0.23'
 requires:
-  Exporter: '0'
+  Exporter: '5.57'
   File::Spec: '0'
   IPC::Run3: '0'
   Pod::Spell: '0'
@@ -39,14 +39,14 @@
   Test::Builder: '0'
   Text::Wrap: '0'
   base: '0'
-  perl: '5.006'
+  perl: '5.008'
   strict: '0'
   warnings: '0'
 resources:
   bugtracker: https://github.com/genio/test-spelling/issues
   homepage: https://github.com/genio/test-spelling
   repository: https://github.com/genio/test-spelling.git
-version: '0.22'
+version: '0.23'
 x_Dist_Zilla:
   perl:
     version: '5.026001'
@@ -123,7 +123,7 @@
           default_jobs: 1
           version: '6.012'
       name: '@Starter/MakeMaker::Awesome'
-      version: '0.47'
+      version: '0.48'
     -
       class: Dist::Zilla::Plugin::Manifest
       name: '@Starter/Manifest'
@@ -206,7 +206,7 @@
           inherit_version: '1'
           meta_noindex: '1'
         Dist::Zilla::Role::ModuleMetadata:
-          Module::Metadata: '1.000033'
+          Module::Metadata: '1.000036'
           version: '0.006'
       name: '@Starter/MetaProvides::Package'
       version: '2.004003'
@@ -233,7 +233,7 @@
       class: Dist::Zilla::Plugin::Git::Contributors
       config:
         Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.19.1
+          git_version: 2.20.1
           include_authors: 0
           include_releaser: 1
           order_by: name
@@ -256,7 +256,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.19.1
+          git_version: 2.20.1
           repo_root: .
       name: '@Git/Check'
       version: '2.046'
@@ -273,7 +273,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.19.1
+          git_version: 2.20.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -286,11 +286,11 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v0.22
+          tag: v0.23
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.19.1
+          git_version: 2.20.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -304,7 +304,7 @@
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.19.1
+          git_version: 2.20.1
           repo_root: .
       name: '@Git/Push'
       version: '2.046'
@@ -416,7 +416,10 @@
   - 'David Golden <[email protected]>'
   - 'Karen Etheridge <[email protected]>'
   - 'Kent Fredric <[email protected]>'
+  - 'Kivanc Yazan <[email protected]>'
+  - 'Mohammad S Anwar <[email protected]>'
   - 'Olaf Alders <[email protected]>'
+  - 'Olivier Mengué <[email protected]>'
   - 'Randy Stauner <[email protected]>'
   - 'Shawn M Moore <[email protected]>'
   - 'Thomas Sibley <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/Makefile.PL 
new/Test-Spelling-0.23/Makefile.PL
--- old/Test-Spelling-0.22/Makefile.PL  2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/Makefile.PL  2019-05-22 02:44:53.000000000 +0200
@@ -1,5 +1,5 @@
 # This Makefile.PL for Test-Spelling was generated by
-# Dist::Zilla::Plugin::MakeMaker::Awesome 0.47.
+# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
 # Don't edit it but the dist.ini and plugins used to construct it.
 
 use strict;
@@ -20,7 +20,7 @@
   "LICENSE" => "perl",
   "NAME" => "Test::Spelling",
   "PREREQ_PM" => {
-    "Exporter" => 0,
+    "Exporter" => "5.57",
     "File::Spec" => 0,
     "IPC::Run3" => 0,
     "Pod::Spell" => 0,
@@ -39,14 +39,14 @@
     "strict" => 0,
     "warnings" => 0
   },
-  "VERSION" => "0.22",
+  "VERSION" => "0.23",
   "test" => {
     "TESTS" => "t/*.t"
   }
 );
 
 my %FallbackPrereqs = (
-  "Exporter" => 0,
+  "Exporter" => "5.57",
   "ExtUtils::MakeMaker" => 0,
   "File::Spec" => 0,
   "IPC::Run3" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/README 
new/Test-Spelling-0.23/README
--- old/Test-Spelling-0.22/README       2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/README       2019-05-22 02:44:53.000000000 +0200
@@ -56,7 +56,7 @@
 
 FUNCTIONS
   all_pod_files_spelling_ok( [@files/@directories] )
-    Checks all the files for POD spelling. It gathers all_pod_files() on
+    Checks all the files for POD spelling. It gathers "all_pod_files" on
     each file/directory, and declares a "plan" in Test::More for you (one
     test for each file), so you must not call "plan" yourself.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/cpanfile 
new/Test-Spelling-0.23/cpanfile
--- old/Test-Spelling-0.22/cpanfile     2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/cpanfile     2019-05-22 02:44:53.000000000 +0200
@@ -1,9 +1,9 @@
 on 'runtime' => sub {
-    requires 'perl' => '5.006';
+    requires 'perl' => '5.008';
     requires 'strict';
     requires 'warnings';
     requires 'base';
-    requires 'Exporter';
+    requires 'Exporter' => '5.57';
     requires 'File::Spec';
     requires 'IPC::Run3';
     requires 'Pod::Spell';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/lib/Test/Spelling.pm 
new/Test-Spelling-0.23/lib/Test/Spelling.pm
--- old/Test-Spelling-0.22/lib/Test/Spelling.pm 2019-04-25 00:41:13.000000000 
+0200
+++ new/Test-Spelling-0.23/lib/Test/Spelling.pm 2019-05-22 02:44:53.000000000 
+0200
@@ -1,9 +1,9 @@
 package Test::Spelling;
-use 5.006;
+
 use strict;
 use warnings;
 
-use base 'Exporter';
+use Exporter qw(import);
 use Pod::Spell;
 use Test::Builder;
 use Text::Wrap;
@@ -11,7 +11,7 @@
 use IPC::Run3;
 use Symbol 'gensym';
 
-our $VERSION = '0.22';
+our $VERSION = '0.23';
 
 our @EXPORT = qw(
     pod_file_spelling_ok
@@ -101,9 +101,10 @@
 
     my $document = '';
     open my $handle, '>', \$document;
+    open my $infile, '<:encoding(UTF-8)', $file;
 
     # save digested POD to the string $document
-    get_pod_parser()->parse_from_file($file, $handle);
+    get_pod_parser()->parse_from_filehandle($infile, $handle);
 
     my @words = _get_spellcheck_results($document);
 
@@ -321,7 +322,7 @@
 
 =head2 all_pod_files_spelling_ok( [@files/@directories] )
 
-Checks all the files for POD spelling. It gathers L<all_pod_files()> on each
+Checks all the files for POD spelling. It gathers L</all_pod_files> on each
 file/directory, and declares a L<Test::More/plan> for you (one test for each
 file), so you must not call C<plan> yourself.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/t/00-report-prereqs.dd 
new/Test-Spelling-0.23/t/00-report-prereqs.dd
--- old/Test-Spelling-0.22/t/00-report-prereqs.dd       2019-04-25 
00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/t/00-report-prereqs.dd       2019-05-22 
02:44:53.000000000 +0200
@@ -7,6 +7,9 @@
        'configure' => {
                         'requires' => {
                                         'ExtUtils::MakeMaker' => '0'
+                                      },
+                        'suggests' => {
+                                        'JSON::PP' => '2.27300'
                                       }
                       },
        'develop' => {
@@ -29,7 +32,7 @@
                     },
        'runtime' => {
                       'requires' => {
-                                      'Exporter' => '0',
+                                      'Exporter' => '5.57',
                                       'File::Spec' => '0',
                                       'IPC::Run3' => '0',
                                       'Pod::Spell' => '0',
@@ -37,7 +40,7 @@
                                       'Test::Builder' => '0',
                                       'Text::Wrap' => '0',
                                       'base' => '0',
-                                      'perl' => '5.006',
+                                      'perl' => '5.008',
                                       'strict' => '0',
                                       'warnings' => '0'
                                     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/t/basic.t 
new/Test-Spelling-0.23/t/basic.t
--- old/Test-Spelling-0.22/t/basic.t    2019-04-25 00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/t/basic.t    2019-05-22 02:44:53.000000000 +0200
@@ -1,6 +1,7 @@
 use Test::Tester;
 use Test::More;
 use Test::Spelling;
+use utf8;
 
 BEGIN {
     if (!has_working_spellchecker()) {
@@ -24,5 +25,12 @@
     diag => "Errors:\n    incorectly",
 });
 
+add_stopwords("ünıçöđé");
+
+check_test(sub { pod_file_spelling_ok('t/corpus/unicode-pod.pm', 'unicode pod 
has no errors') }, {
+    ok   => 1,
+    name => 'unicode pod has no errors',
+});
+
 done_testing;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/t/corpus/unicode-pod.pm 
new/Test-Spelling-0.23/t/corpus/unicode-pod.pm
--- old/Test-Spelling-0.22/t/corpus/unicode-pod.pm      1970-01-01 
01:00:00.000000000 +0100
+++ new/Test-Spelling-0.23/t/corpus/unicode-pod.pm      2019-05-22 
02:44:53.000000000 +0200
@@ -0,0 +1,16 @@
+package Unicode::Pod;
+use strict;
+use warnings;
+
+sub foo {}
+
+1;
+
+__END__
+
+=head1 NAME
+
+UTF8::Pod - POD with ünıçöđé
+
+=END
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/xt/author/pod-spell.t 
new/Test-Spelling-0.23/xt/author/pod-spell.t
--- old/Test-Spelling-0.22/xt/author/pod-spell.t        2019-04-25 
00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/xt/author/pod-spell.t        2019-05-22 
02:44:53.000000000 +0200
@@ -11,6 +11,7 @@
 all_pod_files_spelling_ok( qw( bin lib ) );
 __DATA__
 Alders
+Anwar
 Brohman
 CPAN
 Chase
@@ -21,8 +22,12 @@
 Ivan
 Karen
 Kent
+Kivanc
+Mengué
+Mohammad
 Moore
 Olaf
+Olivier
 Randy
 Shawn
 Sibley
@@ -32,15 +37,19 @@
 Thomas
 Tubert
 Whitener
+Yazan
 brian
 capoeirab
 dagolden
+dolmen
 ether
 foy
 github
 itub
 kentfredric
+kivancyazan
 lib
+mohammad
 olaf
 preprocessing
 randy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spelling-0.22/xt/release/changes_has_content.t 
new/Test-Spelling-0.23/xt/release/changes_has_content.t
--- old/Test-Spelling-0.22/xt/release/changes_has_content.t     2019-04-25 
00:41:13.000000000 +0200
+++ new/Test-Spelling-0.23/xt/release/changes_has_content.t     2019-05-22 
02:44:53.000000000 +0200
@@ -2,7 +2,7 @@
 
 note 'Checking Changes';
 my $changes_file = 'Changes';
-my $newver = '0.22';
+my $newver = '0.23';
 my $trial_token = '-TRIAL';
 my $encoding = 'UTF-8';
 


Reply via email to