Sha256: 606e17fc4528f7e78ab29f32edc9eb22f8f26f27dbee526d8b6da0b83ad7ea24

Contents?: true

Size: 1.52 KB

Versions: 7

Compression:

Stored size: 1.52 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 'debugger'

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

7 entries across 7 versions & 1 rubygems

Version Path
pullentity-client-0.3.9 lib/pullentity-client.rb
pullentity-client-0.3.8 lib/pullentity-client.rb
pullentity-client-0.3.7 lib/pullentity-client.rb
pullentity-client-0.3.6 lib/pullentity-client.rb
pullentity-client-0.3.5 lib/pullentity-client.rb
pullentity-client-0.3.4 lib/pullentity-client.rb
pullentity-client-0.3.3 lib/pullentity-client.rb