382
383
384
385
386
387
388
389
390
391
392
393
394
|
# File 'lib/server/hubeye_server.rb', line 382
def call
if @matches[1].include?("/")
@session.username, @session.repo_name = @matches[1].split('/')
else
@session.repo_name = @matches[1]
end
rm = @session.tracker.delete("#{@session.username}/#{@session.repo_name}")
if rm
@socket.puts("Stopped watching repository #{@session.username}/#{@session.repo_name}")
else
@socket.puts("Repository #{@session.username}/#{@session.repo_name} not currently being watched")
end
end
|