Class: Dependabot::Elm::PackageManager

Inherits:
Dependabot::Ecosystem::VersionManager
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dependabot/elm/package_manager.rb

Instance Method Summary collapse

Constructor Details

#initialize(raw_version, requirement = nil) ⇒ PackageManager

Returns a new instance of PackageManager.



35
36
37
38
39
40
41
42
43
# File 'lib/dependabot/elm/package_manager.rb', line 35

def initialize(raw_version, requirement = nil)
  super(
    name: PACKAGE_MANAGER,
    version: Version.new(raw_version),
    deprecated_versions: DEPRECATED_ELM_VERSIONS,
    supported_versions: SUPPORTED_ELM_VERSIONS,
    requirement: requirement,
 )
end

Instance Method Details

#deprecated?Boolean

Returns:

  • (Boolean)


46
47
48
# File 'lib/dependabot/elm/package_manager.rb', line 46

def deprecated?
  false
end

#unsupported?Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/dependabot/elm/package_manager.rb', line 51

def unsupported?
  false
end