Sha256: 3f013c8b955845d78b124e0747a694b771abe2e7f2c753f77b39697fa559c2dd

Contents?: true

Size: 663 Bytes

Versions: 1

Compression:

Stored size: 663 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 = 1
  PATCH = 1
  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.1.1 lib/sportdb/cli/version.rb