Sha256: 1184b01de648359c882b00b2e4810091b5da675fb8e976eedf115a603d21b356

Contents?: true

Size: 314 Bytes

Versions: 6

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

module SidekiqAlive
  module Redis
    class << self
      def adapter
        Helpers.sidekiq_7 ? Redis::RedisClientGem.new : Redis::RedisGem.new
      end
    end
  end
end

require_relative "redis/base"
require_relative "redis/redis_client_gem"
require_relative "redis/redis_gem"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sidekiq_alive-2.3.1 lib/sidekiq_alive/redis.rb
sidekiq_alive-2.3.0 lib/sidekiq_alive/redis.rb
sidekiq_alive-2.2.3 lib/sidekiq_alive/redis.rb
sidekiq_alive-2.2.2 lib/sidekiq_alive/redis.rb
sidekiq_alive-2.2.1 lib/sidekiq_alive/redis.rb
sidekiq_alive-2.2.0 lib/sidekiq_alive/redis.rb