Sha256: a6693f3d8655a574d024a21d65bee05d2f42b5f73398336fff9f61eb620f1592

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

require 'downlow'
require 'logger'
require 'yajl'

module Jim
  VERSION = '0.1.0'
  
  class Error < RuntimeError; end
  class FileExists < Error; end
  
  def self.logger=(logger)
    @logger = logger
  end
  
  def self.logger
    @logger ||= LOGGER if defined?(LOGGER)
    if !@logger
      @logger           = Logger.new(STDOUT)
      @logger.level     = Logger::INFO
      @logger.formatter = Proc.new {|s, t, n, msg| "#{msg}\n"}
      @logger
    end
    @logger
  end
  
  autoload :Installer, 'jim/installer'
  autoload :Index, 'jim/index'
  autoload :Bundler, 'jim/bundler'
  autoload :VersionParser, 'jim/version_parser'
  autoload :CLI, 'jim/cli'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jim-0.1.0 lib/jim.rb