lib/grape.rb in grape-0.3.2 vs lib/grape.rb in grape-0.4.0
- old
+ new
@@ -4,11 +4,12 @@
require 'rack/builder'
require 'rack/accept'
require 'rack/auth/basic'
require 'rack/auth/digest/md5'
require 'hashie'
-require 'active_support/all'
+require 'active_support/core_ext/hash/indifferent_access'
+require 'active_support/ordered_hash'
require 'grape/util/deep_merge'
require 'grape/util/content_types'
require 'multi_json'
require 'multi_xml'
require 'virtus'
@@ -18,9 +19,10 @@
module Grape
autoload :API, 'grape/api'
autoload :Endpoint, 'grape/endpoint'
autoload :Route, 'grape/route'
+ autoload :Namespace, 'grape/namespace'
autoload :Cookies, 'grape/cookies'
autoload :Validations, 'grape/validations'
module Exceptions
autoload :Base, 'grape/exceptions/base'