RubyGems Navigation menu

action_mailer_auto_previews 0.1.0

Enhances the ActionMailer Previews introduced in 4.1 by automatically creating ActionMailer Previews at runtime in development mode. See automatic previews of your ActionMailer emails, with no extra effort or mock data. Install the action_mailer_auto_previews gem into your :development group, and it'll 'just work' with sensible defaults. Each ActionMailer email object that has .deliver or .deliver_later called will automatically launch your default browser right to a ActionMailer Preview page with the real data passed to that email. Flexible options allow you to alter this behavior as well. Warning: Since this is dynamically creating Ruby classes/methods, you will want to make sure your web-server is single threaded. For example, if you're using Puma, be sure to set the `workers` configuration parameter to 1.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.1.0 - April 28, 2016 (11.5 KB)

Runtime 依赖 (2):

actionmailer ~> 4.1
launchy ~> 2.4.3

Development 依赖 (3):

bundler ~> 1.11
rake ~> 10.0
rspec ~> 3.0

业主:

作者:

  • Matthew B. Jones, Andrew Yi

SHA 256 校验和:

a980adafc027f230fca6c7bcd384f78a79dbbae878db8b2368e4abcbb814f365

下载总量 3,706

这个版本 3,706

许可:

MIT

需要的 Ruby 版本: >= 0

链接: