Skip to content

Commit 666ae2a

Browse files
adamkennedyGitpan
authored andcommitted
Import of ADAMK/PPI-HTML-1.08 from CPAN.
gitpan-cpan-distribution: PPI-HTML gitpan-cpan-version: 1.08 gitpan-cpan-path: ADAMK/PPI-HTML-1.08.tar.gz gitpan-cpan-author: ADAMK gitpan-cpan-maturity: released
1 parent e416c51 commit 666ae2a

File tree

20 files changed

+1400
-778
lines changed

20 files changed

+1400
-778
lines changed

Changes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
Revision history for Perl extension PPI::HTML
22

3+
1.08 Mon 16 Nov 2009
4+
- Correct spelling of "PPI::Statement::Compond" so that while, for, etc. work.
5+
- Add support for given/when/default.
6+
37
1.07 Fri 12 May 2006
48
- No functional changes
5-
- Upgraded to Module::Instal 0.62 (final release version)
9+
- Upgraded to Module::Install 0.62 (final release version)
610
- Removed auto_install, it's too troublesome
711

812
1.06 Sat 22 Apr 2006

MANIFEST

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ META.yml
1818
README
1919
t/01_compile.t
2020
t/02_main.t
21-
t/99_pod.t
21+
t/97_meta.t
22+
t/98_pod.t
23+
t/99_pmv.t

META.yml

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
1-
2-
no_index:
3-
directory:
4-
- inc
5-
- t
6-
generated_by: Module::Install version 0.62
1+
---
2+
abstract: 'Generate syntax-hightlighted HTML for Perl using PPI'
3+
author:
4+
- 'Adam Kennedy <[email protected]>'
5+
build_requires:
6+
ExtUtils::MakeMaker: 6.42
7+
File::Spec: 0.80
8+
Test::More: 0.47
9+
configure_requires:
10+
ExtUtils::MakeMaker: 6.42
711
distribution_type: module
8-
version: 1.07
9-
name: PPI-HTML
10-
author: Adam Kennedy <[email protected]>
12+
generated_by: 'Module::Install version 0.91'
1113
license: perl
12-
build_requires:
13-
Test::More: 0.47
14-
File::Spec: 0.80
15-
requires:
16-
PPI: 0.990
14+
meta-spec:
15+
url: http://module-build.sourceforge.net/META-spec-v1.4.html
16+
version: 1.4
17+
name: PPI-HTML
18+
no_index:
19+
directory:
20+
- inc
21+
- t
22+
requires:
1723
CSS::Tiny: 1.10
18-
perl: 5.005
24+
PPI: 0.990
1925
Params::Util: 0.05
20-
abstract: Generate syntax-hightlighted HTML for Perl using PPI
26+
perl: 5.005
27+
resources:
28+
ChangeLog: http://fisheye2.atlassian.com/changelog/cpan/trunk/PPI-HTML
29+
license: http://dev.perl.org/licenses/
30+
repository: http://svn.ali.as/cpan/trunk/PPI-HTML
31+
version: 1.08

Makefile.PL

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ all_from 'lib/PPI/HTML.pm';
55
requires 'CSS::Tiny' => '1.10';
66
requires 'PPI' => '0.990';
77
requires 'Params::Util' => '0.05';
8-
build_requires 'File::Spec' => '0.80';
9-
build_requires 'Test::More' => '0.47';
8+
test_requires 'File::Spec' => '0.80';
9+
test_requires 'Test::More' => '0.47';
1010
install_script 'bin/ppi2html';
1111

1212
WriteAll;

README

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ NAME
44
SYNOPSIS
55
use PPI;
66
use PPI::HTML;
7-
8-
# Load your Perl file
7+
8+
# Load your Perl file
99
my $Document = PPI::Document->load( 'script.pl' );
10-
11-
# Create a reusable syntax highlighter
10+
11+
# Create a reusable syntax highlighter
1212
my $Highlight = PPI::HTML->new( line_numbers => 1 );
13-
14-
# Spit out the HTML
13+
14+
# Spit out the HTML
1515
print $Highlight->html( $Document );
1616

1717
DESCRIPTION
@@ -86,15 +86,15 @@ SUPPORT
8686
For other issues, contact the maintainer
8787

8888
AUTHOR
89-
Adam Kennedy <[email protected]>
89+
Adam Kennedy <[email protected]>
9090

9191
Funding provided by The Perl Foundation
9292

9393
SEE ALSO
9494
<http://ali.as/>, PPI
9595

9696
COPYRIGHT
97-
Copyright (c) 2005, 2006 Adam Kennedy. All rights reserved.
97+
Copyright 2005 - 2009 Adam Kennedy.
9898

9999
This program is free software; you can redistribute it and/or modify it
100100
under the same terms as Perl itself.

0 commit comments

Comments
 (0)