social_stream-base 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,9 +29,11 @@ class ObjectActors < ActiveRecord::Migration
29
29
  a.author = author
30
30
  a.user_author = user_author
31
31
  else
32
+ next if a.post_activity.blank?
33
+
32
34
  a.author = a.post_activity.sender
33
35
  a.owner = a.post_activity.receiver
34
- a.user_author = (a.author.is_a?(User) ? a.author : a.author.sent_ties.order(:created_at).first.receiver)
36
+ a.user_author = (a.author.subject.is_a?(User) ? a.author : a.author.sent_ties.order(:created_at).first.receiver)
35
37
  end
36
38
 
37
39
  a.save!
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Base
3
- VERSION = "0.10.0".freeze
3
+ VERSION = "0.10.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-base
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 0
10
- version: 0.10.0
9
+ - 1
10
+ version: 0.10.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - GING - DIT - UPM