From 81ae9ee32162ececbd70664b2821e7c636eaed8b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 21 Jun 2015 21:08:20 +0200 Subject: Consolidate all identification logic in a single concern --- lib/action_cable/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/action_cable/connection.rb') diff --git a/lib/action_cable/connection.rb b/lib/action_cable/connection.rb index a9048926e4..8a695a3d0d 100644 --- a/lib/action_cable/connection.rb +++ b/lib/action_cable/connection.rb @@ -1,8 +1,8 @@ module ActionCable module Connection autoload :Base, 'action_cable/connection/base' + autoload :Identification, 'action_cable/connection/identification' autoload :InternalChannel, 'action_cable/connection/internal_channel' - autoload :Identifier, 'action_cable/connection/identifier' autoload :TaggedLoggerProxy, 'action_cable/connection/tagged_logger_proxy' end end -- cgit v1.2.3 From e7b1ced7a4fab45e3fc5851e5500426022fa0c47 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 21 Jun 2015 22:35:07 +0200 Subject: Extracted Subscriptions class --- lib/action_cable/connection.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/action_cable/connection.rb') diff --git a/lib/action_cable/connection.rb b/lib/action_cable/connection.rb index 8a695a3d0d..31480f220f 100644 --- a/lib/action_cable/connection.rb +++ b/lib/action_cable/connection.rb @@ -3,6 +3,7 @@ module ActionCable autoload :Base, 'action_cable/connection/base' autoload :Identification, 'action_cable/connection/identification' autoload :InternalChannel, 'action_cable/connection/internal_channel' + autoload :Subscriptions, 'action_cable/connection/subscriptions' autoload :TaggedLoggerProxy, 'action_cable/connection/tagged_logger_proxy' end end -- cgit v1.2.3 From 786bbbb0ee1de0f2c8c9be517b8d5c93f95421d4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 21 Jun 2015 22:49:29 +0200 Subject: Extract Heartbeat class to perform periodical ping --- lib/action_cable/connection.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/action_cable/connection.rb') diff --git a/lib/action_cable/connection.rb b/lib/action_cable/connection.rb index 31480f220f..991dd85c57 100644 --- a/lib/action_cable/connection.rb +++ b/lib/action_cable/connection.rb @@ -1,6 +1,7 @@ module ActionCable module Connection autoload :Base, 'action_cable/connection/base' + autoload :Heartbeat, 'action_cable/connection/heartbeat' autoload :Identification, 'action_cable/connection/identification' autoload :InternalChannel, 'action_cable/connection/internal_channel' autoload :Subscriptions, 'action_cable/connection/subscriptions' -- cgit v1.2.3 From d796d9a61e1208f0706642ff02f7c8236185e55a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 22 Jun 2015 15:47:32 +0200 Subject: Finish Processor class extraction --- lib/action_cable/connection.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/action_cable/connection.rb') diff --git a/lib/action_cable/connection.rb b/lib/action_cable/connection.rb index 991dd85c57..5928a47949 100644 --- a/lib/action_cable/connection.rb +++ b/lib/action_cable/connection.rb @@ -4,6 +4,7 @@ module ActionCable autoload :Heartbeat, 'action_cable/connection/heartbeat' autoload :Identification, 'action_cable/connection/identification' autoload :InternalChannel, 'action_cable/connection/internal_channel' + autoload :Processor, 'action_cable/connection/processor' autoload :Subscriptions, 'action_cable/connection/subscriptions' autoload :TaggedLoggerProxy, 'action_cable/connection/tagged_logger_proxy' end -- cgit v1.2.3 From 24609f18f54938988035a97eb09ccfe309cf8710 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 22 Jun 2015 16:03:34 +0200 Subject: Rename Processor to MessageBuffer --- lib/action_cable/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/action_cable/connection.rb') diff --git a/lib/action_cable/connection.rb b/lib/action_cable/connection.rb index 5928a47949..09ef1699a6 100644 --- a/lib/action_cable/connection.rb +++ b/lib/action_cable/connection.rb @@ -4,7 +4,7 @@ module ActionCable autoload :Heartbeat, 'action_cable/connection/heartbeat' autoload :Identification, 'action_cable/connection/identification' autoload :InternalChannel, 'action_cable/connection/internal_channel' - autoload :Processor, 'action_cable/connection/processor' + autoload :MessageBuffer, 'action_cable/connection/message_buffer' autoload :Subscriptions, 'action_cable/connection/subscriptions' autoload :TaggedLoggerProxy, 'action_cable/connection/tagged_logger_proxy' end -- cgit v1.2.3 From 321d04ff56e2f17ef7285141252dba8ff5cdecca Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 27 Jun 2015 16:50:05 +0200 Subject: Add WebSocket decorator --- lib/action_cable/connection.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/action_cable/connection.rb') diff --git a/lib/action_cable/connection.rb b/lib/action_cable/connection.rb index 09ef1699a6..1b4a6ecc23 100644 --- a/lib/action_cable/connection.rb +++ b/lib/action_cable/connection.rb @@ -5,6 +5,7 @@ module ActionCable autoload :Identification, 'action_cable/connection/identification' autoload :InternalChannel, 'action_cable/connection/internal_channel' autoload :MessageBuffer, 'action_cable/connection/message_buffer' + autoload :WebSocket, 'action_cable/connection/web_socket' autoload :Subscriptions, 'action_cable/connection/subscriptions' autoload :TaggedLoggerProxy, 'action_cable/connection/tagged_logger_proxy' end -- cgit v1.2.3