Class: Dependabot::RustToolchain::RustToolchainPackageManager

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

Constant Summary collapse

VERSION =

This is a placeholder version for the package manager.

"1.0.0"
SUPPORTED_VERSIONS =
T.let([].freeze, T::Array[Dependabot::Version])
DEPRECATED_VERSIONS =
T.let([].freeze, T::Array[Dependabot::Version])

Instance Method Summary collapse

Constructor Details

#initializeRustToolchainPackageManager

Returns a new instance of RustToolchainPackageManager.



26
27
28
29
30
31
32
33
# File 'lib/dependabot/rust_toolchain/package_manager.rb', line 26

def initialize
  super(
    name: PACKAGE_MANAGER,
    version: Version.new(VERSION),
    deprecated_versions: DEPRECATED_VERSIONS,
    supported_versions: SUPPORTED_VERSIONS
 )
end

Instance Method Details

#deprecated?Boolean

Returns:



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

def deprecated?
  false
end

#unsupported?Boolean

Returns:



41
42
43
# File 'lib/dependabot/rust_toolchain/package_manager.rb', line 41

def unsupported?
  false
end