lib/notifier/gntp.rb in notifier-0.5.1 vs lib/notifier/gntp.rb in notifier-0.5.2

- old
+ new

@@ -19,19 +19,19 @@ ENV["SSH_CONNECTION"][/^([^ ]+)/, 1] if ENV["SSH_CONNECTION"] end def notify(options) gntp = Adapters::GNTP.new({ - :name => "test_notifier", - :host => host, - :port => port + name: "test_notifier", + host: host, + port: port }) gntp.notify({ - :name => "status", - :title => options[:title], - :message => options[:message], - :icon => options[:image] + name: "status", + title: options[:title], + message: options[:message], + icon: options[:image] }) end end end