diff --git a/lib/sidekiq.rb b/lib/sidekiq.rb index cf163451..ffcbb477 100644 --- a/lib/sidekiq.rb +++ b/lib/sidekiq.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true require 'sidekiq/version' fail "Sidekiq #{Sidekiq::VERSION} does not support Ruby versions below 2.0.0." if RUBY_PLATFORM != 'java' && RUBY_VERSION < '2.0.0' diff --git a/lib/sidekiq/api.rb b/lib/sidekiq/api.rb index 27a53034..347522e8 100644 --- a/lib/sidekiq/api.rb +++ b/lib/sidekiq/api.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true require 'sidekiq' module Sidekiq diff --git a/lib/sidekiq/cli.rb b/lib/sidekiq/cli.rb index cdd03666..c1437ef2 100644 --- a/lib/sidekiq/cli.rb +++ b/lib/sidekiq/cli.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true $stdout.sync = true require 'yaml' diff --git a/lib/sidekiq/launcher.rb b/lib/sidekiq/launcher.rb index 46154a37..e086846c 100644 --- a/lib/sidekiq/launcher.rb +++ b/lib/sidekiq/launcher.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true require 'sidekiq/manager' require 'sidekiq/fetch' require 'sidekiq/scheduled' diff --git a/lib/sidekiq/manager.rb b/lib/sidekiq/manager.rb index b033e40d..75d10e25 100644 --- a/lib/sidekiq/manager.rb +++ b/lib/sidekiq/manager.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true require 'sidekiq/util' require 'sidekiq/processor' require 'sidekiq/fetch' diff --git a/test/test_retry.rb b/test/test_retry.rb index 92defcc8..181f271c 100644 --- a/test/test_retry.rb +++ b/test/test_retry.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true require_relative 'helper' require 'sidekiq/scheduled' require 'sidekiq/middleware/server/retry_jobs' diff --git a/test/test_sidekiq.rb b/test/test_sidekiq.rb index f0df7240..480f83db 100644 --- a/test/test_sidekiq.rb +++ b/test/test_sidekiq.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true require_relative 'helper' class TestSidekiq < Sidekiq::Test diff --git a/test/test_web.rb b/test/test_web.rb index a54b9b0d..4c6e772c 100644 --- a/test/test_web.rb +++ b/test/test_web.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true # encoding: utf-8 +# frozen_string_literal: true require_relative 'helper' require 'sidekiq/web' require 'rack/test'