Permalink
Browse files

switch to M::B

  • Loading branch information...
1 parent c820d7c commit 3e49c231820c039c56927cfd3c9acd7041fd8a2c @tokuhirom committed Oct 19, 2011
View
@@ -6,3 +6,16 @@ ppport.h
*.sw[po]
*.bak
*.old
+Build
+_build/
+xshelper.h
+tags
+pm_to_blib
+blib/
+META.yml
+MYMETA.*
+META.json
+META.yml
+README
+^inc/
+HTML-Pictogram-MobileJp-*/
View
@@ -0,0 +1,25 @@
+use strict;
+use warnings FATAL => 'all';
+use Module::Build;
+
+my $build = Module::Build->new(
+ license => 'perl',
+ recursive_test_files => 1,
+ dynamic_config => 0,
+ build_requires => { 'Test::MobileAgent' => '0' },
+ configure_requires => { 'Module::Build' => '0.38' },
+ requires => {
+ 'perl' => '5.00800',
+ 'parent' => '0',
+ 'HTTP::MobileAgent' => '0'
+ },
+ no_index => { 'directory' => [ 't', 'inc' ] },
+ name => 'HTML-Pictogram-MobileJp',
+ module_name => 'HTML::Pictogram::MobileJp',
+
+ test_files => ( -d '.git' || $ENV{RELEASE_TESTING} ) ? 't/ xt/' : 't/',
+
+ create_readme => 1,
+ create_license => 1,
+);
+$build->create_build_script();
View
379 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -20,3 +20,18 @@
\.sw[po]$
^Build$
^HTML-Pictogram-MobileJp-[0-9.]+/
+^ppport.h$
+^xshelper.h$
+cover_db
+nytprof
+perltidy.ERR$
+^README.pod$
+^README.mkdn$
+^tags$
+^MYMETA\.
+\b_build
+^MANIFEST\.SKIP
+\b\.gitignore
+\.bak$
+^inc/
+^HTML-Pictogram-MobileJp-
View
@@ -1,16 +0,0 @@
-use inc::Module::Install;
-name 'HTML-Pictogram-MobileJp';
-all_from 'lib/HTML/Pictogram/MobileJp.pm';
-
-requires 'HTTP::MobileAgent';
-requires 'parent';
-test_requires 'Test::MobileAgent';
-
-readme_markdown_from 'lib/HTML/Pictogram/MobileJp.pm';
-tests 't/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t';
-test_requires 'Test::More';
-test_requires 'YAML';
-author_tests('xt');
-# use_test_base;
-auto_include;
-WriteAll;
@@ -15,11 +15,22 @@ __END__
=head1 NAME
-HTML::Pictogram::MobileJp - 絵文字を一回かいたら、3キャリで表示できるようにするフィルタ
+HTML::Pictogram::MobileJp - Convert pictograms in HTML
=head1 DESCRIPTION
ドコモの絵文字番号 or 絵文字Unicodeの実態参照でかけば、それを各キャリアでみれるように変換するというライブラリです。
詳細は L<HTML::Pictogram::MobileJp::EmojiNumber>, L<HTML::Pictogram::MobileJp::Unicode> をそれぞれみてください。
+=head1 AUTHOR
+
+Tokuhiro Matsuno (tokuhirom@gmail.com)
+
+=head1 LICENSE
+
+Copyright (C) Tokuhiro Matsuno
+
+This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
+
+=cut
@@ -68,7 +68,7 @@ HTML::Pictogram::MobileJp::EmojiNumber - [emoji:1] みたいに絵文字を記
=head1 AUTHOR
-Tokuhiro Matsuno E<lt>tokuhirom AAJKLFJEF GMAIL COME<gt>
+Tokuhiro Matsuno E<lt>tokuhirom AAJKLFJEF@ GMAIL COME<gt>
=head1 SEE ALSO
@@ -61,7 +61,7 @@ HTML::Pictogram::MobileJp::Unicode - &#xXXXX; とかくと3キャリで表示で
=head1 AUTHOR
-Tokuhiro Matsuno E<lt>tokuhirom AAJKLFJEF GMAIL COME<gt>
+Tokuhiro Matsuno E<lt>tokuhirom AAJKLFJEF@ GMAIL COME<gt>
=head1 SEE ALSO
View
@@ -31,3 +31,4 @@ daisuke
maki
TODO
docomo
+pictograms
View
@@ -1,5 +1,13 @@
use strict;
use Test::More;
-eval { use Test::Perl::Critic -profile => 'xt/perlcriticrc' };
-plan skip_all => "Test::Perl::Critic is not installed." if $@;
+eval q{
+ use Test::Perl::Critic 1.02 -exclude => [
+ 'Subroutines::ProhibitSubroutinePrototypes',
+ 'Subroutines::ProhibitExplicitReturnUndef',
+ 'TestingAndDebugging::ProhibitNoStrict',
+ 'ControlStructures::ProhibitMutatingListFunctions',
+ 'InputOutput::RequireEncodingWithUTF8Layer',
+ ]
+};
+plan skip_all => "Test::Perl::Critic 1.02+ is not installed." if $@;
all_critic_ok('lib');
View
@@ -0,0 +1,4 @@
+use Test::More;
+eval "use Test::MinimumVersion 0.101080";
+plan skip_all => "Test::Minimumversion required for testing perl minimum version" if $@;
+all_minimum_version_from_metayml_ok();
View
@@ -0,0 +1,5 @@
+use Test::More;
+eval "use Test::CPAN::Meta";
+plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
+plan skip_all => "There is no META.yml" unless -f "META.yml";
+meta_yaml_ok();
View
@@ -0,0 +1,9 @@
+use strict;
+use Test::More;
+eval "use Parse::CPAN::Meta";
+plan skip_all => "Parse::CPAN::Meta required for testing META.yml" unless eval "use Parse::CPAN::Meta; 1;";
+plan skip_all => "There is no META.yml" unless -f "META.yml";
+
+my $meta = Parse::CPAN::Meta->load_file('META.yml');
+isnt($meta->{author}->[0], 'unknown');
+done_testing;
View
@@ -1,4 +0,0 @@
-[TestingAndDebugging::ProhibitNoStrict]
-allow=refs
-[-Subroutines::ProhibitSubroutinePrototypes]
-[-Subroutines::ProhibitExplicitReturnUndef]

0 comments on commit 3e49c23

Please sign in to comment.