Sha256: 9639d2eaf5f56988646d2d83931b5d36a110047e9d7ad78c262385a2db09d31f

Contents?: true

Size: 1000 Bytes

Versions: 4

Compression:

Stored size: 1000 Bytes

Contents

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

# 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

4 entries across 4 versions & 1 rubygems

Version Path
fourchette-0.1.1 lib/fourchette.rb
fourchette-0.1.0 lib/fourchette.rb
fourchette-0.0.8 lib/fourchette.rb
fourchette-0.0.7 lib/fourchette.rb