class Bundler::Audit::Results::InsecureSource
Represents an insecure gem source (ex: ‘git://…` or `http://…`).
def ==(other)
-
(Boolean)
-
Parameters:
-
other
(Result
) --
def ==(other) self.class == other.class && @source == other.source end
def initialize(source)
-
source
(URI::Generic, URI::HTTP
) --
def initialize(source) @source = source end
def to_h
-
(Hash{Symbol => Object})
-
def to_h { type: :insecure_source, source: @source } end
def to_s
-
(String)
-
def to_s @source.to_s end