Sha256: b22833f272137cd68ab2e2973410b865ca0c8bf3659a0f5f5c46733f8e2d0cd9

Contents?: true

Size: 637 Bytes

Versions: 24

Compression:

Stored size: 637 Bytes

Contents

# frozen_string_literal: true

require "dependabot/metadata_finders/base"
require "dependabot/shared_helpers"

module Dependabot
  module MetadataFinders
    module Elm
      class ElmPackage < Dependabot::MetadataFinders::Base
        private

        def look_up_source
          # For Elm 0.18 an elm-package is guaranteed to be `owner/name`
          # on github. For 0.19 a lot will change, including the name of
          # the dependency file, so I won't try to build something more
          # sophisticated here for now.
          Source.from_url("https://github.com/" + dependency.name)
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
dependabot-core-0.81.1 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.81.0 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.80.1 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.80.0 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.79.4 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.79.3 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.79.2 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.79.1 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.79.0 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.78.0 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.77.2 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.77.1 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.77.0 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.76.11 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.76.10 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.76.9 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.76.8 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.76.7 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.76.6 lib/dependabot/metadata_finders/elm/elm_package.rb
dependabot-core-0.76.5 lib/dependabot/metadata_finders/elm/elm_package.rb