Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2010 12:26:37 GMT
From:      Eric Freeman <freebsdports@chillibear.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150116: New port: mail/rubygem-pony (express mail sending in ruby)
Message-ID:  <201008301226.o7UCQbpi020757@www.freebsd.org>
Resent-Message-ID: <201008301230.o7UCU1I7072366@freefall.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help

>Number:         150116
>Category:       ports
>Synopsis:       New port: mail/rubygem-pony  (express mail sending in ruby)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 30 12:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Eric Freeman
>Release:        8.1
>Organization:
>Environment:
FreeBSD bsd8.localnet 8.1-STABLE-201008 FreeBSD 8.1-STABLE-201008 #0: Mon Aug  2 20:04:38 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Simple port of this gem

Pony provides a simple way to send email in one command, eg
Pony.mail(:to => 'someone@example.com', :body => 'hello')

Please note that this port has a direct dependency on: ports/150112

It should also be noted that if you want to use SMTP TLS with this gem and you have Ruby 1.8.6 you'll need this: ports/150115

http://github.com/benprew/pony
>How-To-Repeat:
n/a
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rubygem-pony
#	rubygem-pony/distinfo
#	rubygem-pony/Makefile
#	rubygem-pony/pkg-descr
#
echo c - rubygem-pony
mkdir -p rubygem-pony > /dev/null 2>&1
echo x - rubygem-pony/distinfo
sed 's/^X//' >rubygem-pony/distinfo << 'ba503424b301b54a8d81a32a318905c0'
XMD5 (rubygem/pony-1.0.gem) = aa8b08e5b2d14b1ca1427273043b5da7
XSHA256 (rubygem/pony-1.0.gem) = 98314dedc90e36a7e3a1a970294159fa43ba81609e80444f143206daa4e07904
XSIZE (rubygem/pony-1.0.gem) = 9216
ba503424b301b54a8d81a32a318905c0
echo x - rubygem-pony/Makefile
sed 's/^X//' >rubygem-pony/Makefile << '4a4445d6d9d86885deb1d8af8cc70ccc'
X# Ports collection makefile for:	rubygem-pony
X# Date created:				30 Aug 2010
X# Whom:					Eric Freeman <freebsdports@chillibear.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pony
XPORTVERSION=	1.0
XCATEGORIES=	mail rubygems
XMASTER_SITES=	RG
X
XMAINTAINER=	freebsdports@chillibear.com
XCOMMENT=	The express way to send mail from Ruby
X
XRUN_DEPENDS=	rubygem-mail>=2.0:${PORTSDIR}/mail/rubygem-mail
X
XUSE_RUBY=		yes
XUSE_RUBYGEMS=		yes
XRUBYGEM_AUTOPLIST=	yes
X
X.include <bsd.port.mk>
4a4445d6d9d86885deb1d8af8cc70ccc
echo x - rubygem-pony/pkg-descr
sed 's/^X//' >rubygem-pony/pkg-descr << '85398cf56d7b8b99371f19beb1827d89'
XThe express way to send mail from Ruby.
X
XSend email in one command: 
XPony.mail(:to => 'someone@example.com', :body => 'hello')
X
XPony uses /usr/sbin/sendmail to send mail if it 
Xis available, otherwise it uses SMTP to localhost. 
X
XAlso, you may need rubygem-smtp_tls if you want to
Xsend via tls/ssl and are using ruby < 1.8.7
X
XWWW: http://github.com/benprew/pony
85398cf56d7b8b99371f19beb1827d89
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201008301226.o7UCQbpi020757>