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.115.2 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.115.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.115.0 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.114.1 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.28 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.27 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.26 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.25 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.24 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.23 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.22 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.21 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.20 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.19 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.18 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.17 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.16 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.15 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.14 lib/dependabot/composer/native_helpers.rb
dependabot-composer-0.113.13 lib/dependabot/composer/native_helpers.rb