module Celebrations
Campfire
announcer
Git
module, mostly just used to query the repo, could be used to tag?
Celebrate by sending out emails
Pivotal tracker celebration module, supports tasks:
Obtain progress Deliver features
Public Instance Methods
deliver_notification()
click to toggle source
# File lib/release_party/celebrations/mailer.rb, line 101 def deliver_notification mail = Mail.new mail.to = environment.email_notification_to mail.from = environment.from_address mail.subject = environment.subject mail_env = MailEnvironment.new(environment, mail) html = engine.render mail_env mail.part :content_type => 'multipart/related' do |part| part.part :content_type => 'text/html; charset=UTF-8', :body => html mail_env.attachments.each do |attachment| part.parts << delete_image_part(mail.parts, attachment.content_id) end end announce "Delivering deployment notice to #{environment.email_notification_to.inspect}" mail.deliver! rescue *SMTP_SERVER_ERRORS => error announce "Unable to deliver deployment notice: #{error.message}" else announce "Deployment notice sent!" end
known_bugs()
click to toggle source
# File lib/release_party/celebrations/pivotal_tracker.rb, line 53 def known_bugs project.stories.all(:state => ['unstarted', 'started'], :story_type => 'bug') end