lib/notifier/terminal_notifier.rb in notifier-0.5.0 vs lib/notifier/terminal_notifier.rb in notifier-0.5.1

- old
+ new

@@ -8,14 +8,14 @@ def notify(options) command = [ "terminal-notifier", "-group", "notifier-rubygems", - "-title", options[:title], - "-appIcon", options.fetch(:image, ""), - "-message", options[:message] + "-title", options[:title].to_s, + "-appIcon", options.fetch(:image, "").to_s, + "-message", options[:message].to_s ] - Thread.new { system(*command) } + Thread.new { system(*command) }.join end end end