Skip to content

Commit

Permalink
Change default license to artistic2
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Byrd committed Apr 25, 2012
1 parent be6a473 commit 2cc5e2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/module-starter
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Options:
--ignores=type Ignore type files to include (repeatable)
--license=type License under which the module will be distributed
(default is the same license as perl)
(default is artistic2, as of v1.59)
--minperl=ver Minimum Perl version required (optional;
default is 5.006)
Expand Down
2 changes: 1 addition & 1 deletion lib/Module/Starter/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ sub create_distro {
croak "Must specify an email address\n" unless $self->{email};
($self->{email_obfuscated} = $self->{email}) =~ s/@/ at /;

$self->{license} ||= 'perl';
$self->{license} ||= 'artistic2';
$self->{minperl} ||= 5.006;
$self->{ignores_type} ||= ['generic'];
$self->{manifest_skip} = !! grep { /manifest/ } @{ $self->{ignores_type} };
Expand Down
4 changes: 2 additions & 2 deletions t/test-dist.t
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ run_settest('MyModule-Test', {
distro => 'MyModule-Test',
modules => ['MyModule::Test', 'MyModule::Test::App'],
builder => 'Module::Build',
license => 'perl',
license => 'artistic2',
author => 'Baruch Spinoza',
email => 'spinoza@philosophers.tld',
verbose => 0,
Expand All @@ -1348,7 +1348,7 @@ run_settest('Book-Park-Mansfield', {
'JAUSTEN::Utils',
],
builder => 'Module::Build',
license => 'perl',
license => 'artistic2',
author => 'Jane Austen',
email => 'jane.austen@writers.tld',
verbose => 0,
Expand Down

0 comments on commit 2cc5e2a

Please sign in to comment.