Sha256: 2b546ab68cea49ac32b04d3ee60363f2041ea91c6bde42f43d45d854d9b64514
Contents?: true
Size: 602 Bytes
Versions: 3
Compression:
Stored size: 602 Bytes
Contents
# require all files here require 'rbconfig' require 'dynabix/metadata' # Master namespace module Dynabix # Contents of the VERSION file # # Example format: 0.0.1 # # @return [String] the contents of the version file in #.#.# format def self.version version_info_file = File.join(File.dirname(__FILE__), *%w[.. VERSION]) File.open(version_info_file, "r") do |f| f.read.strip end end # Platform constants unless defined?(Dynabix::WINDOWS) WINDOWS = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/i CYGWIN = RbConfig::CONFIG['host_os'] =~ /cygwin/i end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dynabix-0.3.2 | lib/dynabix.rb |
dynabix-0.3.1 | lib/dynabix.rb |
dynabix-0.3.0 | lib/dynabix.rb |