Module: Rabal

Includes:
Util
Defined in:
lib/rabal.rb,
lib/rabal/tree.rb,
lib/rabal/util.rb,
lib/rabal/error.rb,
lib/rabal/usage.rb,
lib/rabal/logger.rb,
lib/rabal/gemspec.rb,
lib/rabal/version.rb,
lib/rabal/file_tree.rb,
lib/rabal/plugin/bin.rb,
lib/rabal/plugin/ext.rb,
lib/rabal/action_tree.rb,
lib/rabal/application.rb,
lib/rabal/plugin/core.rb,
lib/rabal/plugin/spec.rb,
lib/rabal/plugin/test.rb,
lib/rabal/plugin_tree.rb,
lib/rabal/project_tree.rb,
lib/rabal/specification.rb,
lib/rabal/directory_tree.rb,
lib/rabal/plugin/license.rb,
lib/rabal/plugin/website.rb,
lib/rabal/plugin/rubyforge.rb,
lib/rabal/plugin/foundation.rb

Defined Under Namespace

Modules: Log, Plugin, Util Classes: ActionTree, Application, DirectoryTree, FileTree, PathNotFoundError, PluginParameterMissingError, PluginTree, ProjectTree, Specification, StandardError, TemplateNotFoundError, Tree, Usage, Version

Constant Summary collapse

ROOT_DIR =
File.expand_path(File.join(File.dirname(__FILE__),".."))
LIB_DIR =
File.join(ROOT_DIR,"lib").freeze
KNOWN_WORDS =
{
    "rabal.project" => lambda { |tree| tree.root.project_name }
}
SPEC =
Rabal::Specification.new do |spec|
     spec.name               = "rabal"
     spec.version            = Rabal::VERSION
     spec.rubyforge_project  = "copiousfreetime"
     spec.author             = "Jeremy Hinegardner"
     spec.email              = "[email protected]"
     spec.homepage           = "http://copiousfreetime.rubyforge.org/rabal/"

     spec.summary            = "A tool for bootstrapping project development"
     spec.description        = <<-DESC
     Ruby Architecture for Building Applications and
     Libraries.

     Rabal is a commandline application for bootstrapping,
     packaging and distributing ruby projects.
     DESC

     spec.extra_rdoc_files   = FileList["[A-Z]*"] - FileList["TODO"]
     spec.has_rdoc           = true
     spec.rdoc_main          = "README"
     spec.rdoc_options       = [ "--line-numbers" , "--inline-source" ]

     spec.test_files         = FileList["spec/**/*.rb"]
     spec.executable         = spec.name
     spec.files              = spec.test_files + spec.extra_rdoc_files + 
                               FileList["lib/**/*.rb", "resources/**/*"]

     spec.add_dependency("main", ">= 2.8.0")
     spec.add_dependency("gem_plugin", ">= 0.2.1")
     spec.add_dependency("highline", ">= 1.2.9")
     spec.required_ruby_version  = ">= 1.8.5"

     spec.platform           = Gem::Platform::RUBY

     spec.remote_user        = "jjh"
     spec.local_rdoc_dir     = "doc/rdoc"
     spec.remote_rdoc_dir    = ""
     spec.local_coverage_dir = "doc/coverage"

     spec.remote_site_dir    = ""

end
VERSION =
Version.to_s

Class Method Summary collapse

Methods included from Util

#replace_known_words

Class Method Details

.applicationObject



22
23
24
# File 'lib/rabal.rb', line 22

def application
    @application ||= Rabal::Application.new
end

.application=(app) ⇒ Object



26
27
28
# File 'lib/rabal.rb', line 26

def application=(app)
    @application = app
end