about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-15 16:56:29 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-15 16:56:29 +0100
commitfdc17bea58f210f62ac0d9e836b68e84c6dbd15c (patch)
tree491613c94695ba867e81d50124e7e3eb73a0eff5 /app/workers
parenta91c3ef6cef0fe5a1645c043e7d4a5ef96e82c4f (diff)
Fix rubocop issues, introduce usage of frozen literal to improve performance
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/distribution_worker.rb2
-rw-r--r--app/workers/hub_ping_worker.rb2
-rw-r--r--app/workers/notification_worker.rb2
-rw-r--r--app/workers/processing_worker.rb2
-rw-r--r--app/workers/regeneration_worker.rb2
-rw-r--r--app/workers/thread_resolve_worker.rb2
6 files changed, 12 insertions, 0 deletions
diff --git a/app/workers/distribution_worker.rb b/app/workers/distribution_worker.rb
index a69b39523..09374bee2 100644
--- a/app/workers/distribution_worker.rb
+++ b/app/workers/distribution_worker.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 class DistributionWorker
   include Sidekiq::Worker
 
diff --git a/app/workers/hub_ping_worker.rb b/app/workers/hub_ping_worker.rb
index 57d716c97..d9a9ff427 100644
--- a/app/workers/hub_ping_worker.rb
+++ b/app/workers/hub_ping_worker.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 class HubPingWorker
   include Sidekiq::Worker
   include RoutingHelper
diff --git a/app/workers/notification_worker.rb b/app/workers/notification_worker.rb
index 473a9232b..386e94111 100644
--- a/app/workers/notification_worker.rb
+++ b/app/workers/notification_worker.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 class NotificationWorker
   include Sidekiq::Worker
 
diff --git a/app/workers/processing_worker.rb b/app/workers/processing_worker.rb
index 87ebbc5ea..3b11a4c5e 100644
--- a/app/workers/processing_worker.rb
+++ b/app/workers/processing_worker.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 class ProcessingWorker
   include Sidekiq::Worker
 
diff --git a/app/workers/regeneration_worker.rb b/app/workers/regeneration_worker.rb
index f0ed01d71..3aece0ba2 100644
--- a/app/workers/regeneration_worker.rb
+++ b/app/workers/regeneration_worker.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 class RegenerationWorker
   include Sidekiq::Worker
 
diff --git a/app/workers/thread_resolve_worker.rb b/app/workers/thread_resolve_worker.rb
index c59fb093a..700161989 100644
--- a/app/workers/thread_resolve_worker.rb
+++ b/app/workers/thread_resolve_worker.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 class ThreadResolveWorker
   include Sidekiq::Worker