Sha256: 5ee8376b81920684e4e63c0b9e64cecc1b666a68b7fcf6a0bd852f6446d6f9f5

Contents?: true

Size: 771 Bytes

Versions: 23

Compression:

Stored size: 771 Bytes

Contents

# frozen_string_literal: true

require "datadog/tracing/contrib/integration"

module Datadog
  module Tracing
    module Contrib
      module Tobox
        class Integration
          include Contrib::Integration

          MINIMUM_VERSION = Gem::Version.new("0.1.0")

          register_as :tobox

          def self.version
            Gem.loaded_specs["tobox"] && Gem.loaded_specs["tobox"].version
          end

          def self.loaded?
            !defined?(::Tobox).nil?
          end

          def self.compatible?
            super && version >= MINIMUM_VERSION
          end

          def new_configuration
            Configuration::Settings.new
          end

          def patcher
            Patcher
          end
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
tobox-0.7.0 lib/tobox/plugins/datadog/integration.rb
tobox-0.6.1 lib/tobox/plugins/datadog/integration.rb
tobox-0.6.0 lib/tobox/plugins/datadog/integration.rb
tobox-0.5.2 lib/tobox/plugins/datadog/integration.rb
tobox-0.5.1 lib/tobox/plugins/datadog/integration.rb
tobox-0.5.0 lib/tobox/plugins/datadog/integration.rb
tobox-0.4.5 lib/tobox/plugins/datadog/integration.rb
tobox-0.4.4 lib/tobox/plugins/datadog/integration.rb
tobox-0.4.3 lib/tobox/plugins/datadog/integration.rb
tobox-0.4.2 lib/tobox/plugins/datadog/integration.rb
tobox-0.4.1 lib/tobox/plugins/datadog/integration.rb
tobox-0.4.0 lib/tobox/plugins/datadog/integration.rb
tobox-0.3.2 lib/tobox/plugins/datadog/integration.rb
tobox-0.3.1 lib/tobox/plugins/datadog/integration.rb
tobox-0.3.0 lib/tobox/plugins/datadog/integration.rb
tobox-0.2.0 lib/tobox/plugins/datadog/integration.rb
tobox-0.1.6 lib/tobox/plugins/datadog/integration.rb
tobox-0.1.5 lib/tobox/plugins/datadog/integration.rb
tobox-0.1.4 lib/tobox/plugins/datadog/integration.rb
tobox-0.1.3 lib/tobox/plugins/datadog/integration.rb