Sha256: 1914286b01a076d9112a49e8d597eaa7267c5885f8a362a5418bb7bb4fc9d813

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

# encoding: utf-8

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


module SportDbCli    # todo/check - rename to SportDbTool or SportDbCommands or SportDbShell ??

  MAJOR = 2 ## todo: namespace inside version or something - why? why not??
  MINOR = 0
  PATCH = 0
  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.0.0 lib/sportdb/cli/version.rb