lib/aqua.rb in aqua-0.1.6 vs lib/aqua.rb in aqua-0.2.0
- old
+ new
@@ -1,23 +1,22 @@
# DEPENDENCIES -------------------------------------
# require gems
require 'rubygems'
-require 'ruby2ruby'
require 'mime/types'
+
# Pick your json poison. Just make sure that in adds the JSON constant
unless defined?(JSON)
begin
require 'json'
rescue LoadError
raise LoadError, "JSON constant not found. Please install a JSON library"
end
end
-# There is also a dependency on the http_client of your choosing. Currently only ...
-# require 'rest_client'
-# It is required when a libarary is configured. If the library is not configured then it will
-# automatically load the default: rest_client
+# This is temporary until someone comes along creating another http_client library adapter.
+require 'rest_client'
+
# standard libraries
require 'cgi'
require 'time'
require 'ostruct'
require 'tempfile'
@@ -29,11 +28,10 @@
require 'aqua/support/string_extensions'
# storage
require 'aqua/store/storage'
# object methods
require 'aqua/object/tank'
- # a little more monkey patching for object packaging
-require 'aqua/support/initializers'
+require 'aqua/object/initializers'
# LIBRARY SETUP -----------------------------------
module Aqua
class ObjectNotFound < IOError; end