Skip to content

Commit

Permalink
Added license type and github repo to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
neilb committed Nov 24, 2013
1 parent 91b1893 commit 2f861b4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 4 deletions.
10 changes: 8 additions & 2 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
Revision history for perl module Lingua::EN::Numbers
Revision history for Perl module Lingua::EN::Numbers

1.05 2013-11-24

- Added github repo to metadata in Makefile.PL
- Specified license type as GPL in Makefile.PL
(to match what the documentation already says)

1.04 2012-06-21

- Added links in SEE ALSO to all similar modules, and to the review
I did of all such modules for English.
- Corrected SEEL ALSO reference to a non-existent module
- Corrected SEE ALSO reference to a non-existent module
(reported by Karen Etheridge)

1.03 2011-11-20
Expand Down
27 changes: 27 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,35 @@ require 5.004;
use strict;
use ExtUtils::MakeMaker;

my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) { # dev version
$mm_ver = eval $mm_ver;
die $@ if $@;
}

WriteMakefile(
'NAME' => 'Lingua::EN::Numbers',
'VERSION_FROM' => 'lib/Lingua/EN/Numbers.pm', # finds $VERSION
'dist' => { COMPRESS => 'gzip -6f', SUFFIX => 'gz', },

($mm_ver >= 6.31
? (LICENSE => 'gpl')
: ()
),

($mm_ver <= 6.45
? ()
: (META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Lingua-EN-Numbers',
repository => {
type => 'git',
web => 'https://github.com/neilbowers/Lingua-EN-Numbers',
url => 'git://github.com/neilbowers/Lingua-EN-Numbers.git',
},
},
})
),

);
4 changes: 2 additions & 2 deletions lib/Lingua/EN/Numbers.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use vars qw(
$MODE $TRUE $FALSE
%D %Card2ord %Mult
);
$VERSION = '1.04';
$VERSION = '1.05';
@EXPORT = ();
@EXPORT_OK = qw( num2en num2en_ordinal );

Expand Down Expand Up @@ -334,7 +334,7 @@ L<Lingua::EN::Numbers::Years>
Copyright (c) 2005, Sean M. Burke, author of the later versions.
Copyright (c) 2011-2012, Neil Bowers, minor changes in 1.02 and later.
Copyright (c) 2011-2013, Neil Bowers, minor changes in 1.02 and later.
This library is free software; you can redistribute it and/or modify
it only under the terms of version 2 of the GNU General Public License
Expand Down

0 comments on commit 2f861b4

Please sign in to comment.