Sha256: 26bc8e3f28141c6b5a8d2c98554b464d6377acaa20b6f5c43edcb1d557ca68ae

Contents?: true

Size: 482 Bytes

Versions: 606

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true

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

      def self.composer_helpers_dir
        File.join(native_helpers_root, "composer/helpers")
      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

606 entries across 606 versions & 1 rubygems

Version Path
dependabot-composer-0.124.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.123.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.123.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.122.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.122.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.121.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.121.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.120.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.120.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.120.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.120.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.120.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.120.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.119.6 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.119.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.119.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.119.3 lib/dependabot/composer/native_helpers.rb