Skip to content

Commit

Permalink
draft changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sachin-sandhu committed Dec 25, 2024
1 parent c0b00ef commit 40830d8
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions dotnet_sdk/lib/dependabot/dotnet_sdk/package_manager.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# typed: strong
# frozen_string_literal: true

require "sorbet-runtime"
require "dependabot/nudotnet_sdkget/version"
require "dependabot/ecosystem"
require "dependabot/dotnet_sdk/requirement"

module Dependabot
module DotnetSdk
ECOSYSTEM = "dotnet-sdk"

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

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

class DotNetPackageManager < Dependabot::Ecosystem::VersionManager
extend T::Sig

NAME = "nuget"

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

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

sig do
params(
raw_version: T.nilable(String)
).void
end
def initialize(raw_version)
super(
NAME,
Version.new(raw_version),
SUPPORTED_VERSIONS,
DEPRECATED_VERSIONS
)
end

sig { override.returns(T::Boolean) }
def deprecated?
false
end

sig { override.returns(T::Boolean) }
def unsupported?
false
end
end
end
end

0 comments on commit 40830d8

Please sign in to comment.