Sha256: 09fb22fd1960c96892591d3180ad8d2c446d13c7c47ba26e17cb0e1ca221ad9d

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.5"
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.9 lib/dircat.rb