Sha256: 1de6fa40ce592cc5012e95be429592bad904b037d101d43dc48b8b4dd427dfc1
Contents?: true
Size: 657 Bytes
Versions: 5
Compression:
Stored size: 657 Bytes
Contents
require 'rubygems' unless defined?(Rubygems) require 'capistrano' unless defined?(Capistrano) require 'active_support' 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
5 entries across 5 versions & 2 rubygems