Commits

Shlomi Fish committed 422c832

Bump the version to 0.0.2 and add missing $VERSION

Comments (0)

Files changed (11)

cpan/AI-Pathfinding-OptimizeMultiple/Changes

+v0.0.2      2013-01-17
+
+    - Fixed the POD - removed extraneous sections and added a NAME handler.
+        - Part of it was caused due to a Pod::Weaver misconfiguration
+
 v0.0.1      2013-01-17
 
-    - First version, releases on an unsuspecting world.
+    - First version, released on an unsuspecting world.
 
     - Everything is still subject to change and break.

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple.pm

 
 use PDL;
 
-our $VERSION = '0.0.1';
+our $VERSION = '0.0.2';
 
 has chosen_scans => (isa => 'ArrayRef', is => 'rw');
 has _iter_idx => (isa => 'Int', is => 'rw', default => sub { 0; },);

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm

 use AI::Pathfinding::OptimizeMultiple;
 use AI::Pathfinding::OptimizeMultiple::PostProcessor;
 
+our $VERSION = '0.0.2';
+
 # TODO : restore later.
 # use MyInput;
 

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple/DataInputObj.pm

 use PDL;
 use PDL::IO::FastRaw;
 
+our $VERSION = '0.0.2';
+
 has start_board => (isa => 'Int', is => 'ro', required => 1);
 has num_boards => (isa => 'Int', is => 'ro', required => 1);
 has selected_scans => (isa => 'ArrayRef', is => 'ro', required => 1,

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple/IterState.pm

 
 use PDL ();
 
-our $VERSION = '0.0.1';
+our $VERSION = '0.0.2';
 
 use vars (qw(@fields));
 

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple/PostProcessor.pm

 
 use MooX qw/late/;
 
+our $VERSION = '0.0.2';
+
 has _should_do_rle => (isa => 'Bool', is => 'ro', init_arg => 'do_rle', required => 1);
 has _offset_quotas => (isa => 'Bool', is => 'ro', init_arg => 'offset_quotas', required => 1);
 

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple/Scan.pm

 
 use MooX qw/late/;
 
+our $VERSION = '0.0.2';
+
 has cmd_line => (isa => 'Str', is => 'ro', required => 1,);
 has id => (isa => 'Str', is => 'ro', required => 1,);
 has used => (isa => 'Bool', is => 'rw', default => sub { 0; });

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple/ScanRun.pm

 
 use MooX qw/late/;
 
+our $VERSION = '0.0.2';
+
 has iters => (isa => 'Int', is => 'rw', required => 1);
 has scan_idx => (isa => 'Int', is => 'ro', required => 1);
 

cpan/AI-Pathfinding-OptimizeMultiple/lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm

 
 use MooX qw/late/;
 
+our $VERSION = '0.0.2';
+
 has status => (isa => 'Str', is => 'ro', required => 1,);
 has total_iters => (isa => 'Int', is => 'ro', required => 1,);
 has scan_runs => (isa => 'ArrayRef[AI::Pathfinding::OptimizeMultiple::ScanRun]', is => 'ro', required => 1,);

cpan/AI-Pathfinding-OptimizeMultiple/scripts/bump-version-number.pl

+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use File::Find::Object;
+use IO::All;
+
+my $tree = File::Find::Object->new({}, 'lib/');
+
+my $version_n = shift(@ARGV);
+
+if (!defined($version_n))
+{
+    die "Specify version number as an argument! bump-version-number.pl '0.0.1'";
+}
+
+while (my $r = $tree->next()) {
+    if ($r =~ m{/\.svn\z})
+    {
+        $tree->prune();
+    }
+    elsif ($r =~ m{\.pm\z})
+    {
+        my @lines = io->file($r)->getlines();
+        foreach (@lines)
+        {
+            s#(\$VERSION = '|^Version )\d+\.\d+(?:\.\d+)?('|)#$1 . $version_n . $2#e;
+        }
+        io->file($r)->print(
+            @lines
+        );
+    }
+}
+

cpan/AI-Pathfinding-OptimizeMultiple/weaver.ini

 [@CorePrep]
 
+[Generic / NAME]
+
 [Version]
 
 [Region  / prelude]
 
+
 [Generic / SYNOPSIS]
 [Generic / DESCRIPTION]
 [Generic / OVERVIEW]