[Rt-commit] rt branch, 3.9-merge-rtfm, updated. rt-3.9.6-1072-gc0755a2

Shawn Moore sartak at bestpractical.com
Thu Dec 2 21:40:24 EST 2010


The branch, 3.9-merge-rtfm has been updated
       via  c0755a2ea3b8d2669f27bb167315e297870446c1 (commit)
       via  58303d1c52abc401d501b9eaafb8df3cfd3f3faf (commit)
      from  30d72114d07e5d167e89456d0c6d3f58414600d4 (commit)

Summary of changes:
 lib/RT/URI/a.pm                |    2 +-
 lib/RT/URI/fsck_com_article.pm |    2 +-
 t/articles/uri-rtfm.t          |    8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 58303d1c52abc401d501b9eaafb8df3cfd3f3faf
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Dec 2 21:39:19 2010 -0500

    Fix package statement to match class name

diff --git a/lib/RT/URI/fsck_com_article.pm b/lib/RT/URI/fsck_com_article.pm
index 7b94c66..14f1ebf 100644
--- a/lib/RT/URI/fsck_com_article.pm
+++ b/lib/RT/URI/fsck_com_article.pm
@@ -45,7 +45,7 @@
 # those contributions and any derivatives thereof.
 #
 # END BPS TAGGED BLOCK }}}
-package RT::URI::fsck_com_rtfm;
+package RT::URI::fsck_com_article;
 
 use strict;
 use warnings;

commit c0755a2ea3b8d2669f27bb167315e297870446c1
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Dec 2 21:39:58 2010 -0500

    Lingering fsck_com_rtfm -> fsck_com_article

diff --git a/lib/RT/URI/a.pm b/lib/RT/URI/a.pm
index 9e24c57..6475a97 100644
--- a/lib/RT/URI/a.pm
+++ b/lib/RT/URI/a.pm
@@ -66,7 +66,7 @@ sub ParseURI {
     my $uri = shift;
 
     # "a:<articlenum>"
-    # Pass this off to fsck_com_rtfm, which is equipped to deal with
+    # Pass this off to fsck_com_article, which is equipped to deal with
     # articles after stripping off the a: prefix.
 
     if ($uri =~ /^$scheme:(\d+)/) {
diff --git a/t/articles/uri-rtfm.t b/t/articles/uri-rtfm.t
index e572a8f..73a6b47 100644
--- a/t/articles/uri-rtfm.t
+++ b/t/articles/uri-rtfm.t
@@ -5,11 +5,11 @@ use warnings;
 
 use RT::Test tests => 12;
 
-use_ok "RT::URI::fsck_com_rtfm";
-my $uri = RT::URI::fsck_com_rtfm->new( $RT::SystemUser );
+use_ok "RT::URI::fsck_com_article";
+my $uri = RT::URI::fsck_com_article->new( $RT::SystemUser );
 
 ok $uri;
-isa_ok $uri, 'RT::URI::fsck_com_rtfm';
+isa_ok $uri, 'RT::URI::fsck_com_article';
 isa_ok $uri, 'RT::URI::base';
 isa_ok $uri, 'RT::Base';
 
@@ -26,6 +26,6 @@ my ($id, $msg) = $article->Create(
 );
 ok($id,$msg);
 
-$uri = RT::URI::fsck_com_rtfm->new( $article->CurrentUser );
+$uri = RT::URI::fsck_com_article->new( $article->CurrentUser );
 is $uri->LocalURIPrefix . $article->id, $uri->URIForObject( $article );
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list