lib/tracker_api.rb in tracker_api-0.2.10 vs lib/tracker_api.rb in tracker_api-0.2.11

- old
+ new

@@ -2,11 +2,15 @@ # dependencies require 'virtus' require 'faraday' require 'faraday_middleware' -require 'core_ext/object/blank' +if defined?(ActiveSupport) + require 'active_support/core_ext/object/blank' +else + require 'core_ext/object/blank' +end require 'equalizer' require 'representable/json' require 'oj' # stdlib @@ -36,16 +40,19 @@ autoload :Notifications, 'tracker_api/endpoints/notifications' autoload :Project, 'tracker_api/endpoints/project' autoload :Projects, 'tracker_api/endpoints/projects' autoload :Stories, 'tracker_api/endpoints/stories' autoload :Story, 'tracker_api/endpoints/story' + autoload :StoryOwners, 'tracker_api/endpoints/story_owners' autoload :Task, 'tracker_api/endpoints/task' autoload :Tasks, 'tracker_api/endpoints/tasks' autoload :Comments, 'tracker_api/endpoints/comments' end module Resources - autoload :Base, 'tracker_api/resources/base' + module Shared + autoload :HasId, 'tracker_api/resources/shared/has_id' + 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' autoload :Iteration, 'tracker_api/resources/iteration'