lib/highrise.rb in peterosullivan-highrise-3.0.6 vs lib/highrise.rb in peterosullivan-highrise-3.0.7
- old
+ new
@@ -1,24 +1,35 @@
-require 'highrise/base'
-require 'highrise/pagination'
-require 'highrise/taggable'
-require 'highrise/searchable'
-require 'highrise/subject_data'
-require 'highrise/subject'
-require 'highrise/comment'
-require 'highrise/company'
-require 'highrise/email'
-require 'highrise/group'
-require 'highrise/kase'
-require 'highrise/membership'
-require 'highrise/note'
-require 'highrise/person'
-require 'highrise/task'
-require 'highrise/user'
-require 'highrise/tag'
-require 'highrise/deal'
-require 'highrise/account'
-require 'highrise/deal_category'
-require 'highrise/task_category'
-require 'highrise/party'
-require 'highrise/recording'
+%w[
+ base
+ version
+ rfc822
+
+ pagination
+ taggable
+ searchable
+ has_subject_data
+
+ subject
+
+ comment
+ company
+ email
+ group
+ kase
+ membership
+ note
+ person
+ task
+ user
+ tag
+ deal
+ account
+ deal_category
+ task_category
+ party
+ recording
+ subject_field
+ subject_data
+].each do |lib|
+ require File.join(File.dirname(__FILE__), 'highrise', lib)
+end