Sha256: a37aedd20421f1e0b871523f04231b1845316c901a524729fd690cbd2b51499a

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

module Dradis
  module Plugins
    module Calculators
      module CVSS
        # Returns the version of the currently loaded CVSS Calculator as a <tt>Gem::Version</tt>
        def self.gem_version
          Gem::Version.new VERSION::STRING
        end

        module VERSION
          MAJOR = 3
          MINOR = 20
          TINY = 0
          PRE = nil

          STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dradis-calculator_cvss-3.20.0 lib/dradis/plugins/calculators/cvss/gem_version.rb