lib/travis/cli/monitor.rb in travis-1.13.3 vs lib/travis/cli/monitor.rb in travis-1.14.0
- old
+ new
@@ -32,11 +32,11 @@
def setup
super
repos.map! { |r| repo(r) }
repos.concat(user.repositories) if my_repos?
- setup_notification(!firehose? || :dummy) unless notification
+ setup_notification(true) unless notification
debug "Using notifications: #{notification.class.name[/[^:]+$/]}"
end
def setup_notification(type = nil)
refuse = false
@@ -63,13 +63,9 @@
def events
events = %w[build:started build:finished]
events << 'job:started' << 'job:finished' unless builds?
events
- end
-
- def firehose?
- org? and repos.empty?
end
def all?
!pull? and !push?
end