Sha256: 30fb21369574717765b6ab5a60707cc03f28216d74e51cae7118ccfec7fb38be

Contents?: true

Size: 486 Bytes

Versions: 22

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

module Dependabot
  module Composer
    module NativeHelpers
      def self.composer_helper_path
        File.join(composer_helpers_dir, "bin/run.php")
      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

22 entries across 22 versions & 1 rubygems

Version Path
dependabot-composer-0.91.7 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.91.6 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.91.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.91.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.91.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.91.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.91.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.91.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.7 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.6 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.90.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.89.5 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.89.4 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.89.3 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.89.2 lib/dependabot/composer/native_helpers.rb