Sha256: 2f64b2000711740ccd2deeb8e1bbf1cdf4d3c080d32256b5f1026006a35db973

Contents?: true

Size: 1.51 KB

Versions: 4

Compression:

Stored size: 1.51 KB

Contents

require "pullentity-client/version"

require 'rubygems'
require 'pathname'
require 'fileutils'
require 'rbconfig'
require 'colored'
require 'rocco'
require 'thor'
require 'erubis'
require 'nokogiri'
require 'json'

require 'tempfile'
require 'pullentity-client/thor/shell/password'

Thor::Shell::Basic.class_eval do
  include Thor::Shell::Password

  def ask(statement, *args)
    options = args.last.is_a?(Hash) ? args.pop : {}

    if options[:limited_to]
      ask_filtered(statement, options[:limited_to], *args)
    elsif options[:password]
      ask_passwordly(statement, *args)
    else
      ask_simply(statement, *args)
    end
  end

end

module Pullentity
  module Client
    ROOT_PATH = Pathname(__FILE__).dirname.expand_path

    autoload  :VERSION,       'pullentity-client/version.rb'
    autoload  :CLI,           'pullentity-client/cli.rb'
    autoload  :Logger,        "pullentity-client/logger.rb"
    autoload  :Utils,         "pullentity-client/utils.rb"

    module Generate
      autoload  :Project,     "pullentity-client/generate/project.rb"
      autoload  :Model,       "pullentity-client/generate/model.rb"
      autoload  :Exporter,    "pullentity-client/generate/exporter.rb"
      autoload  :Auth,        "pullentity-client/generate/auth.rb"
      autoload  :Theme,        "pullentity-client/generate/theme.rb"

    end

    module Builder
      autoload :Middleman,     'pullentity-client/builder/middleman.rb'
    end

    def self.root
      @root ||= Pathname(__FILE__).dirname.expand_path
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pullentity-client-0.1.0 lib/pullentity-client.rb
pullentity-client-0.0.9 lib/pullentity-client.rb
pullentity-client-0.0.8 lib/pullentity-client.rb
pullentity-client-0.0.7 lib/pullentity-client.rb