Class: Dependabot::Hex::PackageManager

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

Instance Method Summary collapse

Constructor Details

#initialize(raw_version) ⇒ PackageManager



21
22
23
24
25
26
27
28
# File 'lib/dependabot/hex/package_manager.rb', line 21

def initialize(raw_version)
  super(
    name: PACKAGE_MANAGER,
    version: Version.new(raw_version),
    deprecated_versions: DEPRECATED_HEX_VERSIONS,
    supported_versions: SUPPORTED_HEX_VERSIONS
  )
end

Instance Method Details

#deprecated?Boolean



31
32
33
# File 'lib/dependabot/hex/package_manager.rb', line 31

def deprecated?
  false
end

#unsupported?Boolean



36
37
38
# File 'lib/dependabot/hex/package_manager.rb', line 36

def unsupported?
  false
end