Sha256: 333906665f7699a07b84caf8767f16c0e274c76a6f3a380c21d717c6f95f1b82

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 Bytes

Contents

= Notifier for testing framework riot.

Notifies you about passes, errors, failures via $HOME/bin/notify_redgreen

== Usage

  # in your test/helper.rb

  require 'riot'
  require 'riot_notifier'

  Riot.reporter = RiotNotifier::RedgreenNotifier

== notify_redgreen

  Your $HOME/bin/notify_redgreen

  #!/bin/sh

  case "$1" in
    red)
      OPTIONS="-t 2500 -u critical -i /usr/share/icons/gnome/scalable/emotes/face-angry.svg :-("
    ;;
    green)
      OPTIONS="-t 2000 -u normal -i /usr/share/icons/gnome/scalable/emblems/emblem-default.svg :-)"
    ;;
  esac
  shift

  notify-send $OPTIONS "$*"

== Install via gemcutter

  gem install gemcutter
  gem tumble
  gem install riot_notifier

== Authors
* Peter Suschlik

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
riot_notifier-0.0.1 README.rdoc