Sha256: e4da4e4b9b06f763f94d45d9ee3b109c41cd6f0e887c7e852b988d9a670785fd

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

require 'version_info/data'

module VersionInfo


  def self.segments
    [:major, :minor, :patch, :state, :build]
  end
   
  def self.included(other)
    data = Class.new(Data)
    other.const_set('Version', data)
    other.const_set('VERSION', data.new)
  end

  autoload :RakeTasks, 'version_info/tasks'
  autoload :ThorTasks, 'version_info/tasks'

end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
version_info-0.7.1 lib/version_info.rb
version_info-0.7.0 lib/version_info.rb