lib/travis/cli/api_command.rb in travis-1.4.0 vs lib/travis/cli/api_command.rb in travis-1.5.0
- old
+ new
@@ -77,9 +77,16 @@
end
end
private
+ def listen(*args)
+ super(*args) do |listener|
+ on_signal { listener.disconnect }
+ yield listener
+ end
+ end
+
def detected_endpoint
Travis::Client::ORG_URI
end
def endpoint_option