diff options
author | Kir Shatrov <shatrov@me.com> | 2017-06-22 22:59:18 -0400 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-01 02:11:03 +0300 |
commit | cfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (patch) | |
tree | 5c12d112bf4d039587d712b0cae92a2d920fee23 /actioncable/lib/action_cable/channel | |
parent | 5fe2a4f929fff7fa725545c47ac0f9372d8c643d (diff) | |
download | rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.gz rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.bz2 rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.zip |
Enforce frozen string in Rubocop
Diffstat (limited to 'actioncable/lib/action_cable/channel')
6 files changed, 6 insertions, 0 deletions
diff --git a/actioncable/lib/action_cable/channel/base.rb b/actioncable/lib/action_cable/channel/base.rb index 718f630f58..ca812e80d2 100644 --- a/actioncable/lib/action_cable/channel/base.rb +++ b/actioncable/lib/action_cable/channel/base.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "set" module ActionCable diff --git a/actioncable/lib/action_cable/channel/broadcasting.rb b/actioncable/lib/action_cable/channel/broadcasting.rb index 23ed4ec943..3db211446a 100644 --- a/actioncable/lib/action_cable/channel/broadcasting.rb +++ b/actioncable/lib/action_cable/channel/broadcasting.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "active_support/core_ext/object/to_param" module ActionCable diff --git a/actioncable/lib/action_cable/channel/callbacks.rb b/actioncable/lib/action_cable/channel/callbacks.rb index c740132c94..65629e4191 100644 --- a/actioncable/lib/action_cable/channel/callbacks.rb +++ b/actioncable/lib/action_cable/channel/callbacks.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "active_support/callbacks" module ActionCable diff --git a/actioncable/lib/action_cable/channel/naming.rb b/actioncable/lib/action_cable/channel/naming.rb index b565cb3cac..433d9c5219 100644 --- a/actioncable/lib/action_cable/channel/naming.rb +++ b/actioncable/lib/action_cable/channel/naming.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true module ActionCable module Channel module Naming diff --git a/actioncable/lib/action_cable/channel/periodic_timers.rb b/actioncable/lib/action_cable/channel/periodic_timers.rb index 90c68cfe84..4686145f64 100644 --- a/actioncable/lib/action_cable/channel/periodic_timers.rb +++ b/actioncable/lib/action_cable/channel/periodic_timers.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true module ActionCable module Channel module PeriodicTimers diff --git a/actioncable/lib/action_cable/channel/streams.rb b/actioncable/lib/action_cable/channel/streams.rb index dbba333353..c938adab9a 100644 --- a/actioncable/lib/action_cable/channel/streams.rb +++ b/actioncable/lib/action_cable/channel/streams.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true module ActionCable module Channel # Streams allow channels to route broadcastings to the subscriber. A broadcasting is, as discussed elsewhere, a pubsub queue where any data |