Sha256: 4e6cc79c0475b10c0405c23cbc381962d58853fdd44b4f8f5453d8a03adfc936

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

require 'test_notifier/runner/rspec'
require 'version_info'

if Notifier.os?(/mingw32/)
	module Notifier
		module Growl
			def supported?
				return true
			end
			 def notify(options)
				command = [
					"growlnotify",
					"/a:test_notifier",
					"/i:" + options.fetch(:image, ''),
					"/p:2",
					"/silent:true",
					"/r:" + '"General Notification"',
					"/t:" + options[:title],
					options[:message]
				]
				system(*command)
			end

			def self.register
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
version_info-1.7.6 spec/spec_helper.rb