Sha256: e0d87036316211ec6ad7cb503f51adc09cd9a8bc33bb228ed415b40acfd885be

Contents?: true

Size: 514 Bytes

Versions: 50

Compression:

Stored size: 514 Bytes

Contents

module Hydra #:nodoc:
  module Listener #:nodoc:
    # Sends a command to Notifier when the testing has finished
    # http://manpages.ubuntu.com/manpages/gutsy/man1/notify-send.1.html
    class Notifier < Hydra::Listener::Abstract
      # output a finished notification
      def testing_end
        icon_path = File.join(
          File.dirname(__FILE__), '..', '..', '..',
          'hydra-icon-64x64.png'
        )
        `notify-send -i #{icon_path} "Hydra" "Testing Completed"`
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 8 rubygems

Version Path
ngauthier-hydra-0.24.0 lib/hydra/listener/notifier.rb
nulogy-hydra-0.26.0 lib/hydra/listener/notifier.rb
arturop-hydra-0.25.0 lib/hydra/listener/notifier.rb
arturop-hydra-0.24.0 lib/hydra/listener/notifier.rb
hydra-0.24.0 lib/hydra/listener/notifier.rb
nulogy-hydra-0.23.2.1 lib/hydra/listener/notifier.rb
justinf-hydra-0.23.8 lib/hydra/listener/notifier.rb
justinf-hydra-0.23.7 lib/hydra/listener/notifier.rb
justinf-hydra-0.23.6 lib/hydra/listener/notifier.rb
justinf-hydra-0.23.5 lib/hydra/listener/notifier.rb
justinf-hydra-0.23.4 lib/hydra/listener/notifier.rb
arturop-hydra-0.23.4 lib/hydra/listener/notifier.rb
sskirby-hydra-0.23.3 lib/hydra/listener/notifier.rb
hydra-0.23.3 lib/hydra/listener/notifier.rb
causes-hydra-0.21.0 lib/hydra/listener/notifier.rb
hydra-0.23.2 lib/hydra/listener/notifier.rb
hydra-0.23.1 lib/hydra/listener/notifier.rb
hydra-0.23.0 lib/hydra/listener/notifier.rb
hydra-0.22.2 lib/hydra/listener/notifier.rb
hydra-0.22.1 lib/hydra/listener/notifier.rb