Sha256: 8140ce3ad73ad0ec4e04f73cabd0b49b66982f1a990209f4ca2c2ed8a73aad4c
Contents?: true
Size: 712 Bytes
Versions: 1
Compression:
Stored size: 712 Bytes
Contents
module Hanami # Hanami version # # @since 0.9.0 # @api private module Version # @since 0.9.0 # @api private VERSION = '0.9.2'.freeze # @since 0.9.0 # @api private def self.version VERSION end # @since 0.9.0 # @api private def self.gem_requirement if prerelease? version else "~> #{major_minor}" end end # @since 0.9.0 # @api private def self.prerelease? version =~ /alpha|beta|rc/ end # @since 0.9.0 # @api private def self.major_minor version.scan(/\A\d{1,2}\.\d{1,2}/).first end end # Defines the full version # # @since 0.1.0 VERSION = Version.version end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hanami-0.9.2 | lib/hanami/version.rb |