The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Build.PL 024
Changes 012
MANIFEST 02
META.json 049
META.yml 1924
Makefile.PL 713
README 311
examples/demo.pl 00
examples/demo_recurse.pl 00
lib/Lingua/EN/Fathom.pm 44
t/main.t 62
t/pod-coverage.t 00
t/pod.t 00
13 files changed (This is a version diff) 39141
@@ -0,0 +1,24 @@
+use Module::Build;
+
+Module::Build -> new
+(
+    module_name    => 'Lingua::EN::Fathom',
+    license        => 'perl',
+    dist_abstract  => "Measure readability of English text",
+    dist_author    => 'Kim Ryan <kimryan at cpan org>',
+    build_requires =>
+    {
+       Test::More => 0.94,
+    },
+    configure_requires =>
+    {
+        Module::Build => 0.3800,
+    },
+    requires =>
+    {
+       locale => 1.00,
+       strict => 1.04,
+       warnings => 0,
+       Lingua::EN::Syllable => 0.28
+    }
+) -> create_build_script();
@@ -1,5 +1,17 @@
 Revision history for Perl CPAN module Lingua::En::Fathom
 
+1.18 7 Apr 2015
+    removed indirect object notation for 'new' method
+    Fix for #102898, no minimim version set for warnings in Build.PL, to support very old versions of Perl
+    
+1.17 20 Mar 2015
+    Added prerequiste moudule to Build.PL
+
+1.16 20 Mar 2015
+    Removed tests that depended on Lingua::EN::Syllable results. Any changes to this
+    required module will break test results.
+    Added Build.PL
+
 1.15 6 Aug 2011
     Removed use of diagnostic pragma in main.t, seems to cause errors for CPAN testers
 
@@ -1,6 +1,7 @@
 MANIFEST
 README
 Makefile.PL
+Build.PL
 examples/demo.pl
 examples/demo_recurse.pl
 lib/Lingua/EN/Fathom.pm
@@ -9,3 +10,4 @@ t/main.t
 t/pod.t
 t/pod-coverage.t
 META.yml                                 Module meta-data (added by MakeMaker)
+META.json
@@ -0,0 +1,49 @@
+{
+   "abstract" : "Measure readability of English text",
+   "author" : [
+      "Kim Ryan <kimryan at cpan org>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "Module::Build version 0.421",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Lingua-EN-Fathom",
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "Test::More" : "0.94"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "Module::Build" : "0.38"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Lingua::EN::Syllable" : "0.28",
+            "locale" : "1",
+            "strict" : "1.04",
+            "warnings" : "0"
+         }
+      }
+   },
+   "provides" : {
+      "Lingua::EN::Fathom" : {
+         "file" : "lib/Lingua/EN/Fathom.pm",
+         "version" : "1.18"
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "license" : [
+         "http://dev.perl.org/licenses/"
+      ]
+   },
+   "version" : "1.18"
+}
@@ -1,22 +1,27 @@
---- #YAML:1.0
-name:               Lingua-EN-Fathom
-version:            1.15
-abstract:           Measure readability of English text
+---
+abstract: 'Measure readability of English text'
 author:
-    - Kim Ryan <kimryan at cpan org>
-license:            perl
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+  - 'Kim Ryan <kimryan at cpan org>'
 build_requires:
-    ExtUtils::MakeMaker:  0
-requires:
-    Lingua::EN::Syllable:  0
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.56
+  Test::More: '0.94'
+configure_requires:
+  Module::Build: '0.38'
+dynamic_config: 1
+generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.142060'
+license: perl
 meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: '1.4'
+name: Lingua-EN-Fathom
+provides:
+  Lingua::EN::Fathom:
+    file: lib/Lingua/EN/Fathom.pm
+    version: '1.18'
+requires:
+  Lingua::EN::Syllable: '0.28'
+  locale: '1'
+  strict: '1.04'
+  warnings: '0'
+resources:
+  license: http://dev.perl.org/licenses/
+version: '1.18'
@@ -4,10 +4,16 @@ use ExtUtils::MakeMaker;
 
 WriteMakefile
 (
-   'NAME'         => 'Lingua::EN::Fathom',
-   'VERSION_FROM' => 'lib/Lingua/EN/Fathom.pm',
-   'ABSTRACT'     => 'Measure readability of English text',
-   'AUTHOR'       => 'Kim Ryan <kimryan at cpan org>',
-   'LICENSE'      => 'perl',                                
-   'PREREQ_PM'    =>  { 'Lingua::EN::Syllable' => 0 }
-);
+    'NAME'         => 'Lingua::EN::Fathom',
+    'VERSION_FROM' => 'lib/Lingua/EN/Fathom.pm',
+    'ABSTRACT'     => 'Measure readability of English text',
+    'AUTHOR'       => 'Kim Ryan <kimryan at cpan org>',
+    'LICENSE'      => 'perl',                                
+    'PREREQ_PM'    =>
+    { 
+        locale => 1.00,
+        strict => 1.04,
+        warnings => 0,
+        'Lingua::EN::Syllable' => 0.28   
+    }
+);   
@@ -4,7 +4,7 @@ SYNOPSIS
 
    use Lingua::EN::Fathom;
 
-   my $text = new Lingua::EN::Fathom;
+   my $text = Lingua::EN::Fathom->new();
 
    $text->analyse_file("sample.txt");
 
@@ -52,7 +52,7 @@ A hash of all unique words and the number of times they occur is generated.
 
 REQUIRES
 
-Perl, version 5.001 or higher, Lingua::EN::Syllable
+Lingua::EN::Syllable
 
 
 HOW TO INSTALL
@@ -61,6 +61,14 @@ HOW TO INSTALL
     make
     make test
     make install
+    
+    or..
+    
+    perl Build.PL
+    build
+    build test
+    build install
+    
 
 
 BUGS
@@ -75,7 +83,7 @@ Lingua::EN::Fathom was written by Kim Ryan, kimryan at cpan dot org.
 
 COPYRIGHT AND LICENSE
 
-Copyright (c) 2011 Kim Ryan. All rights reserved.
+Copyright (c) 2015 Kim Ryan. All rights reserved.
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.
diff --git a/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.15/Lingua-EN-Fathom-1.15/examples/demo.pl b/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.18/Lingua-EN-Fathom-1.18/examples/demo.pl
old mode 100755
new mode 100644
diff --git a/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.15/Lingua-EN-Fathom-1.15/examples/demo_recurse.pl b/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.18/Lingua-EN-Fathom-1.18/examples/demo_recurse.pl
old mode 100755
new mode 100644
@@ -6,7 +6,7 @@ Lingua::EN::Fathom - Measure readability of English text
 
     use Lingua::EN::Fathom;
 
-    my $text = new Lingua::EN::Fathom;
+    my $text = Lingua::EN::Fathom->new();
 
     $text->analyse_file("sample.txt");
 
@@ -65,7 +65,7 @@ The C<new> method creates an instance of an text object This must be called
 before any of the following methods are invoked. Note that the object only
 needs to be created once, and can be reused with new input data.
 
-   my $text = new Lingua::EN::Fathom;
+   my $text = Lingua::EN::Fathom->new();
 
 =head2 analyse_file
 
@@ -252,7 +252,7 @@ Lingua::EN::Fathom was written by Kim Ryan <kimryan at cpan dot org>.
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (c) 2011 Kim Ryan. All rights reserved.
+Copyright (c) 2015 Kim Ryan. All rights reserved.
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.
@@ -267,7 +267,7 @@ use Lingua::EN::Syllable;
 use strict;
 use warnings;
 
-our $VERSION = '1.15';
+our $VERSION = '1.18';
 
 #------------------------------------------------------------------------------
 # Create a new instance of a text object.
@@ -2,12 +2,11 @@
 # Test script for Lingua::EN::::Fathom.pm
 #
 # Author      : Kim Ryan, Kirk Kimmel
-# Last update : 2011-05-31
 #------------------------------------------------------------------------------
 
 use warnings;
 use strict;
-use Test::More tests => 13;
+use Test::More tests => 10;
 
 BEGIN {
 
@@ -24,7 +23,7 @@ apostrophe or hyphen. Items such as "&, K108, NSW" are not counted as words.
 };
 
 
-my $text = new Lingua::EN::Fathom;
+my $text = Lingua::EN::Fathom->new();
 $text->analyse_block($sample);
 
 is( $text->num_chars, 222, 'sub num_chars' );
@@ -37,8 +36,5 @@ is( $text->num_paragraphs,     1,                'sub num_paragraphs' );
 # When checking floating point values, precision can vary across hardware. So use
 # a regular expression to test the first portion of the number
 like( $text->percent_complex_words, qr/7.89473684210526/, 'sub percent_complex_words' );
-like( $text->syllables_per_word,    qr/^1.4473684210526/, 'sub syllables_per_word' );
 like( $text->words_per_sentence,    qr/^12.666666666666/, 'sub words_per_sentence' );
 like( $text->fog,                   qr/^8.22456140350877/, 'sub fog' );
-like( $text->flesch,                qr/^71.5309649122807/, 'sub flesch' );
-like( $text->kincaid,               qr/^6.42894736842105/, 'sub kincaid' );
diff --git a/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.15/Lingua-EN-Fathom-1.15/t/pod-coverage.t b/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.18/Lingua-EN-Fathom-1.18/t/pod-coverage.t
old mode 100755
new mode 100644
diff --git a/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.15/Lingua-EN-Fathom-1.15/t/pod.t b/var/tmp/source/KIMRYAN/Lingua-EN-Fathom-1.18/Lingua-EN-Fathom-1.18/t/pod.t
old mode 100755
new mode 100644