lib/picky.rb in picky-3.2.0 vs lib/picky.rb in picky-3.3.0
- old
+ new
@@ -1,21 +1,14 @@
module Picky
- # This is only used in the classic project style.
- #
- class << self
- attr_accessor :logger
- end
-
# External libraries.
#
- require 'rack'
- require 'rack_fast_escape'
- require 'text'
- require 'yajl'
require 'active_support/core_ext'
- require 'active_record'
+ 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__
@@ -29,7 +22,13 @@
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
\ No newline at end of file