social_stream-base 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/models/actor.rb +2 -1
- data/app/models/contact.rb +6 -3
- data/lib/social_stream/base/version.rb +1 -1
- data/social_stream-base.gemspec +1 -1
- metadata +6 -6
data/app/models/actor.rb
CHANGED
data/app/models/contact.rb
CHANGED
@@ -25,10 +25,13 @@ class Contact < ActiveRecord::Base
|
|
25
25
|
belongs_to :receiver,
|
26
26
|
:class_name => "Actor"
|
27
27
|
|
28
|
-
has_many :ties
|
29
|
-
|
28
|
+
has_many :ties,
|
29
|
+
:dependent => :destroy
|
30
|
+
has_many :relations,
|
31
|
+
:through => :ties
|
30
32
|
|
31
|
-
has_many :activities
|
33
|
+
has_many :activities,
|
34
|
+
:dependent => :destroy
|
32
35
|
|
33
36
|
scope :sent_by, lambda { |a|
|
34
37
|
where(:sender_id => Actor.normalize_id(a))
|
data/social_stream-base.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
# CRUD controllers
|
24
24
|
s.add_runtime_dependency('inherited_resources', '~> 1.3.0')
|
25
25
|
# Slug generation
|
26
|
-
s.add_runtime_dependency('stringex', '~> 1.
|
26
|
+
s.add_runtime_dependency('stringex', '~> 1.3.0')
|
27
27
|
# Avatar attachments
|
28
28
|
s.add_runtime_dependency('avatars_for_rails', '~> 0.1.3')
|
29
29
|
# jQuery
|
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:
|
4
|
+
hash: 59
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 2
|
10
|
+
version: 0.8.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- GING - DIT - UPM
|
@@ -107,12 +107,12 @@ dependencies:
|
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
110
|
+
hash: 27
|
111
111
|
segments:
|
112
112
|
- 1
|
113
|
-
-
|
113
|
+
- 3
|
114
114
|
- 0
|
115
|
-
version: 1.
|
115
|
+
version: 1.3.0
|
116
116
|
type: :runtime
|
117
117
|
version_requirements: *id006
|
118
118
|
- !ruby/object:Gem::Dependency
|