Sha256: 3d6d8b42b24959a07c39aa851c4f1dce40fa050e8c83502bc13a0fe8d3701764

Contents?: true

Size: 688 Bytes

Versions: 1

Compression:

Stored size: 688 Bytes

Contents

# encoding: utf-8

# Note: SportDb::VERSION gets used by core, that is, sportdb-models

## todo/fix: yes, rename to SportDbTool
module SportDbCli    # todo/check - rename to SportDbTool or SportDbCommands or SportDbShell ??

  MAJOR = 2 ## todo: namespace inside version or something - why? why not??
  MINOR = 3
  PATCH = 2
  VERSION = [MAJOR,MINOR,PATCH].join('.')

  def self.version
    VERSION
  end

  def self.banner
    "sportdb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
  end

  def self.root
    "#{File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}"
  end

end # module SportDbCli

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-2.3.2 lib/sportdb/cli/version.rb