lib/tracker_api.rb in tracker_api-0.2.12 vs lib/tracker_api.rb in tracker_api-1.0.0
- old
+ new
@@ -1,19 +1,20 @@
require 'tracker_api/version'
# dependencies
-require 'virtus'
require 'faraday'
require 'faraday_middleware'
+
if defined?(ActiveSupport)
require 'active_support/core_ext/object/blank'
else
require 'core_ext/object/blank'
end
require 'equalizer'
-require 'representable/json'
+
require 'multi_json'
+require 'representable/json'
# stdlib
require 'addressable/uri'
require 'forwardable'
require 'logger'
@@ -49,10 +50,11 @@
autoload :Comments, 'tracker_api/endpoints/comments'
end
module Resources
module Shared
- autoload :HasId, 'tracker_api/resources/shared/has_id'
+ autoload :Base, 'tracker_api/resources/shared/base'
+ autoload :Collection, 'tracker_api/resources/shared/collection'
end
autoload :Activity, 'tracker_api/resources/activity'
autoload :Account, 'tracker_api/resources/account'
autoload :Change, 'tracker_api/resources/change'
autoload :Epic, 'tracker_api/resources/epic'