Sha256: ffd70395acb8804bdd6fb2a9f22d1965f360e37b3d36e3f532f7e28c30710bcc

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 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 = 1 ## todo: namespace inside version or something - why? why not??
  MINOR = 10
  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-1.10.1 lib/sportdb/cli/version.rb