Sha256: ac65723518c541aaf516757ca9bfdf80f910180b3077f00f5863a0e0df8d9ff7

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

module Picky

  # External libraries.
  #
  require 'active_support/core_ext/module/delegation'
  require 'active_support/core_ext/logger'
  require 'active_support/core_ext/object/blank'
  require 'active_support/core_ext/enumerable'
  require 'active_support/multibyte'
  require 'yajl'
  require 'procrastinate'
  require 'rack_fast_escape' if defined? Rack
  require 'fileutils'
  
  # Check if platform specific modifiers need to be installed.
  #
  
  # Note: We don't use require_relative because MacRuby doesn't
  # have it.
  #
  require File.expand_path '../picky/platforms/macruby', __FILE__
  
  # Require the constants.
  #
  require_relative 'picky/constants'

  # Loader which handles framework and app loading.
  #
  require_relative 'picky/loader'

  # Load the framework
  #
  Loader.load_framework

  # Check if delegators need to be installed.
  #
  require_relative 'picky/sinatra'

  # This is only used in the classic project style.
  #
  class << self
    attr_accessor :logger
  end
  
  self.logger = Loggers::Default

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
picky-4.3.2 lib/picky.rb
picky-4.3.1 lib/picky.rb
picky-4.3.0 lib/picky.rb
picky-4.2.4 lib/picky.rb