Sha256: 297ce26dd6bad3e41cbb5278de99961ab9d68e7d694eb339d2834e115685db9d

Contents?: true

Size: 913 Bytes

Versions: 1

Compression:

Stored size: 913 Bytes

Contents

# -*- coding: utf-8 -*-
#
# std lib
#
require 'fileutils'
require 'tmpdir'
require 'yaml'
require 'ostruct'
require 'optparse'
require 'pp'

#
# rubygems
#
gem "optparse-command", "0.1.4"
require 'optparse-command'

gem "treevisitor", "0.2.1"
require 'treevisitor'

#
# dircat
#
module DirCat
  def self.version
    filename = File.join(File.dirname(__FILE__), %w{.. VERSION.yml})
    yaml     = YAML.load_file(filename)
    major    = (yaml['major'] || yaml[:major]).to_i
    minor    = (yaml['minor'] || yaml[:minor]).to_i
    patch    = (yaml['patch'] || yaml[:patch]).to_i
    "#{major}.#{minor}.#{patch}"
  end
end

require 'dircat/extension_md5'
require 'dircat/extension_numeric'

require 'dircat/cat'
require 'dircat/entry'

require 'dircat/cli/cli_dircat'
require 'dircat/cli/command_build'
require 'dircat/cli/command_diff'
require 'dircat/cli/command_query'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dircat-0.1.8 lib/dircat.rb