Sha256: e1bb8365e2a69c07f6913282236bcbad38ff517692ae50479970ec446f37f89a

Contents?: true

Size: 1018 Bytes

Versions: 1

Compression:

Stored size: 1018 Bytes

Contents

require "fourchette/version"
require 'sinatra'
require 'json'
require 'platform-api'
require 'octokit'
require 'git'
require 'sucker_punch'
require 'rest-client'

# TODO: Extract this to development.rb and production.rb
if development?
  require "sinatra/reloader"

  begin
    require "pry"
  rescue LoadError => ex
    # That's ok, we don't care...it was probably loaded from another project
    # and not to hack on Fourchette anyways!
  end

  FOURCHETTE_CONFIG = {
    env_name: 'fourchette-dev'
  }
else
  FOURCHETTE_CONFIG = {
    env_name: 'fourchette'
  }
end


module Fourchette
  DEBUG = ENV['DEBUG'] ? true : false

  class DeployException < StandardError; end
end

require_relative 'fourchette/logger'
require_relative 'fourchette/web'
require_relative 'fourchette/github'
require_relative 'fourchette/pull_request'
require_relative 'fourchette/fork'
require_relative 'fourchette/heroku'
require_relative 'fourchette/pgbackups'
require_relative 'fourchette/callbacks'
require_relative 'fourchette/tarball'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fourchette-0.1.2 lib/fourchette.rb