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.221.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.220.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.219.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.218.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.217.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.216.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.216.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.216.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.215.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.214.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.213.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.212.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.211.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.210.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.209.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.208.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.207.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.206.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.205.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.205.0 lib/dependabot/composer/native_helpers.rb