Sha256: a750ea59d476bb01c7f2fea9d96fd83b1c73383b28f02acb3e182d1481450437

Contents?: true

Size: 804 Bytes

Versions: 29

Compression:

Stored size: 804 Bytes

Contents

module Picky

  # External libraries.
  #
  require 'active_support/core_ext'
  require 'text'
  require 'yajl' # TODO Maybe replace by multi_json.
  require 'rack' # TODO Remove.
  require 'rack_fast_escape' # TODO Remove.

  # Require the constants.
  #
  require ::File.expand_path '../picky/constants', __FILE__

  # Loader which handles framework and app loading.
  #
  require ::File.expand_path '../picky/loader', __FILE__

  # Load the framework
  #
  Loader.load_framework
  puts "Loaded picky with environment '#{PICKY_ENVIRONMENT}' in #{PICKY_ROOT} on Ruby #{RUBY_VERSION}."

  # Check if delegators need to be installed.
  #
  require ::File.expand_path '../picky/sinatra', __FILE__

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

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
picky-3.6.16 lib/picky.rb
picky-3.6.15 lib/picky.rb
picky-3.6.14 lib/picky.rb
picky-3.6.13 lib/picky.rb
picky-3.6.12 lib/picky.rb
picky-3.6.11 lib/picky.rb
picky-3.6.10 lib/picky.rb
picky-3.6.9 lib/picky.rb
picky-3.6.8 lib/picky.rb
picky-3.6.7 lib/picky.rb
picky-3.6.6 lib/picky.rb
picky-3.6.4 lib/picky.rb
picky-3.6.3 lib/picky.rb
picky-3.6.2 lib/picky.rb
picky-3.6.1 lib/picky.rb
picky-3.6.0 lib/picky.rb
picky-3.5.4 lib/picky.rb
picky-3.5.3 lib/picky.rb
picky-3.5.2 lib/picky.rb
picky-3.5.1 lib/picky.rb