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

Version Path
taps2-0.5.5 lib/taps/version.rb
taps2-0.5.4 lib/taps/version.rb
taps2-0.5.3 lib/taps/version.rb
taps2-0.5.2 lib/taps/version.rb
taps2-0.5.1 lib/taps/version.rb
tinroof-taps-0.3.24 lib/taps/version.rb
tapsicle-0.4.1 lib/taps/version.rb
taps-taps-0.3.24 lib/taps/version.rb
taps-0.3.24 lib/taps/version.rb
taps-0.3.23 lib/taps/version.rb
taps-0.3.23.pre1 lib/taps/version.rb
taps-0.3.22.pre2 lib/taps/version.rb
taps-0.3.22.pre1 lib/taps/version.rb
taps-0.3.21 lib/taps/version.rb
taps-0.3.20 lib/taps/version.rb
taps-0.3.20.pre2 lib/taps/version.rb
taps-0.3.20.pre1 lib/taps/version.rb
taps-0.3.19 lib/taps/version.rb
taps-0.3.19.pre1 lib/taps/version.rb
taps-0.3.18 lib/taps/version.rb