Module: Appsta

Includes:
DefaultFiles, Git, GitHub, Heroku, JQuery
Defined in:
lib/appsta.rb,
lib/appsta/git.rb,
lib/appsta/github.rb,
lib/appsta/heroku.rb,
lib/appsta/jquery.rb,
lib/appsta/default_files.rb

Defined Under Namespace

Modules: DefaultFiles, Git, GitHub, Heroku, JQuery

Constant Summary collapse

VERSION =
"1.1.0"

Class Method Summary collapse

Methods included from JQuery

#use_jquery

Methods included from Git

#git_push, #git_setup

Methods included from GitHub

#github

Methods included from Heroku

#heroku, #heroku_gems

Methods included from DefaultFiles

#remove_default_files

Class Method Details

.loadObject

This loads Appsta so that it’s methods are available to the template runner



18
19
20
# File 'lib/appsta.rb', line 18

def load
  Rails::TemplateRunner.send(:include, Appsta)
end

.resources_pathObject

This returns the resources path for Appsta



28
29
30
# File 'lib/appsta.rb', line 28

def resources_path
  File.expand_path(File.join(File.dirname(__FILE__), "..", "resources"))
end

.template_pathObject

This returns the template path for Appsta



23
24
25
# File 'lib/appsta.rb', line 23

def template_path
  File.expand_path(File.join(File.dirname(__FILE__), "template.rb"))
end