Module: Juici

Defined in:
lib/juici/build_queue.rb,
lib/juici.rb,
lib/juici/app.rb,
lib/juici/server.rb,
lib/juici/watcher.rb,
lib/juici/callback.rb,
lib/juici/build_logic.rb,
lib/juici/url_helpers.rb,
lib/juici/models/build.rb,
lib/juici/models/project.rb,
lib/juici/build_environment.rb,
lib/juici/controllers/trigger_controller.rb

Overview

:profit!

Defined Under Namespace

Modules: BuildLogic Classes: App, Build, BuildEnvironment, BuildQueue, Callback, Config, Database, Project, Server, TriggerController, Watcher

Constant Summary collapse

BUILD_SENSITIVE_VARIABLES =
%w[RUBYOPT BUNDLE_GEMFILE RACK_ENV MONGOLAB_URI]

Class Method Summary collapse

Class Method Details

.dbgp(*args) ⇒ Object



8
9
10
# File 'lib/juici.rb', line 8

def self.dbgp(*args)
  ENV['JUICY_DEBUG'] && $stderr.puts(args)
end

.url_helpers(route) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/juici/url_helpers.rb', line 5

def self.url_helpers(route)
  Module.new do
    @@route = route

    def url_for(child)
      "/#{@@route}/#{child}"
    end

  end
end