Sha256: 923a7192a4bffa9ff1198f84dd9c31e88206b3780fd07c608ca99d57cf8bb7f6
Contents?: true
Size: 720 Bytes
Versions: 1
Compression:
Stored size: 720 Bytes
Contents
# frozen_string_literal: true module Hanami # Hanami version # # @since 0.9.0 # @api private module Version # @api public VERSION = "2.1.0.rc1" # @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-2.1.0.rc1 | lib/hanami/version.rb |