Class: Dependabot::Terraform::PackageManager

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

Instance Method Summary collapse

Constructor Details

#initialize(raw_version) ⇒ PackageManager

Returns a new instance of PackageManager.



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

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

Instance Method Details

#deprecated?Boolean

Returns:

  • (Boolean)


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

def deprecated?
  false
end

#unsupported?Boolean

Returns:

  • (Boolean)


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

def unsupported?
  false
end