Sha256: 1a9791f908baacb6c1f071ecd0bd017f532c3087261f53e95d6e7016699ef5c5

Contents?: true

Size: 645 Bytes

Versions: 2

Compression:

Stored size: 645 Bytes

Contents

# require all files here
require 'rbconfig'
require 'mutagem/lockfile'
require 'mutagem/mutex'
require 'mutagem/task'

# Master namespace
module Mutagem

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

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mutagem-0.2.1 lib/mutagem.rb
mutagem-0.2.0 lib/mutagem.rb