Skip to content

Commit

Permalink
#26 Also changed names of pod-generating scripts; bump version to 0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
Klortho committed May 19, 2012
1 parent 4c8026c commit c1b0209
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 14 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
Build
Build.bat
_build
blib
*.tmp
lib/Physics/Unit/UnitsByName.pod
lib/Physics/Unit/UnitsByName.html
lib/Physics/Unit/UnitsByType.pod
lib/Physics/Unit/UnitsByType.html

11 changes: 7 additions & 4 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ sub ACTION_manifest {
$self->SUPER::ACTION_manifest;
my $manifest = maniread;
my @podpl = grep { /\.pod\.PL$/ } keys %$manifest;
my %pod = map { my $file = $_; $file =~ s/\.PL$//; ($file, "Generated Pod") } @podpl;
my @podpl = grep { /^Gen(.*)\.pod\.PL$/ } keys %$manifest;
my %pod = map {
my $file = $_;
$file =~ s/^Gen(.*)\.PL$/$1/;
($file, "Generated Pod") } @podpl;
maniadd \%pod;
}
END_CODE
Expand All @@ -34,8 +37,8 @@ my $build = $class->new(
"warnings" => 0,
},
PL_files => {
'lib/Physics/Unit/UnitsByName.pod.PL' => 'lib/Physics/Unit/UnitsByName.pod',
'lib/Physics/Unit/UnitsByType.pod.PL' => 'lib/Physics/Unit/UnitsByType.pod',
'lib/Physics/Unit/GenUnitsByName.pod.PL' => 'lib/Physics/Unit/UnitsByName.pod',
'lib/Physics/Unit/GenUnitsByType.pod.PL' => 'lib/Physics/Unit/UnitsByType.pod',
},
meta_merge => {
resources => {
Expand Down
2 changes: 1 addition & 1 deletion lib/Physics/Unit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use vars qw(
$number_re
);

$VERSION = '0.51_1';
$VERSION = '0.52';
$VERSION = eval $VERSION;

@EXPORT_OK = qw(
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/Physics/Unit/Scalar.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use Carp;
use base qw(Exporter);
use vars qw( $VERSION @EXPORT_OK %EXPORT_TAGS $debug);

$VERSION = '0.51_1';
$VERSION = '0.52';
$VERSION = eval $VERSION;

@EXPORT_OK = qw( ScalarFactory GetScalar );
Expand Down
2 changes: 1 addition & 1 deletion lib/Physics/Unit/Script.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use warnings;
use Physics::Unit ':ALL';
use Physics::Unit::Script::GenPages;

our $VERSION = '0.51_1';
our $VERSION = '0.52';
$VERSION = eval $VERSION;

use base 'Exporter';
Expand Down
2 changes: 1 addition & 1 deletion lib/Physics/Unit/Script/GenPages.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package Physics::Unit::Script::GenPages;
use strict;
use warnings;

our $VERSION = '0.51_1';
our $VERSION = '0.52';
$VERSION = eval $VERSION;

use Physics::Unit ':ALL';
Expand Down

0 comments on commit c1b0209

Please sign in to comment.