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.204.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.203.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.202.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.201.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.201.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.200.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.199.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.198.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.197.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.196.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.196.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.196.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.196.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.196.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.195.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.194.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.194.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.193.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.192.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.192.0 lib/dependabot/composer/native_helpers.rb