Skip to content

Commit

Permalink
Adding the gurgitate-mail files to rubyforge so that others may find …
Browse files Browse the repository at this point in the history
…them.
  • Loading branch information
dagbrown committed Aug 19, 2003
0 parents commit e55fb7a
Show file tree
Hide file tree
Showing 8 changed files with 712 additions and 0 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
1.1.1 - maintenance release

Fixed the regexes for my own email addresses--they had backslashes
in strange place, causing people to ask odd questions.

Fixed a typo (thanks to Tom Wadlow)--I was using an undefined
local variable "sendmail" instead of a class variable "@sendmail".

1.1

Implemented Pavel Kolar's suggestion that if you filter email
through an external program, you might want the results of that,
instead of just a return code.

Added a default value to the Gurgitate initializer parameter.

Added an "install.rb" script to install the script and library
files into their proper locations.

Pulled the "Gurgitate" class and friends out into a separate file,
and made "gurgitate-mail" into a tiny script which does a
"require" to pull the gurgitate-mail stuff in. This should make
it easier to extend in the future.

Added this file to the distribution. :-)

1.0.1 - maintenance release

Small code cleanup--changed some accessors to use attr_*.

1.0

Initial release of gurgitate-mail
2 changes: 2 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
To install gurgitate-mail, simply run the "install.rb" script:
ruby install.rb
57 changes: 57 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
TARGETS = gurgitate-mail.rb gurgitate-mail gurgitate-mail.html gurgitate-mail.man README

TARBALL=$(shell echo gurgitate-mail-`cat VERSION`.tar.gz)
WEBPAGE=$(HOME)/public_html/software/gurgitate-mail

all: $(TARGETS)

dist: tarball

clean:
-rm -f $(TARGETS)
-rm -f pod2htm*~~

tarball: $(TARGETS) INSTALL CHANGELOG
cd .. && tar zcvf $(TARBALL) \
gurgitate-mail/INSTALL \
gurgitate-mail/install.rb \
gurgitate-mail/gurgitate-mail \
gurgitate-mail/gurgitate-mail.rb \
gurgitate-mail/gurgitate-mail.html \
gurgitate-mail/gurgitate-mail.man \
gurgitate-mail/CHANGELOG \
gurgitate-mail/README

gurgitate-mail.rb: gurgitate-mail.RB
ruby -w -c $< && cp $< $@

gurgitate-mail: gurgitate.rb
ruby -w -c $< && cp $< $@
chmod +x gurgitate-mail

gurgitate-mail.html: gurgitate-mail.pod
pod2html $< > $@

gurgitate-mail.man: gurgitate-mail.pod
pod2man $< > $@

README: gurgitate-mail.pod
pod2text $< > $@

tag: VERSION
cvs update VERSION
@echo "Adding tag RELEASE_"`sed 's/\./_/g' VERSION`
cvs tag RELEASE_`sed 's/\./_/g' VERSION` .

untag: VERSION
cvs update VERSION
@echo "Removing tag RELEASE_"`sed 's/\./_/g' VERSION`
cvs tag -d RELEASE_`sed 's/\./_/g' VERSION` .

release: tag tarball
cp ../$(TARBALL) $(WEBPAGE)
chmod 644 $(WEBPAGE)/$(TARBALL)
cp CHANGELOG $(WEBPAGE)/CHANGELOG.txt
chmod 644 $(WEBPAGE)/CHANGELOG.txt
cp gurgitate-mail.html $(WEBPAGE)
chmod 644 $(WEBPAGE)/gurgitate-mail.html
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.1
Loading

0 comments on commit e55fb7a

Please sign in to comment.