lib/travis/tools/notification.rb in travis-1.6.16 vs lib/travis/tools/notification.rb in travis-1.6.17.travis.587.5

- old
+ new

@@ -39,10 +39,10 @@ def notify(title, body) system BIN_PATH, '-message', body.to_s, '-title', title.to_s, '-sender', 'org.travis-ci.Travis-CI' end def available? - System.mac? and System.os_version.to_s >= '10.8' and System.running? "NotificationCenter" + System.mac? and System.recent_version?(System.os_version.to_s, '10.8') and System.running? "NotificationCenter" end end class Growl def notify(title, body)