Sha256: 71989e02078c6054fccbc78908adb454f969bce230ecb48323b7ee320ee19383

Contents?: true

Size: 516 Bytes

Versions: 82

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true

module Dependabot
  module Composer
    module NativeHelpers
      def self.composer_helper_path(composer_version: "v2")
        File.join(composer_helpers_dir, composer_version, "bin/run")
      end

      def self.composer_helpers_dir
        File.join(native_helpers_root, "composer")
      end

      def self.native_helpers_root
        default_path = File.join(__dir__, "../../../..")
        ENV.fetch("DEPENDABOT_NATIVE_HELPERS_PATH", default_path)
      end
    end
  end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
dependabot-composer-0.180.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.180.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.180.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.180.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.179.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.178.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.178.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.177.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.176.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.175.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.174.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.174.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.173.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.172.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.172.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.172.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.171.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.171.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.171.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.171.2 lib/dependabot/composer/native_helpers.rb