Sha256: 4a0da7f61fdc4db73027201c55225266711cfbab3400c2f595391a5e07547c64

Contents?: true

Size: 782 Bytes

Versions: 14

Compression:

Stored size: 782 Bytes

Contents

# frozen_string_literal: true

require_relative "../ext"
require_relative "../../settings"
require_relative "../../../utils/configuration"

module Datadog
  module CI
    module Contrib
      module RSpec
        module Configuration
          # Custom settings for the RSpec integration
          # @public_api
          class Settings < Datadog::CI::Contrib::Settings
            option :enabled do |o|
              o.type :bool
              o.env Ext::ENV_ENABLED
              o.default true
            end

            option :service_name do |o|
              o.type :string
              o.default do
                Utils::Configuration.fetch_service_name(Ext::DEFAULT_SERVICE_NAME)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
datadog-ci-1.7.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.6.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.5.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.4.1 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.4.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.3.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.2.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.1.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.0.1 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.0.0 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.0.0.beta6 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.0.0.beta3 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.0.0.beta2 lib/datadog/ci/contrib/rspec/configuration/settings.rb
datadog-ci-1.0.0.beta1 lib/datadog/ci/contrib/rspec/configuration/settings.rb