Sha256: 88bdf03d52826041c3ffb7d8dfd2649fdd83e8acddedc7cb5ec3bcc2688a176c

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

require "yaml"

module Simply
  module Version
    unless defined?(Simply::VERSION)
      version_info = YAML.load(File.read(File.dirname(__FILE__) + "/../../VERSION.yml"))
      
      MAJOR   = version_info[:major]
      MINOR   = version_info[:minor]
      TINY    = version_info[:patch]
      VERSION = "#{MAJOR}.#{MINOR}.#{TINY}"
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
smtlaissezfaire-simply-0.2.1 lib/simply/version.rb
simply-0.2.3 lib/simply/version.rb