Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdb83e7

Browse files
committed
* Updated copyright.
* Added Module::Build to build_requires. * Added SVN link. * Timestamped for 0.05.
1 parent f79d0be commit fdb83e7

File tree

6 files changed

+59
-26
lines changed

6 files changed

+59
-26
lines changed

Build.PL

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ my $build = Module::Build->new(
66
create_makefile_pl => 'passthrough',
77
create_readme => 1,
88
configure_requires => { 'Module::Build' => '0.2701' },
9-
build_requires => { 'Test::More' => '0.17' },
109
recommends => { 'Test::Pod' => '1.20' },
10+
build_requires => {
11+
'Test::More' => '0.17',
12+
'Module::Build' => '0.2701',
13+
},
1114
requires => {
1215
Text::Diff => '0.11',
1316
HTML::Entities => '0',

Changes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
Revision history for Perl extension Text::Diff::HTML.
22

3-
0.05
3+
0.05 2008-05-04T02:11:09
44
- Added the "configure_requires" and "recommends" parameters to
55
Build.PL.
6+
- Added a link to the Subversion repository.
67

78
0.04 2005-09-06T16:33:51
89
- Swiched from <span class="ins"> and <span class="del"> to <ins>

META.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,26 @@
22
name: Text-Diff-HTML
33
version: 0.05
44
author:
5-
- David Wheeler <[email protected]>
5+
- 'David Wheeler <[email protected]>'
66
abstract: XHTML format for Text::Diff::Unified
77
license: perl
8+
resources:
9+
license: http://dev.perl.org/licenses/
10+
configure_requires:
11+
Module::Build: 0.2701
812
requires:
913
HTML::Entities: 0
1014
Text::Diff: 0.11
1115
build_requires:
12-
Test::Simple: 0.17
16+
Module::Build: 0.2701
17+
Test::More: 0.17
18+
recommends:
19+
Test::Pod: 1.20
1320
provides:
1421
Text::Diff::HTML:
1522
file: lib/Text/Diff/HTML.pm
1623
version: 0.05
17-
generated_by: Module::Build version 0.2702
24+
generated_by: Module::Build version 0.280801
25+
meta-spec:
26+
url: http://module-build.sourceforge.net/META-spec-v1.2.html
27+
version: 1.2

Makefile.PL

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Note: this file was auto-generated by Module::Build::Compat version 0.03
1+
# Note: this file was auto-generated by Module::Build::Compat version 0.2808_01
22

33
unless (eval "use Module::Build::Compat 0.02; 1" ) {
44
print "This module requires Module::Build to install itself.\n";
@@ -17,15 +17,15 @@
1717

1818
# Save this 'cause CPAN will chdir all over the place.
1919
my $cwd = Cwd::cwd();
20-
my $makefile = File::Spec->rel2abs($0);
2120

22-
CPAN::Shell->install('Module::Build::Compat')
23-
or die " *** Cannot install without Module::Build. Exiting ...\n";
21+
CPAN::Shell->install('Module::Build::Compat');
22+
CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
23+
or die "Couldn't install Module::Build, giving up.\n";
2424

2525
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
2626
}
2727
eval "use Module::Build::Compat 0.02; 1" or die $@;
28-
use lib '_build/lib';
28+
2929
Module::Build::Compat->run_build_pl(args => \@ARGV);
3030
require Module::Build;
3131
Module::Build::Compat->write_makefile(build_class => 'Module::Build');

README

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ Description
2323
HTML::Entities, and the various sections of the diff are marked up with
2424
the appropriate XHTML elements. The elements used are as follows:
2525

26-
* "<div class="file">"
26+
* "<div class="file">"
27+
2728
This element contains the entire contents of the diff "file"
2829
returned by "diff()". All of the following elements are subsumed by
2930
this one.
3031

31-
* "<span class="fileheader">"
32+
* "<span class="fileheader">"
33+
3234
The header section for the files being "diff"ed, usually
3335
something like:
3436

@@ -38,11 +40,13 @@ Description
3840
This element immediately follows the opening "file" "<div>"
3941
element.
4042

41-
* "<div class="hunk">"
43+
* "<div class="hunk">"
44+
4245
This element contains a single diff "hunk". Each hunk may
43-
contain the following "<span>" elements:
46+
contain the following elements:
47+
48+
* "<span class="hunkheader">"
4449

45-
* "<span class="hunkheader">"
4650
Header for a diff hunk. The hunk header is usually something
4751
like:
4852

@@ -51,21 +55,26 @@ Description
5155
This element immediately follows the opening "hunk" "<div>"
5256
element.
5357

54-
* "<span class="ctx">"
58+
* "<span class="ctx">"
59+
5560
Context around the important part of a "diff" hunk. These
5661
are contents that have *not* changed between the files being
5762
"diff"ed.
5863

59-
* "<ins>"
64+
* "<ins>"
65+
6066
Inserted content, each line starting with "+".
6167

62-
* "<del>"
68+
* "<del>"
69+
6370
Deleted content, each line starting with "-".
6471

65-
* "<span class="hunkfooter">"
72+
* "<span class="hunkfooter">"
73+
6674
The footer section of a hunk; contains no contents.
6775

68-
* "<span class="filefooter">"
76+
* "<span class="filefooter">"
77+
6978
The footer section of a file; contains no contents.
7079

7180
You may do whatever you like with these elements and classes; I highly
@@ -77,14 +86,19 @@ See Also
7786
Text::Diff
7887
Algorithm::Diff
7988

80-
Bugs
81-
Please send bug reports to <[email protected]>.
89+
Support
90+
This module is stored in an open repository at the following address:
91+
92+
<https://svn.kineticode.com/Text-Diff-HTML/trunk/>
93+
94+
Patches against SVN::Notify are welcome. Please send bug reports to
95+
8296

8397
Author
8498
David Wheeler <[email protected]>
8599

86100
Copyright and License
87-
Copyright (c) 2005 Kineticode, Inc. All Rights Reserved.
101+
Copyright (c) 2005-2008 Kineticode, Inc. Some Rights Reserved.
88102

89103
This module is free software; you can redistribute it and/or modify it
90104
under the same terms as Perl itself.

lib/Text/Diff/HTML.pm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,14 @@ want to wrap the output of your diff a C<< <pre> >> element.
211211
212212
=back
213213
214-
=head1 Bugs
214+
=head1 Support
215215
216-
Please send bug reports to <[email protected]>.
216+
This module is stored in an open repository at the following address:
217+
218+
L<https://svn.kineticode.com/Text-Diff-HTML/trunk/>
219+
220+
Patches against SVN::Notify are welcome. Please send bug reports to
221+
217222
218223
=head1 Author
219224
@@ -230,7 +235,7 @@ David Wheeler <[email protected]>
230235
231236
=head1 Copyright and License
232237
233-
Copyright (c) 2005 Kineticode, Inc. All Rights Reserved.
238+
Copyright (c) 2005-2008 Kineticode, Inc. Some Rights Reserved.
234239
235240
This module is free software; you can redistribute it and/or modify it under the
236241
same terms as Perl itself.

0 commit comments

Comments
 (0)