TODO in streamit-0.0.5 vs TODO in streamit-0.0.6

- old
+ new

@@ -1,35 +1,4 @@ TODO: -- use background job like tool to process creating of streams -- customizable views -- cleanup old streams -- add more detailed documentation -class Streamit::Stream < ActiveRecord::Base - belongs_to :actor, :polymorphic => true - belongs_to :subject, :polymorphic => true - belongs_to :receiver, :polymorphic => true -end - -# "he9lin started watching auction ipad 001 a minute ago" -# -# en: -# streamit: -# watching: -# create: "started watching" - -class Watching < ActiveRecord::Base - belongs_to :watcher, :class_name => "User", :foreign_key => "user_id" - belongs_to :watched_item, :class_name => "Item", :foreign_key => "item_id" - - stream :create, :actor => :watcher, - :receiver => :watched_item -end - -# "he9lin just edited profile image just now" -# -# stream: -# stream_type: 'user.update.image_url' -# -class User < ActiveRecord::Base - stream :update, :attributes => :image_url -end +Support json format +Refactor \ No newline at end of file