Sha256: 9440db4ec35c1276f21d9f944d679461ada168337f9d5ad42d8a701f9f9e7b04
Contents?: true
Size: 632 Bytes
Versions: 1
Compression:
Stored size: 632 Bytes
Contents
require 'rubygems' unless defined?(Rubygems) require 'capistrano' unless defined?(Capistrano) unless Capistrano::Configuration.respond_to?(:instance) abort "capistrano/mailer requires Capistrano 2" end require 'action_mailer' unless defined?(ActionMailer) require 'cap_mailer' unless defined?(CapMailer) module Capistrano class Configuration module CapistranoMailer def send_notification_email(cap, config = {}, *args) CapMailer.deliver_notification_email(cap, config, args) end end include CapistranoMailer end end Capistrano.plugin :mailer, Capistrano::Configuration::CapistranoMailer
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano_mailer-3.2.5 | lib/capistrano/mailer.rb |