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.128.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.128.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.128.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.127.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.127.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.126.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.126.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.7 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.6 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.125.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.8 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.7 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.6 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.124.4 lib/dependabot/composer/native_helpers.rb