Sha256: e4e2e5f24b396d9e0776cefdb8f0010f78b898e66d686dfef010024b4e09867a

Contents?: true

Size: 812 Bytes

Versions: 20

Compression:

Stored size: 812 Bytes

Contents

# frozen_string_literal: true

require "datadog/core"

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

module Datadog
  module CI
    module Contrib
      module Cucumber
        module Configuration
          # Custom settings for the Cucumber 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

20 entries across 20 versions & 1 rubygems

Version Path
datadog-ci-1.12.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.11.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.10.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.9.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.8.1 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.8.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.7.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.6.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.5.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.4.1 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.4.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.3.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.2.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.1.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.0.1 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.0.0 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.0.0.beta6 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.0.0.beta3 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.0.0.beta2 lib/datadog/ci/contrib/cucumber/configuration/settings.rb
datadog-ci-1.0.0.beta1 lib/datadog/ci/contrib/cucumber/configuration/settings.rb