Sha256: 31bec8c21a541411a192304139adcf70cb8b23f463a30d752bcdf9beb57b1f0c

Contents?: true

Size: 602 Bytes

Versions: 13

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

require "knapsack_pro/extensions/rspec_extension"

require_relative "runner"

module Datadog
  module CI
    module Contrib
      module RSpec
        module KnapsackPro
          module Extension
            def self.included(base)
              base.singleton_class.prepend(ClassMethods)
            end

            module ClassMethods
              def setup!
                super

                ::RSpec::Core::Runner.include(Datadog::CI::Contrib::RSpec::KnapsackPro::Runner)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
datadog-ci-1.8.1 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.8.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.7.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.6.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.5.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.4.1 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.4.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.3.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.2.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.1.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.0.1 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.0.0 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb
datadog-ci-1.0.0.beta6 lib/datadog/ci/contrib/rspec/knapsack_pro/extension.rb