.pryrc
author Mahlon E. Smith <mahlon@laika.com>
Fri, 12 May 2017 11:09:36 -0700
changeset 15 a38e6916504c
parent 12 3cc813140c80
permissions -rw-r--r--
Everything is workin! - Add a corpus of test messages to the spec data, with the script that generated them. - Add native objects for Authors, Messages, and Threads. - Tests!

#!/usr/bin/ruby


$LOAD_PATH.unshift( 'lib' )

require 'pathname'
listpath = Pathname.new( __FILE__ ).dirname + 'spec' + 'data'

begin
	require 'ezmlm'
	list = Ezmlm::List.new( listpath + 'testlist' )

rescue Exception => e
	$stderr.puts "Ack! Ezmlm libraries failed to load: #{e.message}\n\t" +
		e.backtrace.join( "\n\t" )
end