Sha256: 36177f3dab09d8579e15215e53d6a9701e4886bcae46618ff7440cedc7662d9d

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 = 2
  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.2.1 lib/sportdb/cli/version.rb