Stream 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stream/fires.rb +3 -2
- data/stream.gemspec +1 -1
- metadata +1 -1
data/lib/stream/fires.rb
CHANGED
@@ -30,11 +30,12 @@ module Stream
|
|
30
30
|
end
|
31
31
|
memo
|
32
32
|
end
|
33
|
-
|
33
|
+
|
34
|
+
create_options[:activity_type] = activity_type.to_s
|
34
35
|
|
35
36
|
transaction do
|
36
37
|
activity = ActivityItem.create!(create_options)
|
37
|
-
([
|
38
|
+
([actor] + actor.contacts).each{ |p| p.activity_items << activity }
|
38
39
|
end
|
39
40
|
end
|
40
41
|
|
data/stream.gemspec
CHANGED