Fixes for documentation and test directories that didn't make it into the repo.

This commit is contained in:
Mahlon E. Smith 2017-05-16 15:52:05 -07:00
parent 28948e513f
commit c9450e8415
20 changed files with 36 additions and 80 deletions

View file

@ -1,5 +1,6 @@
# vim: set nosta noet ts=4 sw=4:
require 'pathname'
# A Ruby interface to the ezmlm-idx mailing list system.
#
@ -9,24 +10,11 @@
# puts "\"%s\" <%s>" % [ list.name, list.address ]
# end
#
#
# == Version
#
# $Id$
#
#---
#
# Please see the file LICENSE in the base directory for licensing details.
#
require 'pathname'
### Toplevel namespace module
module Ezmlm
# $Id$
# Package version
VERSION = '1.0.0'
VERSION = '1.0.1'
# Suck in the components.
#

View file

@ -2,26 +2,19 @@
# vim: set nosta noet ts=4 sw=4:
# A Ruby interface to a single Ezmlm-idx mailing list directory.
#
# list = Ezmlm::List.new( '/path/to/listdir' )
#
#
# == Version
#
# $Id$
#
#---
require 'pathname'
require 'time'
require 'etc'
require 'ezmlm' unless defined?( Ezmlm )
### A Ruby interface to an ezmlm-idx mailing list directory
###
# A Ruby interface to a single Ezmlm-idx mailing list directory.
#
# list = Ezmlm::List.new( '/path/to/listdir' )
#
#---
class Ezmlm::List
# $Id$
# Valid subdirectories/sections for subscriptions.
SUBSCRIPTION_DIRS = %w[ deny mod digest allow ]

View file

@ -1,6 +1,9 @@
#!/usr/bin/ruby
# vim: set nosta noet ts=4 sw=4:
require 'pathname'
require 'ezmlm' unless defined?( Ezmlm )
# A collection of messages authored from a unique user.
#
@ -11,20 +14,9 @@
# author.name #=> "Help - navigate on interface?"
# author.first.date.to_s #=> "2017-05-07T14:55:05-07:00"
#
#
# == Version
#
# $Id$
#
#---
require 'pathname'
require 'ezmlm' unless defined?( Ezmlm )
### A collection of messages for a specific author.
###
class Ezmlm::List::Author
# $Id$
include Enumerable
### Instantiate a new list of messages given

View file

@ -1,6 +1,9 @@
#!/usr/bin/ruby
# vim: set nosta noet ts=4 sw=4:
require 'pathname'
require 'ezmlm' unless defined?( Ezmlm )
require 'mail'
# An individual list message.
#
@ -12,20 +15,9 @@
# This class passes all heavy lifting to the Mail::Message library.
# Please see it for specifics on usage.
#
# == Version
#
# $Id$
#
#---
require 'pathname'
require 'ezmlm' unless defined?( Ezmlm )
require 'mail'
### A Ruby interface to an individual list message.
###
class Ezmlm::List::Message
# $Id$
### Instantiate a new messag from a +list+ and a +message_number+.
###

View file

@ -1,6 +1,9 @@
#!/usr/bin/ruby
# vim: set nosta noet ts=4 sw=4:
require 'pathname'
require 'ezmlm' unless defined?( Ezmlm )
# A collection of messages for a specific archive thread.
#
@ -8,20 +11,9 @@
# thread.subject #=> "Help - navigate on interface?"
# thread.first.date.to_s #=> "2017-05-07T14:55:05-07:00"
#
#
# == Version
#
# $Id$
#
#---
require 'pathname'
require 'ezmlm' unless defined?( Ezmlm )
### A collection of messages for a specific archive thread.
###
class Ezmlm::List::Thread
# $Id$
include Enumerable
### Instantiate a new thread of messages given