From 9fda96b78c3a5079720e847a538917a7da984905 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 19 Jun 2015 18:32:51 +0200 Subject: [PATCH] More spacing --- lib/action_cable/channel/base.rb | 1 - lib/action_cable/channel/callbacks.rb | 3 --- lib/action_cable/connection/base.rb | 1 - lib/action_cable/connection/identifier.rb | 2 -- lib/action_cable/connection/internal_channel.rb | 1 - lib/action_cable/connection/tagged_logger_proxy.rb | 1 - 6 files changed, 9 deletions(-) diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb index ec7290be1e..f309709e31 100644 --- a/lib/action_cable/channel/base.rb +++ b/lib/action_cable/channel/base.rb @@ -1,6 +1,5 @@ module ActionCable module Channel - class Base include Callbacks include Redis diff --git a/lib/action_cable/channel/callbacks.rb b/lib/action_cable/channel/callbacks.rb index 22c6f2d563..15bfb9a3da 100644 --- a/lib/action_cable/channel/callbacks.rb +++ b/lib/action_cable/channel/callbacks.rb @@ -1,6 +1,5 @@ module ActionCable module Channel - module Callbacks extend ActiveSupport::Concern @@ -25,8 +24,6 @@ module ActionCable self.periodic_timers += [ [ callback, every: every ] ] end end - end - end end \ No newline at end of file diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb index 2208009b14..ee1fe51529 100644 --- a/lib/action_cable/connection/base.rb +++ b/lib/action_cable/connection/base.rb @@ -207,7 +207,6 @@ module ActionCable def log_tags server.log_tags.map { |tag| tag.respond_to?(:call) ? tag.call(request) : tag.to_s.camelize } end - end end end diff --git a/lib/action_cable/connection/identifier.rb b/lib/action_cable/connection/identifier.rb index 103d326b7f..a608fc546a 100644 --- a/lib/action_cable/connection/identifier.rb +++ b/lib/action_cable/connection/identifier.rb @@ -1,7 +1,6 @@ module ActionCable module Connection module Identifier - def internal_redis_channel "action_cable/#{connection_identifier}" end @@ -13,7 +12,6 @@ module ActionCable def connection_gid(ids) ids.map {|o| o.to_global_id.to_s }.sort.join(":") end - end end end diff --git a/lib/action_cable/connection/internal_channel.rb b/lib/action_cable/connection/internal_channel.rb index a7d99f4b14..3a11bcaf7b 100644 --- a/lib/action_cable/connection/internal_channel.rb +++ b/lib/action_cable/connection/internal_channel.rb @@ -35,7 +35,6 @@ module ActionCable handle_exception end - end end end diff --git a/lib/action_cable/connection/tagged_logger_proxy.rb b/lib/action_cable/connection/tagged_logger_proxy.rb index 04ea331bde..d99cc2e9a3 100644 --- a/lib/action_cable/connection/tagged_logger_proxy.rb +++ b/lib/action_cable/connection/tagged_logger_proxy.rb @@ -24,7 +24,6 @@ module ActionCable def log(type, message) @logger.tagged(*@tags) { @logger.send type, message } end - end end end