Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jorol committed Jun 2, 2014
1 parent a74d7c5 commit a924c69
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 30 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Changelog for Catmandu-MAB2

0.07 2014-06-02
- transform Fix function to new syntax
- fix documentation
- fix .gitignore
- edit dist.ini

0.06 2014-04-04
- XML parser should ignore PerlIO layers
- documentation
Expand Down
46 changes: 17 additions & 29 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

use strict;
use warnings;

Expand All @@ -9,9 +8,8 @@ use ExtUtils::MakeMaker 6.30;


my %WriteMakefileArgs = (
"ABSTRACT" => "Catmandu modules for working with MAB2 data.\r",
"ABSTRACT" => "Catmandu modules for working with MAB2 data.",
"AUTHOR" => "Johann Rolschewski <rolschewski\@gmail.com>",
"BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
Expand All @@ -22,44 +20,34 @@ my %WriteMakefileArgs = (
"LICENSE" => "perl",
"NAME" => "Catmandu::MAB2",
"PREREQ_PM" => {
"Catmandu" => "0.7",
"Catmandu" => "0.9103",
"Catmandu::SRU" => "0.032",
"Encode" => "2.5",
"Moo" => "1.0",
"Readonly" => "1.0",
"XML::LibXML::Reader" => "2.0"
},
"TEST_REQUIRES" => {},
"VERSION" => "0.06",
"VERSION" => "0.07",
"test" => {
"TESTS" => "t/*.t"
}
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
my $br = $WriteMakefileArgs{BUILD_REQUIRES};
for my $mod ( keys %$tr ) {
if ( exists $br->{$mod} ) {
$br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
}
else {
$br->{$mod} = $tr->{$mod};
}
}
}
my %FallbackPrereqs = (
"Catmandu" => "0.9103",
"Catmandu::SRU" => "0.032",
"Encode" => "2.5",
"Moo" => "1.0",
"Readonly" => "1.0",
"XML::LibXML::Reader" => "2.0"
);

unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
my $pp = $WriteMakefileArgs{PREREQ_PM};
for my $mod ( keys %$br ) {
if ( exists $pp->{$mod} ) {
$pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
}
else {
$pp->{$mod} = $br->{$mod};
}
}

unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author = Johann Rolschewski <rolschewski@gmail.com>
copyright_year = 2013
copyright_holder = Johann Rolschewski

version = 0.06
version = 0.07

[@Basic]
[MetaJSON]
Expand Down

0 comments on commit a924c69

Please sign in to comment.