This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'pony' | |
def send_mail(to, from, message) | |
Pony.mail({ | |
:to => to, | |
:via => :smtp, | |
:from => from, | |
:subject => 'new migrations detected for master branch', | |
:body => message, |
OlderNewer