[Rt-commit] [svn] r911 - in RTx-Atom: . lib/RT t

autrijus at pallas.eruditorum.org autrijus at pallas.eruditorum.org
Mon May 17 10:40:14 EDT 2004


Author: autrijus
Date: Mon May 17 10:40:14 2004
New Revision: 911

Added:
   RTx-Atom/Changes
   RTx-Atom/README
   RTx-Atom/t/0-signature.t
Modified:
   RTx-Atom/   (props changed)
   RTx-Atom/MANIFEST
   RTx-Atom/Makefile.PL
   RTx-Atom/lib/RT/Atom.pm
   RTx-Atom/lib/RT/Atom.pod
Log:
 ----------------------------------------------------------------------
 r4960 at not:  autrijus | 2004-05-17T14:39:07.780042Z
 
 * This be 0.00_01, first CPAN release.
 ----------------------------------------------------------------------


Added: RTx-Atom/Changes
==============================================================================
--- (empty file)
+++ RTx-Atom/Changes	Mon May 17 10:40:14 2004
@@ -0,0 +1,3 @@
+[Changes for 0.00_01 - May 17, 2004]
+
+Initial CPAN Release.

Modified: RTx-Atom/MANIFEST
==============================================================================
--- RTx-Atom/MANIFEST	(original)
+++ RTx-Atom/MANIFEST	Mon May 17 10:40:14 2004
@@ -1,3 +1,4 @@
+Changes
 html/Atom/0.3/Add/index
 html/Atom/0.3/autohandler
 html/Atom/0.3/Describe/Container
@@ -23,15 +24,21 @@
 html/Atom/0.3/Set/Property
 html/Atom/0.3/Update/index
 html/Atom/dhandler
+inc/ExtUtils/AutoInstall.pm
 inc/Module/Install.pm
+inc/Module/Install/AutoInstall.pm
 inc/Module/Install/Base.pm
+inc/Module/Install/Include.pm
 inc/Module/Install/Makefile.pm
 inc/Module/Install/Metadata.pm
 inc/Module/Install/RTx.pm
 inc/Module/Install/WriteAll.pm
-lib/RTx/Atom.pm
+lib/RT/Atom.pm
+lib/RT/Atom.pod
 Makefile.PL
 MANIFEST			This list of files
 META.yml
+README
 SIGNATURE
+t/0-signature.t
 t/1-basic.t

Modified: RTx-Atom/Makefile.PL
==============================================================================
--- RTx-Atom/Makefile.PL	(original)
+++ RTx-Atom/Makefile.PL	Mon May 17 10:40:14 2004
@@ -4,10 +4,33 @@
 
 use inc::Module::Install;
 
+warn << '.';
+### PLEASE NOTE ##############################################
+
+This is *PRE-ALPHA* code.  Using this module for anything
+(except for learning purporses) is strongly discouraged.
+
+Note that you need a RT3 instance before installing this module.
+RT3 is available from http://www.bestpractical.com/rt/.
+
+##############################################################
+.
+
 RTx('RT-Atom');
 author('Autrijus Tang <autrijus at autrijus.org>');
 abstract('Atom API for RT');
-license('perl');
+license('gpl');
+
+requires(qw(
+    URI		    0
+    XML::Simple	    0
+    Digest::MD5	    0
+    Digest::SHA1    0
+    MIME::Base64    0
+));
+
+include('ExtUtils::AutoInstall');
+auto_install( -config => { force => 1 } );
 
 &WriteAll( check_nmake => 0, sign => 1 );
 

Added: RTx-Atom/README
==============================================================================
--- (empty file)
+++ RTx-Atom/README	Mon May 17 10:40:14 2004
@@ -0,0 +1,26 @@
+This is the README file for RT::Atom, the RT-Atom API.
+
+Note that you need a RT3 instance before installing this module.
+RT3 is available from http://www.bestpractical.com/rt/.
+
+Please type "perldoc RT::Atom" after installation to see
+the module usage information.
+
+* Installation
+
+RT::Atom uses the standard perl module install process:
+
+cpansign -v		# optional; see SIGNATURE for details
+perl Makefile.PL
+make			# or 'nmake' on Win32
+make test
+make install
+
+* Copyright
+
+Copyright 2004 by Autrijus Tang <autrijus at autrijus.org>.
+
+All rights reserved.  You can redistribute and/or modify
+this bundle under the same terms as Perl itself.
+
+See <http://www.perl.com/perl/misc/Artistic.html>.

Modified: RTx-Atom/lib/RT/Atom.pm
==============================================================================
--- RTx-Atom/lib/RT/Atom.pm	(original)
+++ RTx-Atom/lib/RT/Atom.pm	Mon May 17 10:40:14 2004
@@ -1,5 +1,5 @@
 package RT::Atom;
-$RT::Atom::VERSION = '0.01';
+$RT::Atom::VERSION = '0.00_01';
 
 use strict;
 

Modified: RTx-Atom/lib/RT/Atom.pod
==============================================================================
--- RTx-Atom/lib/RT/Atom.pod	(original)
+++ RTx-Atom/lib/RT/Atom.pod	Mon May 17 10:40:14 2004
@@ -45,7 +45,7 @@
 Create an C<autrijus> user, then add it to all groups that has C<root>
 as member.
 
-First, the B<RT::Client> code:
+First, the B<RT::Client> code using its OO interface:
 
     my $rt = RT::Client->new('http://guest:guest@localhost/');
 
@@ -443,6 +443,8 @@
 
 =head1 SEE ALSO
 
+L<RT::Client>, L<XML::Atom>.
+
 Atom Tutorial:
 L<http://www.atomenabled.org/developers/tutorials/api-quick-guide.php>
 
@@ -468,4 +470,20 @@
 
 Autrijus Tang E<lt>autrijus at autrijus.orgE<gt>
 
+=head1 COPYRIGHT
+
+Copyright 2004 by Autrijus Tang.
+
+(Except where explicitly superseded by other copyright notices)
+
+This work is made available to you under the terms of Version 2 of
+the GNU General Public License. A copy of that license should have
+been provided with this software, but in any event can be snarfed
+from www.gnu.org.
+
+This work is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
 =cut

Added: RTx-Atom/t/0-signature.t
==============================================================================
--- (empty file)
+++ RTx-Atom/t/0-signature.t	Mon May 17 10:40:14 2004
@@ -0,0 +1,24 @@
+#!/usr/bin/perl
+
+use strict;
+print "1..1\n";
+
+if (!-s 'SIGNATURE') {
+    print "ok 1 # skip No signature file found\n";
+}
+elsif (!eval { require Module::Signature; 1 }) {
+    print "ok 1 # skip ",
+	    "Next time around, consider installing Module::Signature, ",
+	    "so you can verify the integrity of this distribution.\n";
+}
+elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) {
+    print "ok 1 # skip ",
+	    "Cannot connect to the keyserver\n";
+}
+else {
+    (Module::Signature::verify() == Module::Signature::SIGNATURE_OK())
+	or print "not ";
+    print "ok 1 # Valid signature\n";
+}
+
+__END__


More information about the Rt-commit mailing list