spree-contrib/spree_static_content

View on GitHub
lib/spree_static_content/version.rb

Summary

Maintainability
A
0 mins
Test Coverage
module SpreeStaticContent
  module_function

  # Returns the version of the currently loaded SpreeStaticContent as a
  # <tt>Gem::Version</tt>.
  def version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 4
    MINOR = 2
    TINY  = 0

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