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
hydra-0.22.0 lib/hydra/listener/notifier.rb
sskirby-hydra-0.21.0 lib/hydra/listener/notifier.rb
hydra-0.21.0 lib/hydra/listener/notifier.rb
hydra-0.20.0 lib/hydra/listener/notifier.rb
bellmyer-hydra-0.20.12 lib/hydra/listener/notifier.rb
bellmyer-hydra-0.20.11 lib/hydra/listener/notifier.rb
bellmyer-hydra-0.20.10 lib/hydra/listener/notifier.rb
bellmyer-hydra-0.20.9 lib/hydra/listener/notifier.rb
hydra-0.19.4 lib/hydra/listener/notifier.rb
hydra-0.19.3 lib/hydra/listener/notifier.rb
hydra-0.19.2 lib/hydra/listener/notifier.rb
hydra-0.19.1 lib/hydra/listener/notifier.rb
hydra-0.19.0 lib/hydra/listener/notifier.rb
hydra-0.18.0 lib/hydra/listener/notifier.rb
sskirby-hydra-0.17.1 lib/hydra/listener/notifier.rb
sskirby-hydra-0.16.10 lib/hydra/listener/notifier.rb
hydra-0.17.0 lib/hydra/listener/notifier.rb
sskirby-hydra-0.16.9 lib/hydra/listener/notifier.rb
hydra-0.16.7 lib/hydra/listener/notifier.rb
hydra-0.16.6 lib/hydra/listener/notifier.rb