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.191.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.191.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.190.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.190.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.189.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.188.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.187.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.186.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.186.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.185.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.184.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.183.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.182.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.182.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.182.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.182.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.182.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.181.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.180.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.180.4 lib/dependabot/composer/native_helpers.rb