Sha256: c311f36391eabd9e0d6ea4200b98f08a6422fdf0a90cd35446dcaf2d2761ab87

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

require 'coveralls'
Coveralls.wear!

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

2 entries across 2 versions & 1 rubygems

Version Path
version_info-1.8.0 spec/spec_helper.rb
version_info-1.7.7 spec/spec_helper.rb