Sha256: 6d9ab8e380eab424a9e0a9833fe89f7301a719e895fcc8346ada73e6f121d0c4
Contents?: true
Size: 477 Bytes
Versions: 2
Compression:
Stored size: 477 Bytes
Contents
require 'integrity' module Integrity class Notifier class GnomeNotify < Notifier::Base def self.to_haml end def deliver! images_root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'images')) system("notify-send \"#{commit.project.name}\" \"#{short_message}\" -i #{images_root}\/#{commit.status}.png -t 1000") end def to_s 'GnomeNotify' end end register GnomeNotify end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
matflores-integrity-gnome-notify-0.1.1 | lib/integrity/notifier/integrity-gnome-notify.rb |
matflores-integrity-gnome-notify-0.1.2 | lib/integrity/notifier/gnome-notify.rb |