Sha256: 8c5ffd773d01498d77a825ed6f1a4ae599a429160d7a365c56b9a5aa03513ecb

Contents?: true

Size: 547 Bytes

Versions: 46

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

require 'active_support'
require 'active_support/per_thread_registry'

module LHS
  module Interceptors
    module ExtendedRollbar
      extend ActiveSupport::Concern

      class ThreadRegistry
        # Using ActiveSupports PerThreadRegistry to be able to support Active Support v4.
        # Will switch to thread_mattr_accessor (which comes with Activesupport) when we dropping support for Active Support v4.
        extend ActiveSupport::PerThreadRegistry
        attr_accessor :log
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
lhs-21.0.0 lib/lhs/interceptors/extended_rollbar/thread_registry.rb
lhs-20.1.4 lib/lhs/interceptors/extended_rollbar/thread_registry.rb
lhs-20.1.3.pre.paginationfix.3 lib/lhs/interceptors/extended_rollbar/thread_registry.rb
lhs-20.1.3.pre.paginationfix.2 lib/lhs/interceptors/extended_rollbar/thread_registry.rb
lhs-20.1.3.pre.paginationfix.1 lib/lhs/interceptors/extended_rollbar/thread_registry.rb
lhs-20.1.2 lib/lhs/interceptors/extended_rollbar/thread_registry.rb