Sha256: c34bb5a76ccd31fb2f6485454aa2e2954955e0655a82ccb076c8857d74999d1e

Contents?: true

Size: 962 Bytes

Versions: 4

Compression:

Stored size: 962 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'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fourchette-0.0.6 lib/fourchette.rb
fourchette-0.0.5 lib/fourchette.rb
fourchette-0.0.4 lib/fourchette.rb
fourchette-0.0.3 lib/fourchette.rb