Sha256: 3ef3c8295e5e5e45e57a3f35825834cc1ae2b7db07aac44227f5b95872b6606b

Contents?: true

Size: 415 Bytes

Versions: 4

Compression:

Stored size: 415 Bytes

Contents

require 'version_info/data'

module VersionInfo

  # current segments or defaults
  def self.segments
    @segments ||= [:major, :minor, :patch] 
  end

  # define segments
  def self.segments=(values)
    @segments = values
  end
   
  def self.included(other)
    other.const_set('VERSION', Data.new)
  end

  autoload :RakeTasks, 'version_info/rake_tasks'
  autoload :ThorTasks, 'version_info/thor_tasks'

end


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
version_info-1.1.4 lib/version_info.rb
version_info-1.1.2 lib/version_info.rb
version_info-1.1.1 lib/version_info.rb
version_info-1.1.0 lib/version_info.rb