Sha256: f08d5fa33e0ae46fa0e183086fff3c7bb4f143d0b515e2f7d0ee59a0bb9ea371
Contents?: true
Size: 879 Bytes
Versions: 1
Compression:
Stored size: 879 Bytes
Contents
# encoding: utf-8 module SportDb module Boot ## note: use a different module than Config to avoid confusion with Configuration/config etc.!!!! ## maybe rename later gem itself to sportdb-boot - why? why not? MAJOR = 0 ## todo: namespace inside version or something - why? why not?? MINOR = 2 PATCH = 2 VERSION = [MAJOR,MINOR,PATCH].join('.') def self.version VERSION end def self.banner "sportdb-config/#{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 def self.data_dir ## rename to config_dir - why? why not? "#{root}/config" end # def self.test_data_dir # "#{root}/test/data" # end end # module Boot end # module SportDb
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sportdb-config-0.2.2 | lib/sportdb/config/version.rb |