r51259 - in /branches/upstream/libtext-multimarkdown-perl/current: Changes META.yml Makefile.PL lib/Text/MultiMarkdown.pm t/20fulldocs-text-multimarkdown.t t/35commandlinemultimarkdown.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Tue Jan 19 15:57:44 UTC 2010
Author: jawnsy-guest
Date: Tue Jan 19 15:57:37 2010
New Revision: 51259
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51259
Log:
[svn-upgrade] Integrating new upstream version, libtext-multimarkdown-perl (1.000032)
Modified:
branches/upstream/libtext-multimarkdown-perl/current/Changes
branches/upstream/libtext-multimarkdown-perl/current/META.yml
branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL
branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm
branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t
branches/upstream/libtext-multimarkdown-perl/current/t/35commandlinemultimarkdown.t
Modified: branches/upstream/libtext-multimarkdown-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/Changes?rev=51259&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/Changes (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/Changes Tue Jan 19 15:57:37 2010
@@ -1,4 +1,8 @@
This file documents the revision history for Perl extension Text::MultiMarkdown.
+
+1.0.32 2010-12-19T10:31:00
+ - Removed File::Slurp dependency (v. 9999.13 fails tests on Strawberry
+ 5.10.1) (dandv)
1.0.31 2009-10-25T19:19:30
- Version bump to depend on 2 part version number in latest
@@ -230,4 +234,3 @@
1.0.0 2006-08-22T00:00:00
- first release
-
Modified: branches/upstream/libtext-multimarkdown-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/META.yml?rev=51259&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/META.yml (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/META.yml Tue Jan 19 15:57:37 2010
@@ -4,7 +4,6 @@
- 'Tomas Doran <bobtfish at bobtfish.net>'
build_requires:
ExtUtils::MakeMaker: 6.42
- File::Slurp: 9999.08
FindBin: 0
List::MoreUtils: 0
Test::Exception: 0
@@ -32,4 +31,4 @@
bugtracker: http://github.com/bobtfish/text-multimarkdown/issues
license: http://opensource.org/licenses/bsd-license.php
repository: http://github.com/bobtfish/text-multimarkdown/
-version: 1.000031
+version: 1.000032
Modified: branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL?rev=51259&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/Makefile.PL Tue Jan 19 15:57:37 2010
@@ -17,7 +17,6 @@
build_requires 'Test::More' => '0.42';
build_requires 'Test::Exception' => undef;
build_requires 'List::MoreUtils' => undef;
-build_requires 'File::Slurp' => '9999.08';
build_requires 'FindBin' => undef;
if ($Module::Install::AUTHOR) {
@@ -29,4 +28,3 @@
prompt_script('script/MultiMarkdown.pl');
WriteAll;
-
Modified: branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm?rev=51259&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/lib/Text/MultiMarkdown.pm Tue Jan 19 15:57:37 2010
@@ -9,7 +9,7 @@
use Carp qw(croak);
use base qw(Text::Markdown);
-our $VERSION = '1.000031'; # 1.0.31
+our $VERSION = '1.000032'; # 1.0.32
$VERSION = eval $VERSION;
our @EXPORT_OK = qw(markdown);
Modified: branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t?rev=51259&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/t/20fulldocs-text-multimarkdown.t Tue Jan 19 15:57:37 2010
@@ -3,7 +3,6 @@
use Test::More;
use FindBin qw($Bin);
use List::MoreUtils qw(uniq);
-use File::Slurp qw(slurp);
use Encode;
our $TIDY = 0;
@@ -76,6 +75,13 @@
return @files;
}
+sub slurp {
+ my ($filename) = @_;
+ open my $file, '<', $filename or die "Couldn't open $filename: $!";
+ local $/ = undef;
+ return <$file>;
+}
+
sub run_tests {
my ($m, $docsdir, @files) = @_;
foreach my $test (@files) {
Modified: branches/upstream/libtext-multimarkdown-perl/current/t/35commandlinemultimarkdown.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtext-multimarkdown-perl/current/t/35commandlinemultimarkdown.t?rev=51259&op=diff
==============================================================================
--- branches/upstream/libtext-multimarkdown-perl/current/t/35commandlinemultimarkdown.t (original)
+++ branches/upstream/libtext-multimarkdown-perl/current/t/35commandlinemultimarkdown.t Tue Jan 19 15:57:37 2010
@@ -1,15 +1,16 @@
use strict;
use warnings;
use FindBin qw($Bin);
-use File::Slurp qw(slurp);
use Test::More tests => 2;
use Test::Exception;
-unshift(@ARGV, "$Bin/Text-MultiMarkdown.mdtest/Markdown_Documentation_-_Syntax.text");
-my $expected = slurp("$Bin/Text-MultiMarkdown.mdtest/Markdown_Documentation_-_Syntax.xhtml");
+my $filename = "$Bin/Text-MultiMarkdown.mdtest/Markdown_Documentation_-_Syntax";
+unshift(@ARGV, "$filename.text");
+open my $file, '<', "$filename.xhtml" or die "Couldn't open $filename: $!";
+my $expected = do {local $/ = undef; <$file>};
lives_ok {
require "$Bin/../script/MultiMarkdown.pl";
} 'require MultiMarkdown.pl works';
my $out = main();
-is($out, $expected, 'MultiMarkdown.pl does the right thing with the syntax guide');
+is($out, $expected, 'MultiMarkdown.pl does the right thing with the syntax guide');
More information about the Pkg-perl-cvs-commits
mailing list