social_stream 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/api_controller.rb +1 -1
- data/app/controllers/contacts_controller.rb +1 -1
- data/app/controllers/conversations_controller.rb +5 -5
- data/app/controllers/groups_controller.rb +1 -0
- data/app/controllers/likes_controller.rb +17 -5
- data/app/controllers/messages_controller.rb +3 -1
- data/app/controllers/profiles_controller.rb +4 -0
- data/app/controllers/representations_controller.rb +12 -1
- data/app/controllers/tags_controller.rb +15 -0
- data/app/controllers/users_controller.rb +3 -0
- data/app/helpers/activities_helper.rb +13 -6
- data/app/models/activity.rb +53 -52
- data/app/models/activity_object.rb +2 -0
- data/app/models/actor.rb +85 -19
- data/app/models/avatar.rb +2 -1
- data/app/models/like.rb +28 -13
- data/app/models/permission.rb +7 -7
- data/app/models/profile.rb +1 -1
- data/app/models/relation/custom.rb +111 -0
- data/app/models/relation/public.rb +42 -0
- data/app/models/relation.rb +1 -89
- data/app/models/sphere.rb +7 -0
- data/app/models/tie.rb +65 -52
- data/app/models/tie_activity.rb +38 -0
- data/app/views/activities/_new.html.erb +4 -4
- data/app/views/activities/_options.html.erb +2 -2
- data/app/views/actors/_actor.html.erb +0 -0
- data/app/views/avatars/index.html.erb +5 -2
- data/app/views/comments/_new.html.erb +2 -2
- data/app/views/contacts/index.html.erb +5 -1
- data/app/views/conversations/edit.html.erb +4 -0
- data/app/views/conversations/index.html.erb +5 -1
- data/app/views/conversations/show.html.erb +4 -0
- data/app/views/frontpage/index.html.erb +4 -0
- data/app/views/groups/_sidebar_index.html.erb +7 -42
- data/app/views/groups/index.html.erb +3 -0
- data/app/views/groups/new.html.erb +3 -0
- data/app/views/groups/show.html.erb +7 -0
- data/app/views/layouts/_account.html.erb +16 -0
- data/app/views/layouts/_footer.html.erb +1 -1
- data/app/views/layouts/_header.erb +7 -22
- data/app/views/layouts/_representation.html.erb +25 -12
- data/app/views/layouts/application.html.erb +6 -3
- data/app/views/layouts/frontpage.html.erb +1 -1
- data/app/views/likes/create.js.erb +1 -1
- data/app/views/likes/destroy.js.erb +1 -1
- data/app/views/messages/new.html.erb +7 -5
- data/app/views/profiles/_profile.html.erb +20 -0
- data/app/views/profiles/edit.html.erb +42 -0
- data/app/views/profiles/show.html.erb +4 -0
- data/app/views/profiles/update.js.erb +5 -0
- data/app/views/subjects/_toolbar_profile_menu_tie_options.html.erb +3 -1
- data/app/views/ties/_new.html.erb +1 -1
- data/app/views/users/index.html.erb +4 -0
- data/app/views/users/show.html.erb +5 -0
- data/config/locales/en.yml +54 -1
- data/config/routes.rb +3 -1
- data/lib/generators/social_stream/install_generator.rb +2 -1
- data/lib/generators/social_stream/templates/migration.rb +23 -27
- data/lib/generators/social_stream/templates/public/images/btn/error.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/info.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/like.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/nolike.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/success.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/warning.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ajax.paginate.js +12 -19
- data/lib/generators/social_stream/templates/public/javascripts/jquery.validate.js +1 -1
- data/lib/generators/social_stream/templates/public/javascripts/main.js +20 -10
- data/lib/generators/social_stream/templates/public/stylesheets/default/base.css +21 -4
- data/lib/generators/social_stream/templates/public/stylesheets/default/header.css +8 -3
- data/lib/generators/social_stream/templates/relations.yml +7 -13
- data/lib/social_stream/ability.rb +39 -20
- data/lib/social_stream/controllers/helpers.rb +6 -0
- data/lib/social_stream/models/object.rb +8 -4
- data/lib/social_stream/models/subject.rb +6 -0
- data/lib/social_stream/rails.rb +6 -3
- data/lib/social_stream/version.rb +1 -1
- data/lib/tasks/db/populate.rake +11 -1
- data/social_stream.gemspec +7 -8
- data/spec/controllers/comments_controller_spec.rb +6 -2
- data/spec/controllers/posts_controller_spec.rb +93 -5
- data/spec/controllers/profiles_controller_spec.rb +58 -1
- data/spec/controllers/representations_controller_spec.rb +51 -0
- data/spec/controllers/users_controller_spec.rb +28 -0
- data/spec/dummy/config/relations.yml +7 -13
- data/spec/dummy/db/schema.rb +2 -13
- data/spec/factories/tie.rb +1 -1
- data/spec/models/activity_spec.rb +28 -67
- data/spec/models/profile_spec.rb +38 -0
- data/spec/models/tie_activity_spec.rb +88 -31
- data/spec/models/tie_spec.rb +20 -14
- data/spec/support/db.rb +8 -10
- data/spec/support/migrations.rb +24 -0
- metadata +74 -59
data/spec/models/tie_spec.rb
CHANGED
@@ -9,14 +9,16 @@ describe Tie do
|
|
9
9
|
it "should be created from relation name" do
|
10
10
|
relation = @sender.relations.first
|
11
11
|
|
12
|
-
tie = Tie.create
|
12
|
+
tie = Tie.create :sender_id => @sender.actor_id,
|
13
13
|
:receiver_id => @receiver.actor_id,
|
14
|
-
:relation_name => relation.name
|
14
|
+
:relation_name => relation.name
|
15
15
|
|
16
16
|
tie.should_not be_new_record
|
17
17
|
end
|
18
18
|
|
19
19
|
it "should be created from relation_name and permissions" do
|
20
|
+
pending "Redesign forms"
|
21
|
+
|
20
22
|
tie = Tie.create :sender_id => @sender.actor_id,
|
21
23
|
:receiver_id => @receiver.actor_id,
|
22
24
|
:relation_name => "new relation",
|
@@ -28,6 +30,22 @@ describe Tie do
|
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
33
|
+
context "replied" do
|
34
|
+
before do
|
35
|
+
@sent = Factory(:friend)
|
36
|
+
@received = Factory(:friend,
|
37
|
+
:sender_id => @sent.receiver_id,
|
38
|
+
:receiver_id => @sent.sender_id)
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should be found by scopes" do
|
42
|
+
Tie.replied.should include(@sent)
|
43
|
+
Tie.replied.should include(@received)
|
44
|
+
Tie.replying(@sent).should include(@received)
|
45
|
+
Tie.replying(@received).should include(@sent)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
31
49
|
describe "friend" do
|
32
50
|
before do
|
33
51
|
@tie = Factory(:friend)
|
@@ -50,12 +68,10 @@ describe Tie do
|
|
50
68
|
|
51
69
|
it "creates activity" do
|
52
70
|
Tie.allowing(@s, 'create', 'activity').should include(@tie)
|
53
|
-
Tie.allowing(@s, 'create', 'activity').should_not include(@tie.related('public'))
|
54
71
|
end
|
55
72
|
|
56
73
|
it "reads activity" do
|
57
74
|
Tie.allowing(@s, 'read', 'activity').should include(@tie)
|
58
|
-
Tie.allowing(@s, 'read', 'activity').should include(@tie.related('public'))
|
59
75
|
end
|
60
76
|
end
|
61
77
|
|
@@ -66,12 +82,10 @@ describe Tie do
|
|
66
82
|
|
67
83
|
it "creates activity" do
|
68
84
|
Tie.allowing(@s, 'create', 'activity').should_not include(@tie)
|
69
|
-
Tie.allowing(@s, 'create', 'activity').should_not include(@tie.related('public'))
|
70
85
|
end
|
71
86
|
|
72
87
|
it "reads activity" do
|
73
88
|
Tie.allowing(@s, 'read', 'activity').should include(@tie)
|
74
|
-
Tie.allowing(@s, 'read', 'activity').should include(@tie.related('public'))
|
75
89
|
end
|
76
90
|
end
|
77
91
|
|
@@ -82,12 +96,10 @@ describe Tie do
|
|
82
96
|
|
83
97
|
it "creates activity" do
|
84
98
|
Tie.allowing(@s, 'create', 'activity').should_not include(@tie)
|
85
|
-
Tie.allowing(@s, 'create', 'activity').should_not include(@tie.related('public'))
|
86
99
|
end
|
87
100
|
|
88
101
|
it "reads activity" do
|
89
102
|
Tie.allowing(@s, 'read', 'activity').should_not include(@tie)
|
90
|
-
# Tie.allowing(@s, 'read', 'activity').should_not include(@tie.related('public'))
|
91
103
|
end
|
92
104
|
end
|
93
105
|
|
@@ -98,12 +110,10 @@ describe Tie do
|
|
98
110
|
|
99
111
|
it "creates activity" do
|
100
112
|
Tie.allowing(@s, 'create', 'activity').should_not include(@tie)
|
101
|
-
Tie.allowing(@s, 'create', 'activity').should_not include(@tie.related('public'))
|
102
113
|
end
|
103
114
|
|
104
115
|
it "reads activity" do
|
105
116
|
Tie.allowing(@s, 'read', 'activity').should_not include(@tie)
|
106
|
-
Tie.allowing(@s, 'read', 'activity').should include(@tie.related('public'))
|
107
117
|
end
|
108
118
|
end
|
109
119
|
end
|
@@ -120,7 +130,6 @@ describe Tie do
|
|
120
130
|
|
121
131
|
it "updates activity" do
|
122
132
|
Tie.allowing(@s, 'update', 'activity').should include(@tie)
|
123
|
-
Tie.allowing(@s, 'update', 'activity').should include(@tie.related('public'))
|
124
133
|
end
|
125
134
|
end
|
126
135
|
|
@@ -131,17 +140,14 @@ describe Tie do
|
|
131
140
|
|
132
141
|
it "creates activity" do
|
133
142
|
Tie.allowing(@s, 'create', 'activity').should_not include(@tie)
|
134
|
-
Tie.allowing(@s, 'create', 'activity').should_not include(@tie.related('public'))
|
135
143
|
end
|
136
144
|
|
137
145
|
it "reads activity" do
|
138
146
|
Tie.allowing(@s, 'read', 'activity').should include(@tie)
|
139
|
-
Tie.allowing(@s, 'read', 'activity').should include(@tie.related('public'))
|
140
147
|
end
|
141
148
|
|
142
149
|
it "updates activity" do
|
143
150
|
Tie.allowing(@s, 'update', 'activity').should include(@tie)
|
144
|
-
Tie.allowing(@s, 'update', 'activity').should include(@tie.related('public'))
|
145
151
|
end
|
146
152
|
end
|
147
153
|
end
|
data/spec/support/db.rb
CHANGED
@@ -1,15 +1,12 @@
|
|
1
|
-
|
2
|
-
require File.join(Rails.root, File.join('..', '..', 'lib', 'generators', 'social_stream', 'templates', 'migration'))
|
1
|
+
require File.join(File.dirname(__FILE__), 'migrations')
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
File.join('generators', 'mailboxer', 'templates', 'migration')).first
|
10
|
-
require mailboxer_migration
|
3
|
+
begin
|
4
|
+
ActsAsTaggableOnMigration.down
|
5
|
+
rescue
|
6
|
+
puts "WARNING: ActsAsTaggableOnMigration failed to rollback"
|
7
|
+
end
|
11
8
|
|
12
|
-
%w(
|
9
|
+
%w(SocialStream Mailboxer).each do |m|
|
13
10
|
begin
|
14
11
|
"Create#{ m }".constantize.down
|
15
12
|
rescue
|
@@ -19,5 +16,6 @@ end
|
|
19
16
|
|
20
17
|
CreateMailboxer.up
|
21
18
|
CreateSocialStream.up
|
19
|
+
ActsAsTaggableOnMigration.up
|
22
20
|
|
23
21
|
require File.expand_path("../../dummy/db/seeds", __FILE__)
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Social Stream migration template
|
2
|
+
social_stream_migration =
|
3
|
+
File.join(File.dirname(__FILE__), '..', '..', 'lib', 'generators', 'social_stream', 'templates', 'migration')
|
4
|
+
|
5
|
+
require social_stream_migration
|
6
|
+
|
7
|
+
# Adding acts_as_taggable_on
|
8
|
+
finder = Gem::GemPathSearcher.new
|
9
|
+
taggable_spec = finder.find('acts-as-taggable-on')
|
10
|
+
taggable_migration = finder.matching_files(taggable_spec,
|
11
|
+
File.join("generators","acts_as_taggable_on","migration","templates","active_record","migration")).first
|
12
|
+
|
13
|
+
require taggable_migration
|
14
|
+
|
15
|
+
# Mailboxer migration template
|
16
|
+
finder = Gem::GemPathSearcher.new
|
17
|
+
mailboxer_spec = finder.find('mailboxer')
|
18
|
+
mailboxer_migration =
|
19
|
+
finder.matching_files(mailboxer_spec,
|
20
|
+
File.join('generators', 'mailboxer', 'templates', 'migration')).first
|
21
|
+
|
22
|
+
require mailboxer_migration
|
23
|
+
|
24
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 4
|
10
|
+
version: 0.4.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- GING - DIT - UPM
|
@@ -16,45 +16,29 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-04-
|
19
|
+
date: 2011-04-19 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
-
name:
|
23
|
+
name: ancestry
|
24
24
|
prerelease: false
|
25
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
|
-
requirements:
|
28
|
-
- - "="
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
hash: 27
|
31
|
-
segments:
|
32
|
-
- 1
|
33
|
-
- 3
|
34
|
-
- 0
|
35
|
-
version: 1.3.0
|
36
|
-
type: :runtime
|
37
|
-
version_requirements: *id001
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: nested_set
|
40
|
-
prerelease: false
|
41
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
42
26
|
none: false
|
43
27
|
requirements:
|
44
28
|
- - ~>
|
45
29
|
- !ruby/object:Gem::Version
|
46
|
-
hash:
|
30
|
+
hash: 25
|
47
31
|
segments:
|
48
32
|
- 1
|
49
|
-
-
|
33
|
+
- 2
|
50
34
|
- 3
|
51
|
-
version: 1.
|
35
|
+
version: 1.2.3
|
52
36
|
type: :runtime
|
53
|
-
version_requirements: *
|
37
|
+
version_requirements: *id001
|
54
38
|
- !ruby/object:Gem::Dependency
|
55
39
|
name: foreigner
|
56
40
|
prerelease: false
|
57
|
-
requirement: &
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
58
42
|
none: false
|
59
43
|
requirements:
|
60
44
|
- - ~>
|
@@ -66,11 +50,11 @@ dependencies:
|
|
66
50
|
- 1
|
67
51
|
version: 0.9.1
|
68
52
|
type: :runtime
|
69
|
-
version_requirements: *
|
53
|
+
version_requirements: *id002
|
70
54
|
- !ruby/object:Gem::Dependency
|
71
55
|
name: devise
|
72
56
|
prerelease: false
|
73
|
-
requirement: &
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
74
58
|
none: false
|
75
59
|
requirements:
|
76
60
|
- - ~>
|
@@ -82,11 +66,11 @@ dependencies:
|
|
82
66
|
- rc
|
83
67
|
version: 1.2.rc
|
84
68
|
type: :runtime
|
85
|
-
version_requirements: *
|
69
|
+
version_requirements: *id003
|
86
70
|
- !ruby/object:Gem::Dependency
|
87
71
|
name: inherited_resources
|
88
72
|
prerelease: false
|
89
|
-
requirement: &
|
73
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
90
74
|
none: false
|
91
75
|
requirements:
|
92
76
|
- - ~>
|
@@ -98,11 +82,11 @@ dependencies:
|
|
98
82
|
- 2
|
99
83
|
version: 1.1.2
|
100
84
|
type: :runtime
|
101
|
-
version_requirements: *
|
85
|
+
version_requirements: *id004
|
102
86
|
- !ruby/object:Gem::Dependency
|
103
87
|
name: stringex
|
104
88
|
prerelease: false
|
105
|
-
requirement: &
|
89
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
106
90
|
none: false
|
107
91
|
requirements:
|
108
92
|
- - ~>
|
@@ -114,11 +98,11 @@ dependencies:
|
|
114
98
|
- 0
|
115
99
|
version: 1.2.0
|
116
100
|
type: :runtime
|
117
|
-
version_requirements: *
|
101
|
+
version_requirements: *id005
|
118
102
|
- !ruby/object:Gem::Dependency
|
119
103
|
name: paperclip
|
120
104
|
prerelease: false
|
121
|
-
requirement: &
|
105
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
122
106
|
none: false
|
123
107
|
requirements:
|
124
108
|
- - ~>
|
@@ -130,11 +114,11 @@ dependencies:
|
|
130
114
|
- 4
|
131
115
|
version: 2.3.4
|
132
116
|
type: :runtime
|
133
|
-
version_requirements: *
|
117
|
+
version_requirements: *id006
|
134
118
|
- !ruby/object:Gem::Dependency
|
135
119
|
name: jquery-rails
|
136
120
|
prerelease: false
|
137
|
-
requirement: &
|
121
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
138
122
|
none: false
|
139
123
|
requirements:
|
140
124
|
- - ~>
|
@@ -146,27 +130,27 @@ dependencies:
|
|
146
130
|
- 5
|
147
131
|
version: 0.2.5
|
148
132
|
type: :runtime
|
149
|
-
version_requirements: *
|
133
|
+
version_requirements: *id007
|
150
134
|
- !ruby/object:Gem::Dependency
|
151
135
|
name: cancan
|
152
136
|
prerelease: false
|
153
|
-
requirement: &
|
137
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
154
138
|
none: false
|
155
139
|
requirements:
|
156
140
|
- - ~>
|
157
141
|
- !ruby/object:Gem::Version
|
158
|
-
hash:
|
142
|
+
hash: 7
|
159
143
|
segments:
|
160
144
|
- 1
|
161
145
|
- 6
|
162
|
-
-
|
163
|
-
version: 1.6.
|
146
|
+
- 4
|
147
|
+
version: 1.6.4
|
164
148
|
type: :runtime
|
165
|
-
version_requirements: *
|
149
|
+
version_requirements: *id008
|
166
150
|
- !ruby/object:Gem::Dependency
|
167
151
|
name: will_paginate
|
168
152
|
prerelease: false
|
169
|
-
requirement: &
|
153
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
170
154
|
none: false
|
171
155
|
requirements:
|
172
156
|
- - ~>
|
@@ -178,11 +162,11 @@ dependencies:
|
|
178
162
|
- pre2
|
179
163
|
version: 3.0.pre2
|
180
164
|
type: :runtime
|
181
|
-
version_requirements: *
|
165
|
+
version_requirements: *id009
|
182
166
|
- !ruby/object:Gem::Dependency
|
183
167
|
name: omniauth
|
184
168
|
prerelease: false
|
185
|
-
requirement: &
|
169
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
186
170
|
none: false
|
187
171
|
requirements:
|
188
172
|
- - ~>
|
@@ -195,11 +179,11 @@ dependencies:
|
|
195
179
|
- beta5
|
196
180
|
version: 0.2.0.beta5
|
197
181
|
type: :runtime
|
198
|
-
version_requirements: *
|
182
|
+
version_requirements: *id010
|
199
183
|
- !ruby/object:Gem::Dependency
|
200
184
|
name: oauth-plugin
|
201
185
|
prerelease: false
|
202
|
-
requirement: &
|
186
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
203
187
|
none: false
|
204
188
|
requirements:
|
205
189
|
- - ~>
|
@@ -212,11 +196,11 @@ dependencies:
|
|
212
196
|
- pre1
|
213
197
|
version: 0.4.0.pre1
|
214
198
|
type: :runtime
|
215
|
-
version_requirements: *
|
199
|
+
version_requirements: *id011
|
216
200
|
- !ruby/object:Gem::Dependency
|
217
201
|
name: rails_css_themes
|
218
202
|
prerelease: false
|
219
|
-
requirement: &
|
203
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
220
204
|
none: false
|
221
205
|
requirements:
|
222
206
|
- - ~>
|
@@ -228,27 +212,27 @@ dependencies:
|
|
228
212
|
- 0
|
229
213
|
version: 1.0.0
|
230
214
|
type: :runtime
|
231
|
-
version_requirements: *
|
215
|
+
version_requirements: *id012
|
232
216
|
- !ruby/object:Gem::Dependency
|
233
217
|
name: mailboxer
|
234
218
|
prerelease: false
|
235
|
-
requirement: &
|
219
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
236
220
|
none: false
|
237
221
|
requirements:
|
238
222
|
- - ~>
|
239
223
|
- !ruby/object:Gem::Version
|
240
|
-
hash:
|
224
|
+
hash: 63
|
241
225
|
segments:
|
242
226
|
- 0
|
243
227
|
- 0
|
244
|
-
-
|
245
|
-
version: 0.0.
|
228
|
+
- 16
|
229
|
+
version: 0.0.16
|
246
230
|
type: :runtime
|
247
|
-
version_requirements: *
|
231
|
+
version_requirements: *id013
|
248
232
|
- !ruby/object:Gem::Dependency
|
249
233
|
name: rmagick
|
250
234
|
prerelease: false
|
251
|
-
requirement: &
|
235
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
252
236
|
none: false
|
253
237
|
requirements:
|
254
238
|
- - ~>
|
@@ -260,6 +244,22 @@ dependencies:
|
|
260
244
|
- 1
|
261
245
|
version: 2.13.1
|
262
246
|
type: :runtime
|
247
|
+
version_requirements: *id014
|
248
|
+
- !ruby/object:Gem::Dependency
|
249
|
+
name: acts-as-taggable-on
|
250
|
+
prerelease: false
|
251
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
252
|
+
none: false
|
253
|
+
requirements:
|
254
|
+
- - ~>
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
hash: 3
|
257
|
+
segments:
|
258
|
+
- 2
|
259
|
+
- 0
|
260
|
+
- 6
|
261
|
+
version: 2.0.6
|
262
|
+
type: :runtime
|
263
263
|
version_requirements: *id015
|
264
264
|
- !ruby/object:Gem::Dependency
|
265
265
|
name: rails
|
@@ -269,12 +269,12 @@ dependencies:
|
|
269
269
|
requirements:
|
270
270
|
- - ~>
|
271
271
|
- !ruby/object:Gem::Version
|
272
|
-
hash:
|
272
|
+
hash: 9
|
273
273
|
segments:
|
274
274
|
- 3
|
275
275
|
- 0
|
276
|
-
-
|
277
|
-
version: 3.0.
|
276
|
+
- 7
|
277
|
+
version: 3.0.7
|
278
278
|
type: :development
|
279
279
|
version_requirements: *id016
|
280
280
|
- !ruby/object:Gem::Dependency
|
@@ -436,6 +436,7 @@ files:
|
|
436
436
|
- app/controllers/profiles_controller.rb
|
437
437
|
- app/controllers/representations_controller.rb
|
438
438
|
- app/controllers/subjects_controller.rb
|
439
|
+
- app/controllers/tags_controller.rb
|
439
440
|
- app/controllers/ties_controller.rb
|
440
441
|
- app/controllers/users_controller.rb
|
441
442
|
- app/helpers/activities_helper.rb
|
@@ -460,8 +461,11 @@ files:
|
|
460
461
|
- app/models/post.rb
|
461
462
|
- app/models/profile.rb
|
462
463
|
- app/models/relation.rb
|
464
|
+
- app/models/relation/custom.rb
|
465
|
+
- app/models/relation/public.rb
|
463
466
|
- app/models/relation_permission.rb
|
464
467
|
- app/models/representation.rb
|
468
|
+
- app/models/sphere.rb
|
465
469
|
- app/models/tie.rb
|
466
470
|
- app/models/tie_activity.rb
|
467
471
|
- app/models/user.rb
|
@@ -476,6 +480,7 @@ files:
|
|
476
480
|
- app/views/activities/_walls.html.erb
|
477
481
|
- app/views/activities/index.js.erb
|
478
482
|
- app/views/activity_objects/_activity_object.html.erb
|
483
|
+
- app/views/actors/_actor.html.erb
|
479
484
|
- app/views/api/activity_atom_feed.atom.builder
|
480
485
|
- app/views/avatars/_form.html.erb
|
481
486
|
- app/views/avatars/_precrop.html.erb
|
@@ -526,6 +531,7 @@ files:
|
|
526
531
|
- app/views/home/_menu.html.erb
|
527
532
|
- app/views/home/_sidebar.html.erb
|
528
533
|
- app/views/home/index.html.erb
|
534
|
+
- app/views/layouts/_account.html.erb
|
529
535
|
- app/views/layouts/_footer.html.erb
|
530
536
|
- app/views/layouts/_header.erb
|
531
537
|
- app/views/layouts/_representation.html.erb
|
@@ -643,14 +649,17 @@ files:
|
|
643
649
|
- lib/generators/social_stream/templates/public/images/btn/close.png
|
644
650
|
- lib/generators/social_stream/templates/public/images/btn/date.png
|
645
651
|
- lib/generators/social_stream/templates/public/images/btn/edit.png
|
652
|
+
- lib/generators/social_stream/templates/public/images/btn/error.png
|
646
653
|
- lib/generators/social_stream/templates/public/images/btn/facebook.png
|
647
654
|
- lib/generators/social_stream/templates/public/images/btn/flag.png
|
648
655
|
- lib/generators/social_stream/templates/public/images/btn/flyer.png
|
649
656
|
- lib/generators/social_stream/templates/public/images/btn/group_left.png
|
650
657
|
- lib/generators/social_stream/templates/public/images/btn/group_right.png
|
651
658
|
- lib/generators/social_stream/templates/public/images/btn/index_71.png
|
659
|
+
- lib/generators/social_stream/templates/public/images/btn/info.png
|
652
660
|
- lib/generators/social_stream/templates/public/images/btn/italic.png
|
653
661
|
- lib/generators/social_stream/templates/public/images/btn/keynote.png
|
662
|
+
- lib/generators/social_stream/templates/public/images/btn/like.png
|
654
663
|
- lib/generators/social_stream/templates/public/images/btn/linkedin.png
|
655
664
|
- lib/generators/social_stream/templates/public/images/btn/live.png
|
656
665
|
- lib/generators/social_stream/templates/public/images/btn/message_conversation.png
|
@@ -661,6 +670,7 @@ files:
|
|
661
670
|
- lib/generators/social_stream/templates/public/images/btn/new.png
|
662
671
|
- lib/generators/social_stream/templates/public/images/btn/next_conference.png
|
663
672
|
- lib/generators/social_stream/templates/public/images/btn/next_space.png
|
673
|
+
- lib/generators/social_stream/templates/public/images/btn/nolike.png
|
664
674
|
- lib/generators/social_stream/templates/public/images/btn/notifications.png
|
665
675
|
- lib/generators/social_stream/templates/public/images/btn/pixel.png
|
666
676
|
- lib/generators/social_stream/templates/public/images/btn/point_blue.png
|
@@ -669,12 +679,14 @@ files:
|
|
669
679
|
- lib/generators/social_stream/templates/public/images/btn/shadow.png
|
670
680
|
- lib/generators/social_stream/templates/public/images/btn/share.png
|
671
681
|
- lib/generators/social_stream/templates/public/images/btn/subtime.png
|
682
|
+
- lib/generators/social_stream/templates/public/images/btn/success.png
|
672
683
|
- lib/generators/social_stream/templates/public/images/btn/tag_cloud.png
|
673
684
|
- lib/generators/social_stream/templates/public/images/btn/time.png
|
674
685
|
- lib/generators/social_stream/templates/public/images/btn/twitter-follow-icon.png
|
675
686
|
- lib/generators/social_stream/templates/public/images/btn/twitter.png
|
676
687
|
- lib/generators/social_stream/templates/public/images/btn/uno.png
|
677
688
|
- lib/generators/social_stream/templates/public/images/btn/viewer.png
|
689
|
+
- lib/generators/social_stream/templates/public/images/btn/warning.png
|
678
690
|
- lib/generators/social_stream/templates/public/images/frontpage/collaborate.png
|
679
691
|
- lib/generators/social_stream/templates/public/images/frontpage/comments.png
|
680
692
|
- lib/generators/social_stream/templates/public/images/frontpage/green_sq.png
|
@@ -1008,6 +1020,7 @@ files:
|
|
1008
1020
|
- spec/controllers/likes_controller_spec.rb
|
1009
1021
|
- spec/controllers/posts_controller_spec.rb
|
1010
1022
|
- spec/controllers/profiles_controller_spec.rb
|
1023
|
+
- spec/controllers/representations_controller_spec.rb
|
1011
1024
|
- spec/controllers/subjects_controller.rb
|
1012
1025
|
- spec/controllers/ties_controller_spec.rb
|
1013
1026
|
- spec/controllers/users_controller_spec.rb
|
@@ -1053,6 +1066,7 @@ files:
|
|
1053
1066
|
- spec/models/activity_spec.rb
|
1054
1067
|
- spec/models/actor_spec.rb
|
1055
1068
|
- spec/models/post_spec.rb
|
1069
|
+
- spec/models/profile_spec.rb
|
1056
1070
|
- spec/models/representation_spec.rb
|
1057
1071
|
- spec/models/tie_activity_spec.rb
|
1058
1072
|
- spec/models/tie_spec.rb
|
@@ -1062,6 +1076,7 @@ files:
|
|
1062
1076
|
- spec/support/cancan.rb
|
1063
1077
|
- spec/support/db.rb
|
1064
1078
|
- spec/support/devise.rb
|
1079
|
+
- spec/support/migrations.rb
|
1065
1080
|
has_rdoc: true
|
1066
1081
|
homepage: http://social-stream.dit.upm.es/
|
1067
1082
|
licenses: []
|