Stream 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stream/fires.rb +2 -1
- data/stream.gemspec +1 -1
- metadata +1 -1
data/lib/stream/fires.rb
CHANGED
@@ -51,6 +51,7 @@ module Stream
|
|
51
51
|
activity.photos << activity.subject
|
52
52
|
activity.save
|
53
53
|
p.activity_items << activity
|
54
|
+
send(:"after_#{opts[:on]}", method_name, :if => opts[:if])
|
54
55
|
end
|
55
56
|
else
|
56
57
|
last_activity.photos << activity.subject
|
@@ -58,11 +59,11 @@ module Stream
|
|
58
59
|
else
|
59
60
|
activity.save
|
60
61
|
([activity.actor] + activity.actor.contacts).each{|p| p.activity_items << activity }
|
62
|
+
send(:"after_#{opts[:on]}", method_name, :if => opts[:if])
|
61
63
|
end
|
62
64
|
end
|
63
65
|
end
|
64
66
|
|
65
|
-
send(:"after_#{opts[:on]}", method_name, :if => opts[:if])
|
66
67
|
end
|
67
68
|
end
|
68
69
|
end
|
data/stream.gemspec
CHANGED