[Catalyst-commits] r12421 - in Catalyst-Model-XML-Feed/trunk: .
lib/Catalyst/Model/XML t
marcus at dev.catalyst.perl.org
marcus at dev.catalyst.perl.org
Thu Dec 17 11:58:27 GMT 2009
Author: marcus
Date: 2009-12-17 11:58:26 +0000 (Thu, 17 Dec 2009)
New Revision: 12421
Modified:
Catalyst-Model-XML-Feed/trunk/Changes
Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm
Catalyst-Model-XML-Feed/trunk/t/01-add-feeds.t
Catalyst-Model-XML-Feed/trunk/t/02-preregister.t
Log:
Skip live tests, prepare to release
Modified: Catalyst-Model-XML-Feed/trunk/Changes
===================================================================
--- Catalyst-Model-XML-Feed/trunk/Changes 2009-12-17 01:12:56 UTC (rev 12420)
+++ Catalyst-Model-XML-Feed/trunk/Changes 2009-12-17 11:58:26 UTC (rev 12421)
@@ -1,6 +1,11 @@
Revision history for Catalyst-Model-XML-Feed
-0.02 3 Septmeber 2006
+0.03 17 December 2009
+ Switch to use MRO::Compat
+ Skip live tests by default
+ Update to new delicious links.
+
+0.02 3 September 2006
Feeds didn't refresh properly, they do now.
Documentation fixes.
Modified: Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm
===================================================================
--- Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm 2009-12-17 01:12:56 UTC (rev 12420)
+++ Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm 2009-12-17 11:58:26 UTC (rev 12421)
@@ -18,11 +18,11 @@
=head1 VERSION
-Version 0.02
+Version 0.03
=cut
-our $VERSION = '0.02';
+our $VERSION = '0.03';
=head1 SYNOPSIS
Modified: Catalyst-Model-XML-Feed/trunk/t/01-add-feeds.t
===================================================================
--- Catalyst-Model-XML-Feed/trunk/t/01-add-feeds.t 2009-12-17 01:12:56 UTC (rev 12420)
+++ Catalyst-Model-XML-Feed/trunk/t/01-add-feeds.t 2009-12-17 11:58:26 UTC (rev 12421)
@@ -4,8 +4,13 @@
use strict;
use warnings;
-use Test::More tests => 10;
-BEGIN { use_ok('Catalyst::Model::XML::Feed'); }
+use Test::More;
+BEGIN {
+ plan skip_all => "Set TEST_LIVE environment variable to run live tests."
+ unless $ENV{TEST_LIVE};
+ plan tests => 10;
+ use_ok('Catalyst::Model::XML::Feed');
+}
my $model = Catalyst::Model::XML::Feed->new;
ok($model, 'created model');
Modified: Catalyst-Model-XML-Feed/trunk/t/02-preregister.t
===================================================================
--- Catalyst-Model-XML-Feed/trunk/t/02-preregister.t 2009-12-17 01:12:56 UTC (rev 12420)
+++ Catalyst-Model-XML-Feed/trunk/t/02-preregister.t 2009-12-17 11:58:26 UTC (rev 12421)
@@ -2,16 +2,22 @@
# 02-preregister.t
# Copyright (c) 2006 Jonathan Rockway <jrockway at cpan.org>
-use strict;
-use warnings;
-use Test::More tests => 6;
-BEGIN { use_ok('Catalyst::Model::XML::Feed'); }
+ use strict;
+ use warnings;
+ use Test::More;
+ BEGIN {
+ plan skip_all => "Set TEST_LIVE environment variable to run live tests."
+ unless $ENV{TEST_LIVE};
+ plan tests => 6;
+ use_ok('Catalyst::Model::XML::Feed');
+
+}
my $model = Catalyst::Model::XML::Feed->
new(undef,
{feeds => [
{title => 'delicious', uri => 'http://feeds.delicious.com/v2/rss/'},
- {location => 'http://blog.jrock.us/'},
+ {location => 'http://googleblog.blogspot.com/'},
]
},
);
More information about the Catalyst-commits
mailing list