Sha256: 6327198892f9735e36694fdf61a264e7a3e85842e61d102e49050eab9f856952

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.1"
require 'optparse-command'

gem "treevisitor", "0.1.6"
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.6 lib/dircat.rb