Sha256: a35912f6eedbca3ee54aa3278f80a2eecc10384a7bfff9f538f12197d3f9fcc4
Contents?: true
Size: 428 Bytes
Versions: 22
Compression:
Stored size: 428 Bytes
Contents
require "yaml" module Taps def self.version_yml @@version_yml ||= YAML.load(File.read(File.dirname(__FILE__) + '/../../VERSION.yml')) end def self.version version = "#{version_yml[:major]}.#{version_yml[:minor]}.#{version_yml[:patch]}" version += ".#{version_yml[:build]}" if version_yml[:build] version end def self.compatible_version "#{version_yml[:major]}.#{version_yml[:minor]}" end end
Version data entries
22 entries across 22 versions & 5 rubygems