Skip to content

Commit

Permalink
Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Sep 30, 2024
1 parent 952a0ef commit feff75c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/sidekiq_alive.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# frozen_string_literal: true

# require ruby dependencies
require 'singleton'

# require external dependencies
require 'rackup'
require 'sidekiq'
require 'sidekiq/api'

require 'zeitwerk'
loader = Zeitwerk::Loader.for_gem
loader.setup

# load zeitwerk
Zeitwerk::Loader.for_gem.tap do |loader| # rubocop:disable Style/SymbolProc
loader.setup
end

module SidekiqAlive # rubocop:disable Metrics/ModuleLength
HOSTNAME_REGISTRY = 'sidekiq-alive-hostnames'
Expand Down

0 comments on commit feff75c

Please sign in to comment.