mail/rubygem-extended_email_reply_parser: Add rubygem-extended_email_reply_parser 0.5.1

When implementing a "reply or comment by email" feature, it's necessary to
filter out signatures and the previous conversation. One needs to extract just
the relevant parts for the conversation or comment section of the application.
This is what this ruby gem helps to do.

This gem is an extended version of GitHub's email_reply_parser. It wraps the
original email_reply_parser and allows to build extensions such as support for
i18n and detecting previous conversation that is not properly marked as
quotation by the sender's mail client.
This commit is contained in:
Po-Chuan Hsieh 2024-05-16 14:13:44 +08:00
parent 90065164d4
commit f40b3b8b3f
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 35 additions and 0 deletions

View file

@ -601,6 +601,7 @@
SUBDIR += rubygem-email_reply_parser-discourse
SUBDIR += rubygem-email_reply_trimmer
SUBDIR += rubygem-exception_notification
SUBDIR += rubygem-extended_email_reply_parser
SUBDIR += rubygem-gitlab-mail_room
SUBDIR += rubygem-mail
SUBDIR += rubygem-mail_room

View file

@ -0,0 +1,22 @@
PORTNAME= extended_email_reply_parser
PORTVERSION= 0.5.1
CATEGORIES= mail rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Extended version of GitHub's email_reply_parser
WWW= https://github.com/fiedl/extended_email_reply_parser
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport71>=0:devel/rubygem-activesupport71 \
rubygem-charlock_holmes>=0:textproc/rubygem-charlock_holmes \
rubygem-email_reply_parser>=0.5.9<0.6:mail/rubygem-email_reply_parser \
rubygem-mail>=0,2:mail/rubygem-mail
USES= gem
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1714227820
SHA256 (rubygem/extended_email_reply_parser-0.5.1.gem) = a6527a18df9560897f8caaa2f177c97c1b718c319783477e35b333760f77e691
SIZE (rubygem/extended_email_reply_parser-0.5.1.gem) = 20992

View file

@ -0,0 +1,9 @@
When implementing a "reply or comment by email" feature, it's necessary to
filter out signatures and the previous conversation. One needs to extract just
the relevant parts for the conversation or comment section of the application.
This is what this ruby gem helps to do.
This gem is an extended version of GitHub's email_reply_parser. It wraps the
original email_reply_parser and allows to build extensions such as support for
i18n and detecting previous conversation that is not properly marked as
quotation by the sender's mail client.