Sha256: 298e6452c426233fa8a6d7636e856ac0ae580f859f886bb5f89b97a8cef2e487

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

# require all files here
require 'rbconfig'
require 'revenc/core/hash'
require 'revenc/core/array'
require 'revenc/app'
require 'revenc/settings'
require 'revenc/io'
require 'revenc/errors'
require 'revenc/encfs_wrapper'

# Master namespace
module Revenc

  # 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?(Revenc::WINDOWS)
    WINDOWS = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/i
    CYGWIN = RbConfig::CONFIG['host_os'] =~ /cygwin/i
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
revenc-0.2.1 lib/revenc.rb