Module: SweetStaging

Defined in:
lib/sweet_staging.rb,
lib/sweet_staging/engine.rb,
lib/sweet_staging/version.rb,
lib/sweet_staging/rails/middleware.rb,
app/helpers/sweet_staging/application_helper.rb,
app/controllers/sweet_staging/base_controller.rb,
app/controllers/sweet_staging/home_controller.rb,
app/controllers/sweet_staging/logs_controller.rb,
app/controllers/sweet_staging/console_controller.rb,
app/controllers/sweet_staging/commands_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, Rails Classes: BaseController, CommandsController, ConsoleController, Engine, HomeController, LogFile, LogsController

Constant Summary collapse

VERSION =
'0.1.2'
@@enabled =
true
@@mount_at =
"/sweet/staging"
@@http_basic_authentication_enabled =
false
@@http_basic_authentication_user_name =
'sweet'
@@http_basic_authentication_password =
'password12'
@@verify_access_proc =
proc { |controller| true }
@@fetch_timeout =
1000
@@logs =
[]
@@console =
true
@@commands =
[]

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (SweetStaging)

    the object that the method was called on



41
42
43
# File 'lib/sweet_staging.rb', line 41

def self.setup
  yield(self)
end