summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2017-04-22 00:41:20 +0000
committerminskim <minskim@pkgsrc.org>2017-04-22 00:41:20 +0000
commite258dcc3ade67c1f2e0d73735538f95080318e8e (patch)
tree499eed5af5584f7177ebd230a458dbf6f9ecbe32 /mail
parentda3dc58e10f50cb0dd209970c8e0b8fc309e14fd (diff)
downloadpkgsrc-e258dcc3ade67c1f2e0d73735538f95080318e8e.tar.gz
Import ruby-actionmailer-4.2.8 as mail/ruby-actionmailer42
Notable changes since 3.2: - Added mailer previews feature based on 37 Signals mail_view gem. - Instrument the generation of Action Mailer messages. The time it takes to generate a message is written to the log. - link_to and url_for generate absolute URLs by default in templates, it is no longer needed to pass only_path: false. - Introduced deliver_later which enqueues a job on the application's queue to deliver emails asynchronously. - Added the show_previews configuration option for enabling mailer previews outside of the development environment.
Diffstat (limited to 'mail')
-rw-r--r--mail/ruby-actionmailer42/DESCR12
-rw-r--r--mail/ruby-actionmailer42/Makefile20
-rw-r--r--mail/ruby-actionmailer42/PLIST25
-rw-r--r--mail/ruby-actionmailer42/distinfo6
4 files changed, 63 insertions, 0 deletions
diff --git a/mail/ruby-actionmailer42/DESCR b/mail/ruby-actionmailer42/DESCR
new file mode 100644
index 00000000000..9facfd924fe
--- /dev/null
+++ b/mail/ruby-actionmailer42/DESCR
@@ -0,0 +1,12 @@
+Action Mailer is a framework for designing email-service layers. These layers
+are used to consolidate code for sending out forgotten passwords, welcome
+wishes on signup, invoices for billing, and any other use case that requires
+a written notification to either a person or another system.
+
+Action Mailer is in essence a wrapper around Action Controller and the
+Mail gem. It provides a way to make emails using templates in the same
+way that Action Controller renders views using templates.
+
+Additionally, an Action Mailer class can be used to process incoming email,
+such as allowing a weblog to accept new posts from an email (which could even
+have been sent from a phone).
diff --git a/mail/ruby-actionmailer42/Makefile b/mail/ruby-actionmailer42/Makefile
new file mode 100644
index 00000000000..1f1ac918338
--- /dev/null
+++ b/mail/ruby-actionmailer42/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/04/22 00:41:20 minskim Exp $
+
+DISTNAME= actionmailer-${RUBY_RAILS_VERSION}
+CATEGORIES= mail devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.rubyonrails.org/
+COMMENT= Email composition, delivery, and receiving (for Rails 4.2)
+LICENSE= mit
+
+DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
+DEPENDS+= ${RUBY_ACTIONVIEW_DEPENDS}
+DEPENDS+= ${RUBY_PKGPREFIX}-mail25>=2.5.4<2.6:../../mail/ruby-mail25
+DEPENDS+= ${RUBY_PKGPREFIX}-rails-dom-testing>=1.0.5:../../textproc/ruby-rails-dom-testing
+
+RUBY_RAILS_SUPPORTED= 42
+RUBY_RAILS_STRICT_DEP= yes
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ruby-actionmailer42/PLIST b/mail/ruby-actionmailer42/PLIST
new file mode 100644
index 00000000000..61d38c9d66e
--- /dev/null
+++ b/mail/ruby-actionmailer42/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/22 00:41:20 minskim Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/MIT-LICENSE
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/lib/action_mailer.rb
+${GEM_LIBDIR}/lib/action_mailer/base.rb
+${GEM_LIBDIR}/lib/action_mailer/collector.rb
+${GEM_LIBDIR}/lib/action_mailer/delivery_job.rb
+${GEM_LIBDIR}/lib/action_mailer/delivery_methods.rb
+${GEM_LIBDIR}/lib/action_mailer/gem_version.rb
+${GEM_LIBDIR}/lib/action_mailer/inline_preview_interceptor.rb
+${GEM_LIBDIR}/lib/action_mailer/log_subscriber.rb
+${GEM_LIBDIR}/lib/action_mailer/mail_helper.rb
+${GEM_LIBDIR}/lib/action_mailer/message_delivery.rb
+${GEM_LIBDIR}/lib/action_mailer/preview.rb
+${GEM_LIBDIR}/lib/action_mailer/railtie.rb
+${GEM_LIBDIR}/lib/action_mailer/test_case.rb
+${GEM_LIBDIR}/lib/action_mailer/test_helper.rb
+${GEM_LIBDIR}/lib/action_mailer/version.rb
+${GEM_LIBDIR}/lib/rails/generators/mailer/USAGE
+${GEM_LIBDIR}/lib/rails/generators/mailer/mailer_generator.rb
+${GEM_LIBDIR}/lib/rails/generators/mailer/templates/application_mailer.rb
+${GEM_LIBDIR}/lib/rails/generators/mailer/templates/mailer.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/mail/ruby-actionmailer42/distinfo b/mail/ruby-actionmailer42/distinfo
new file mode 100644
index 00000000000..5a516ddbc32
--- /dev/null
+++ b/mail/ruby-actionmailer42/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/22 00:41:20 minskim Exp $
+
+SHA1 (actionmailer-4.2.8.gem) = cc7ae3c4dcefa6143fab312c0f1f49739665c6d0
+RMD160 (actionmailer-4.2.8.gem) = 970014e114a10f87d94ea43fc05595f60a65edc7
+SHA512 (actionmailer-4.2.8.gem) = 42e21e1a4bfa462485e13c9e96a39967fb6475a5b28f62ca9d0933cac3da274f98a75c775e0e841af9cd0023eb47107a15b8c6b89d433f4ee52eb7309c8ba960
+Size (actionmailer-4.2.8.gem) = 27136 bytes