Class: Dependabot::PackageManagerBase
- Inherits:
-
Object
- Object
- Dependabot::PackageManagerBase
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- lib/dependabot/package_manager.rb
Instance Method Summary collapse
- #deprecated? ⇒ Boolean
- #deprecated_versions ⇒ Object
- #name ⇒ Object
- #support_later_versions? ⇒ Boolean
- #supported_versions ⇒ Object
- #unsupported? ⇒ Boolean
- #unsupported_versions ⇒ Object
- #version ⇒ Object
Instance Method Details
#deprecated? ⇒ Boolean
57 58 59 |
# File 'lib/dependabot/package_manager.rb', line 57 def deprecated? deprecated_versions.include?(version) end |
#deprecated_versions ⇒ Object
30 31 32 |
# File 'lib/dependabot/package_manager.rb', line 30 def deprecated_versions [] end |
#name ⇒ Object
17 |
# File 'lib/dependabot/package_manager.rb', line 17 def name; end |
#support_later_versions? ⇒ Boolean
80 81 82 |
# File 'lib/dependabot/package_manager.rb', line 80 def support_later_versions? false end |
#supported_versions ⇒ Object
48 49 50 |
# File 'lib/dependabot/package_manager.rb', line 48 def supported_versions [] end |
#unsupported? ⇒ Boolean
66 67 68 69 70 71 72 73 |
# File 'lib/dependabot/package_manager.rb', line 66 def unsupported? return true if unsupported_versions.include?(version) supported_versions = self.supported_versions return version < supported_versions.first if supported_versions.any? false end |
#unsupported_versions ⇒ Object
39 40 41 |
# File 'lib/dependabot/package_manager.rb', line 39 def unsupported_versions [] end |
#version ⇒ Object
23 |
# File 'lib/dependabot/package_manager.rb', line 23 def version; end |