Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prepare CPAN developers release 0.01_002.

  • Loading branch information...
commit 3e469a6f5d1b0891553f8e849b327693b99afb60 1 parent eff4cf5
@daoswald authored
View
9 Changes
@@ -4,3 +4,12 @@ Revision history for List-BinarySearch
- Developer's release.
- Initial release to CPAN.
- Unstable -- Seeking smoke test results.
+
+0.01_002 4-25-2010
+ - Developer's release.
+ - Fixed a coderef detection bug in bsearch_list().
+ - Completed 11-search.t tests.
+ - Many POD revisions.
+ - Many test suite revisions.
+ - List/BinarySearch.pm is now Perl::Critic level 2 compliant.
+ - Test suite is Perl::Critic level 4 compliant.
View
2  META.json
@@ -37,5 +37,5 @@
}
},
"release_status" : "testing",
- "version" : "0.01_001"
+ "version" : "0.01_002"
}
View
2  META.yml
@@ -19,4 +19,4 @@ no_index:
- inc
requires:
Scalar::Util: 0
-version: 0.01_001
+version: 0.01_002
View
7 README
@@ -2,7 +2,7 @@ List-BinarySearch
Perform a binary search on a flat list or an array passed by reference.
-v0.01_001 is a developer's release.
+v0.01_002 is a developer's release.
INSTALLATION
@@ -13,6 +13,11 @@ To install this module, run the following commands:
make test
make install
+DEPENDENCIES
+
+There are no non-core dependencies.
+This module has not been tested on Perl versions older than 5.6.0.
+
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
View
6 lib/List/BinarySearch.pm
@@ -23,12 +23,12 @@ List::BinarySearch - Binary Search a sorted list or array.
=head1 VERSION
-Version 0.01_001
+Version 0.01_002
Developer's Release
=cut
-our $VERSION = '0.01_001';
+our $VERSION = '0.01_002';
$VERSION = eval $VERSION; ## no critic (eval,version)
=head1 SYNOPSIS
@@ -278,7 +278,7 @@ C<$unknown> such that C<$structure[$unknown][0] == 200> might look like this:
=head1 DATA SET REQUIREMENTS
A well written general algorithm should place as few demands on its data as
-practical. The two requirements that these Binary Search algorithms impose
+practical. The three requirements that these Binary Search algorithms impose
are:
=over 4
View
12 t/00-load.t
@@ -1,12 +0,0 @@
-#!/usr/bin/env perl
-
-use Test::More tests => 2;
-
-BEGIN {
- use_ok( 'Scalar::Util' ) || BAIL_OUT();
- use_ok( 'List::BinarySearch' ) || BAIL_OUT();
-}
-
-diag( "Testing List::BinarySearch " .
- "$List::BinarySearch::VERSION, Perl $], $^X"
-);
View
49 t/boilerplate.t
@@ -1,49 +0,0 @@
-#!usr/bin/env perl
-
-use 5.006;
-use strict;
-use warnings;
-use Test::More tests => 3;
-
-sub not_in_file_ok {
- my ($filename, %regex) = @_;
- open( my $fh, '<', $filename )
- or die "couldn't open $filename for reading: $!";
-
- my %violated;
-
- while (my $line = <$fh>) {
- while (my ($desc, $regex) = each %regex) {
- if ($line =~ $regex) {
- push @{$violated{$desc}||=[]}, $.;
- }
- }
- }
-
- if (%violated) {
- fail("$filename contains boilerplate text");
- diag "$_ appears on lines @{$violated{$_}}" for keys %violated;
- } else {
- pass("$filename contains no boilerplate text");
- }
-}
-
-sub module_boilerplate_ok {
- my ($module) = @_;
- not_in_file_ok($module =>
- 'the great new $MODULENAME' => qr/ - The great new /,
- 'boilerplate description' => qr/Quick summary of what the module/,
- 'stub function definition' => qr/function[12]/,
- );
-}
-
-not_in_file_ok(README =>
-"The README is used..." => qr/The README is used/,
-"'version information here'" => qr/to provide version information/,
-);
-
-not_in_file_ok(Changes =>
-"placeholder date/time" => qr(Date/time)
-);
-
-module_boilerplate_ok('lib/List/BinarySearch.pm');
View
13 t/manifest.t
@@ -1,13 +0,0 @@
-#!/usr/bin/env perl
-
-use strict;
-use warnings;
-use Test::More;
-
-unless ( $ENV{RELEASE_TESTING} ) {
- plan( skip_all => "Author tests not required for installation" );
-}
-
-eval "use Test::CheckManifest 0.9";
-plan skip_all => "Test::CheckManifest 0.9 required" if $@;
-ok_manifest();
View
20 t/pod-coverage.t
@@ -1,20 +0,0 @@
-#!/usr/bin/env perl
-
-use strict;
-use warnings;
-use Test::More;
-
-# Ensure a recent version of Test::Pod::Coverage
-my $min_tpc = 1.08;
-eval "use Test::Pod::Coverage $min_tpc";
-plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
- if $@;
-
-# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
-# but older versions don't recognize some common documentation styles
-my $min_pc = 0.18;
-eval "use Pod::Coverage $min_pc";
-plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
- if $@;
-
-all_pod_coverage_ok();
View
14 t/pod.t
@@ -1,14 +0,0 @@
-#!usr/bin/env perl
-
-use strict;
-use warnings;
-use Test::More;
-
-# Ensure a recent version of Test::Pod
-
-my $min_tp = 1.22;
-eval "use Test::Pod $min_tp;";
-diag $@;
-plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
-
-all_pod_files_ok();
Please sign in to comment.
Something went wrong with that request. Please try again.