Class: Dependabot::Swift::PackageManager

Inherits:
Ecosystem::VersionManager
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dependabot/swift/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/swift/package_manager.rb', line 21

def initialize(raw_version)
  super(
    PACKAGE_MANAGER,
    Version.new(raw_version),
    DEPRECATED_SWIFT_VERSIONS,
    SUPPORTED_SWIFT_VERSIONS
  )
end

Instance Method Details

#deprecated?Boolean

Returns:

  • (Boolean)


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

def deprecated?
  false
end

#unsupported?Boolean

Returns:

  • (Boolean)


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

def unsupported?
  false
end