Skip to content

Commit

Permalink
Update basic repo files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Henning Thorsen committed Apr 22, 2015
1 parent c71e142 commit e7d7236
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 51 deletions.
62 changes: 31 additions & 31 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
Revision history for Applify
Revision history for perl distribution Applify

0.09 Sun Sep 28 22:03:06 2014
* Fix failig test in blead perl 5.21.4 #1
0.09 2014-09-28T22:03:06Z
- Fix failig test in blead perl 5.21.4 #1

0.08 Fri Sep 5 16:55:03 2014
* Will not call meta() unless the class extends Moose::Object
0.08 2014-09-05T16:55:03Z
- Will not call meta() unless the class extends Moose::Object

0.07 Fri Sep 5 14:36:58 2014
* Fix --args to Moose's new()
0.07 2014-09-05T14:36:58Z
- Fix --args to Moose's new()

0.06 Wed Apr 23 14:25:16 2014
* Fix "use constant FOO => 123;"
0.06 2014-04-23T14:25:16Z
- Fix "use constant FOO => 123;"

0.0501 Thu Sep 6 15:53:07 2012
* Fix major bug: Should be caller(0) and not caller(1) in import().
This made the perl debugger complain:
syntax error at my-script.pl line 28, near "documentation __FILE__"
Contributor: Ole Bjørn Hessen
0.0501 2012-09-06T15:53:07Z
- Fix major bug: Should be caller(0) and not caller(1) in import(). This
made the perl debugger complain: syntax error at my-script.pl line 28,
near "documentation __FILE__" Contributor: Ole Bjørn Hessen

0.05 Fri Jul 20 12:13:24 2012
* Applify works with Moo
0.05 2012-07-20T12:13:24Z
- Applify works with Moo

0.04 Sun May 6 11:36:19 2012
* Fix app, option(), ... should not be defined to the appliction
namespace.
0.04 2012-05-06T11:36:19Z
- Fix app, option(), ... should not be defined to the appliction
namespace.

0.03 Sun May 6 11:13:08 2012
* Methods do not need to be defined in the app:: namespace.
0.03 2012-05-06T11:13:08Z
- Methods do not need to be defined in the app:: namespace.

0.02 Sun Feb 19 18:33:15 2012
* Options can be set in application
* Options can take (n_of => '...')
* --help will include SYNOPSIS
0.02 2012-02-19T18:33:15Z
- Options can be set in application
- Options can take (n_of => '...')
- --help will include SYNOPSIS

0.01 2012-02-17T21:54:24Z
- Add option keyword
- Add documentation keyword
- Add version keyword
- Add extends keyword
- Add app keyword

0.01 Fri Feb 17 21:54:24 CET 2012
* Add option keyword
* Add documentation keyword
* Add version keyword
* Add extends keyword
* Add app keyword
28 changes: 10 additions & 18 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
# Generated by git-ship. See 'git-ship --man' for help or https://github.com/jhthorsen/app-git-ship
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Applify',
AUTHOR => 'Jan Henning Thorsen <jhthorsen@cpan.org>',
LICENSE => 'artistic_2',
NAME => 'Applify',
AUTHOR => 'Jan Henning Thorsen <jhthorsen@cpan.org>',
LICENSE => 'artistic_2',
ABSTRACT_FROM => 'lib/Applify.pm',
VERSION_FROM => 'lib/Applify.pm',
EXE_FILES => [qw( )],
META_MERGE => {
VERSION_FROM => 'lib/Applify.pm',
EXE_FILES => [qw( )],
META_MERGE => {
resources => {
bugtracker => 'https://github.com/jhthorsen/applify/issues',
homepage => 'https://github.com/jhthorsen/applify',
homepage => 'https://github.com/jhthorsen/applify',
repository => 'https://github.com/jhthorsen/applify.git',
},
},
BUILD_REQUIRES => {
'Test::More' => '0.88'
}
,
PREREQ_PM => {
'Cwd' => '3.31',
'File::Basename' => '2.70',
'Getopt::Long' => '2.38'
}
,
test => { TESTS => 't/*.t' },
BUILD_REQUIRES => {'Test::More' => '0.88'},
PREREQ_PM => {'Cwd' => '0', 'File::Basename' => '0', 'Getopt::Long' => '0'},
test => {TESTS => 't/*.t'},
);
11 changes: 9 additions & 2 deletions t/00-basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ if (!eval 'use Test::Pod::Coverage; 1') {
SKIP: { skip "pod_coverage_ok(@_) (Test::Pod::Coverage is required)", 1 }
};
}
if (!eval 'use Test::CPAN::Changes; 1') {
*Test::CPAN::Changes::changes_file_ok = sub {
SKIP: { skip "changes_ok(@_) (Test::CPAN::Changes is required)", 4 }
};
}

find({wanted => sub { /\.pm$/ and push @files, $File::Find::name }, no_chdir => 1}, -e 'blib' ? 'blib' : 'lib',);

plan tests => @files * 3;
plan tests => @files * 3 + 4;

for my $file (@files) {
my $module = $file;
Expand All @@ -26,5 +31,7 @@ for my $file (@files) {
$module =~ s,/,::,g;
ok eval "use $module; 1", "use $module" or diag $@;
Test::Pod::pod_file_ok($file);
Test::Pod::Coverage::pod_coverage_ok($module);
Test::Pod::Coverage::pod_coverage_ok($module, {also_private => [qr/^[A-Z_]+$/],});
}

Test::CPAN::Changes::changes_file_ok();

0 comments on commit e7d7236

Please sign in to comment.