Sha256: 8032dfe150c52279cdd4ae460811a1990493bcdf922a30cbdcdac69a1472f7ce

Contents?: true

Size: 848 Bytes

Versions: 3

Compression:

Stored size: 848 Bytes

Contents

# require all files here
require 'rbconfig'
require 'repo_manager/core'
require 'repo_manager/errors'
require 'repo_manager/assets'
require 'repo_manager/views'
require 'repo_manager/actions'
require 'repo_manager/git'
require 'repo_manager/app'
require 'repo_manager/settings'
require 'repo_manager/logger'


# Master namespace
module RepoManager

  # 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?(RepoManager::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
repo_manager-0.7.3 lib/repo_manager.rb
repo_manager-0.7.2 lib/repo_manager.rb
repo_manager-0.7.1 lib/repo_manager.rb