From: Charles McGarvey Date: Mon, 28 Nov 2016 05:03:41 +0000 (-0700) Subject: Version 0.002 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c0cff99d6658ac63c9bd97b47f00c3b25fbb54e5;p=chaz%2Fp5-Linux-Proc-Maps Version 0.002 --- diff --git a/.travis.yml b/.travis.yml index 274d978..68c32c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,16 @@ sudo: false language: perl perl: - - 'blead' + - '5.24' + - '5.22' - '5.20' - '5.18' - '5.16' - '5.14' - - '5.12' - - '5.10' - - '5.8' matrix: - allow_failures: - - perl: 'blead' - - perl: '5.8' fast_finish: true branches: - only: /^build\/.*/ + only: /^(dist|build\/.*)$/ before_install: - rm .travis.yml - export AUTHOR_TESTING=0 diff --git a/Changes b/Changes index 41a7a3b..642bdf9 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,11 @@ Revision history for Linux-Proc-Maps. +0.002 2016-11-27 22:03:31-07:00 MST7MDT + + * Require at least perl 5.8.0; it may work on earlier perls, but I don't + want to support it. + * Document the possibility of integer overloading + 0.001 2016-11-25 22:53:07-07:00 MST7MDT * Initial release diff --git a/MANIFEST b/MANIFEST index 2504370..ed7b6ef 100644 --- a/MANIFEST +++ b/MANIFEST @@ -23,3 +23,4 @@ xt/author/pod-syntax.t xt/author/portability.t xt/release/cpan-changes.t xt/release/distmeta.t +xt/release/minimum-version.t diff --git a/META.json b/META.json index 4a5f261..b5c9690 100644 --- a/META.json +++ b/META.json @@ -44,6 +44,7 @@ "Test::CPAN::Meta" : "0", "Test::CleanNamespaces" : "0.15", "Test::EOL" : "0", + "Test::MinimumVersion" : "0", "Test::More" : "0.96", "Test::NoTabs" : "0", "Test::Pod" : "1.41", @@ -58,6 +59,7 @@ "Exporter" : "0", "File::Spec::Functions" : "0", "namespace::clean" : "0", + "perl" : "5.008", "strict" : "0", "warnings" : "0" } @@ -73,15 +75,14 @@ "IPC::Open3" : "0", "Path::Tiny" : "0", "Test::More" : "0", - "blib" : "1.01", - "perl" : "5.006" + "blib" : "1.01" } } }, "provides" : { "Linux::Proc::Maps" : { "file" : "lib/Linux/Proc/Maps.pm", - "version" : "0.001" + "version" : "0.002" } }, "release_status" : "stable", @@ -96,8 +97,8 @@ "web" : "https://github.com/chazmcgarvey/Linux-Proc-Maps" } }, - "version" : "0.001", + "version" : "0.002", "x_authority" : "cpan:CCM", - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0224" } diff --git a/META.yml b/META.yml index dd846a7..baf5e54 100644 --- a/META.yml +++ b/META.yml @@ -10,7 +10,6 @@ build_requires: Path::Tiny: '0' Test::More: '0' blib: '1.01' - perl: '5.006' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 @@ -34,18 +33,19 @@ no_index: provides: Linux::Proc::Maps: file: lib/Linux/Proc/Maps.pm - version: '0.001' + version: '0.002' requires: Carp: '0' Exporter: '0' File::Spec::Functions: '0' namespace::clean: '0' + perl: '5.008' strict: '0' warnings: '0' resources: bugtracker: https://github.com/chazmcgarvey/Linux-Proc-Maps/issues homepage: https://github.com/chazmcgarvey/Linux-Proc-Maps repository: https://github.com/chazmcgarvey/Linux-Proc-Maps.git -version: '0.001' +version: '0.002' x_authority: cpan:CCM x_serialization_backend: 'YAML::Tiny version 1.69' diff --git a/Makefile.PL b/Makefile.PL index a558b9c..73583ac 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ use strict; use warnings; -use 5.006; +use 5.008; use ExtUtils::MakeMaker; @@ -14,7 +14,7 @@ my %WriteMakefileArgs = ( }, "DISTNAME" => "Linux-Proc-Maps", "LICENSE" => "perl", - "MIN_PERL_VERSION" => "5.006", + "MIN_PERL_VERSION" => "5.008", "NAME" => "Linux::Proc::Maps", "PREREQ_PM" => { "Carp" => 0, @@ -33,7 +33,7 @@ my %WriteMakefileArgs = ( "Test::More" => 0, "blib" => "1.01" }, - "VERSION" => "0.001", + "VERSION" => "0.002", "test" => { "TESTS" => "t/*.t" } diff --git a/README b/README index 4d3d44c..598d41a 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ NAME VERSION - version 0.001 + version 0.002 SYNOPSIS @@ -24,7 +24,7 @@ DESCRIPTION This module reads and writes /proc/[pid]/maps files that contain listed mapped memory regions. -METHODS +FUNCTIONS read_maps @@ -98,6 +98,13 @@ SEE ALSO proc(5) describes the file format. +CAVEATS + + Integer overloading may occur if you try to parse memory regions from + address spaces larger than your current architecture (or perl) + supports. This is currently not fatal, though you will get warnings + from perl that you probably shouldn't ignore. + BUGS Please report any bugs or feature requests on the bugtracker website diff --git a/lib/Linux/Proc/Maps.pm b/lib/Linux/Proc/Maps.pm index 8611808..58ac502 100644 --- a/lib/Linux/Proc/Maps.pm +++ b/lib/Linux/Proc/Maps.pm @@ -2,10 +2,11 @@ package Linux::Proc::Maps; # ABSTRACT: Read and write /proc/[pid]/maps files # KEYWORDS: linux proc procfs +use 5.008; use warnings; use strict; -our $VERSION = '0.001'; # VERSION +our $VERSION = '0.002'; # VERSION use Carp qw(croak); use Exporter qw(import); @@ -133,7 +134,7 @@ Linux::Proc::Maps - Read and write /proc/[pid]/maps files =head1 VERSION -version 0.001 +version 0.002 =head1 SYNOPSIS @@ -152,7 +153,7 @@ version 0.001 This module reads and writes F files that contain listed mapped memory regions. -=head1 METHODS +=head1 FUNCTIONS =head2 read_maps @@ -239,6 +240,12 @@ This is the opposite of L. L describes the file format. +=head1 CAVEATS + +Integer overloading may occur if you try to parse memory regions from address spaces larger than +your current architecture (or perl) supports. This is currently not fatal, though you will get +warnings from perl that you probably shouldn't ignore. + =head1 BUGS Please report any bugs or feature requests on the bugtracker website diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 02e0071..4e4c796 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -15,6 +15,7 @@ do { my $x = { 'Test::CPAN::Meta' => '0', 'Test::CleanNamespaces' => '0.15', 'Test::EOL' => '0', + 'Test::MinimumVersion' => '0', 'Test::More' => '0.96', 'Test::NoTabs' => '0', 'Test::Pod' => '1.41', @@ -29,6 +30,7 @@ do { my $x = { 'Exporter' => '0', 'File::Spec::Functions' => '0', 'namespace::clean' => '0', + 'perl' => '5.008', 'strict' => '0', 'warnings' => '0' } @@ -44,8 +46,7 @@ do { my $x = { 'IPC::Open3' => '0', 'Path::Tiny' => '0', 'Test::More' => '0', - 'blib' => '1.01', - 'perl' => '5.006' + 'blib' => '1.01' } } }; diff --git a/xt/author/eol.t b/xt/author/eol.t index 2d25050..4f3bac4 100644 --- a/xt/author/eol.t +++ b/xt/author/eol.t @@ -21,7 +21,8 @@ my @files = ( 'xt/author/pod-syntax.t', 'xt/author/portability.t', 'xt/release/cpan-changes.t', - 'xt/release/distmeta.t' + 'xt/release/distmeta.t', + 'xt/release/minimum-version.t' ); eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; diff --git a/xt/author/no-tabs.t b/xt/author/no-tabs.t index e5da403..e36a800 100644 --- a/xt/author/no-tabs.t +++ b/xt/author/no-tabs.t @@ -21,7 +21,8 @@ my @files = ( 'xt/author/pod-syntax.t', 'xt/author/portability.t', 'xt/release/cpan-changes.t', - 'xt/release/distmeta.t' + 'xt/release/distmeta.t', + 'xt/release/minimum-version.t' ); notabs_ok($_) foreach @files; diff --git a/xt/release/minimum-version.t b/xt/release/minimum-version.t new file mode 100644 index 0000000..ff71971 --- /dev/null +++ b/xt/release/minimum-version.t @@ -0,0 +1,8 @@ +#!perl + +use Test::More; + +eval "use Test::MinimumVersion"; +plan skip_all => "Test::MinimumVersion required for testing minimum versions" + if $@; +all_minimum_version_ok( qq{5.10.1} );