From 80e66cc4d90bf8c15d1a5f6e3152e90147f00772 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 6 Aug 2016 19:55:02 +0200 Subject: normalizes indentation and whitespace across the project --- actioncable/lib/action_cable/connection/authorization.rb | 2 +- actioncable/test/stubs/test_server.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'actioncable') diff --git a/actioncable/lib/action_cable/connection/authorization.rb b/actioncable/lib/action_cable/connection/authorization.rb index 070a70e4e2..85df206445 100644 --- a/actioncable/lib/action_cable/connection/authorization.rb +++ b/actioncable/lib/action_cable/connection/authorization.rb @@ -10,4 +10,4 @@ module ActionCable end end end -end \ No newline at end of file +end diff --git a/actioncable/test/stubs/test_server.rb b/actioncable/test/stubs/test_server.rb index f1b194de12..71819a43dc 100644 --- a/actioncable/test/stubs/test_server.rb +++ b/actioncable/test/stubs/test_server.rb @@ -12,12 +12,12 @@ class TestServer @config = OpenStruct.new(log_tags: [], subscription_adapter: subscription_adapter) @config.use_faye = ENV["FAYE"].present? @config.client_socket_class = if @config.use_faye - ActionCable::Connection::FayeClientSocket + ActionCable::Connection::FayeClientSocket else ActionCable::Connection::ClientSocket end - @mutex = Monitor.new + @mutex = Monitor.new end def pubsub @@ -26,7 +26,7 @@ class TestServer def event_loop @event_loop ||= if @config.use_faye - ActionCable::Connection::FayeEventLoop.new + ActionCable::Connection::FayeEventLoop.new else ActionCable::Connection::StreamEventLoop.new end -- cgit v1.2.3