Class: Dependabot::RustToolchain::RustToolchainPackageManager
- Inherits:
-
Ecosystem::VersionManager
- Object
- Ecosystem::VersionManager
- Dependabot::RustToolchain::RustToolchainPackageManager
- 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
- #deprecated? ⇒ Boolean
-
#initialize ⇒ RustToolchainPackageManager
constructor
A new instance of RustToolchainPackageManager.
- #unsupported? ⇒ Boolean
Constructor Details
#initialize ⇒ RustToolchainPackageManager
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
36 37 38 |
# File 'lib/dependabot/rust_toolchain/package_manager.rb', line 36 def deprecated? false end |
#unsupported? ⇒ Boolean
41 42 43 |
# File 'lib/dependabot/rust_toolchain/package_manager.rb', line 41 def unsupported? false end |