Sha256: d25f9595c5c4eea476b4c09291e3831f6aee84d086ccf51d9b4d14d29b308bba

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 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 = 4
          MINOR = 5
          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-4.5.0 lib/dradis/plugins/calculators/cvss/gem_version.rb