social_stream-base 0.16.1 → 0.16.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -237,7 +237,7 @@ div.chzn-container ul.chzn-choices li.search-field input{ cursor:pointer;}
237
237
  text-decoration: none;
238
238
  }
239
239
  .menu_plain_list li span {
240
- padding: 5px 10px;
240
+ padding: 5px 7px;
241
241
  background-color: $secondary-color;
242
242
  }
243
243
  .menu_plain_list li span.selected {
@@ -1,7 +1,7 @@
1
1
  @import "colors";
2
2
 
3
3
  /****************** HEADER STRUCTURE ******/
4
- #headerFront { width: 100%; padding: 0; background: $header-color; padding: 0px 0px 0px 0px;}
4
+ #headerFront { width: 100%; padding: 0px; background: $header-color; }
5
5
  #header_left { left: 0px; float: left; padding-left: 15px; padding-right: 5px; width:155px;}
6
6
  #header_right { right: 0px; float: right; padding-right: 10px; }
7
7
  .banner_top{ width: 960px; margin-left: auto; margin-right: auto; margin-top: 0px;
@@ -28,4 +28,10 @@ module NotificationsHelper
28
28
  end
29
29
  end
30
30
 
31
+ # Add notification_id param to URL in order to mark notification read
32
+ def notification_url_of(target, notification)
33
+ return polymorphic_url(target, :notification_id => notification.id) unless notification.nil?
34
+ polymorphic_url(target)
35
+ end
36
+
31
37
  end
@@ -17,6 +17,10 @@ class Activity < ActiveRecord::Base
17
17
  # See {SocialStream::Models::Channeled}
18
18
  channeled
19
19
 
20
+ # This has to be declared before 'has_ancestry' to work around rails issue #670
21
+ # See: https://github.com/rails/rails/issues/670
22
+ before_destroy :destroy_children_comments
23
+
20
24
  has_ancestry
21
25
 
22
26
  paginates_per 10
@@ -397,6 +401,15 @@ class Activity < ActiveRecord::Base
397
401
  direct_activity_object.increment!(:like_count)
398
402
  end
399
403
 
404
+ # before_destroy callback
405
+ #
406
+ # Destroy children comments when the activity is destroyed
407
+ def destroy_children_comments
408
+ comments.each do |c|
409
+ c.direct_object.destroy
410
+ end
411
+ end
412
+
400
413
  # after_destroy callback
401
414
  #
402
415
  # Decrement like counter in objects when like activity is destroyed
@@ -4,6 +4,13 @@ class Comment < ActiveRecord::Base
4
4
  alias_attribute :text, :description
5
5
  validates_presence_of :text
6
6
 
7
+ define_index do
8
+ indexes activity_object.description
9
+
10
+ has created_at
11
+ end
12
+
13
+
7
14
  def parent_post
8
15
  self.post_activity.parent.direct_object
9
16
  end
@@ -5,7 +5,7 @@ class Post < ActiveRecord::Base
5
5
  validates_presence_of :text
6
6
 
7
7
  define_index do
8
- indexes text
8
+ indexes activity_object.description
9
9
 
10
10
  has created_at
11
11
  end
@@ -0,0 +1,37 @@
1
+ <% activity = comment.post_activity %>
2
+ <%= div_for activity, :class => 'super_activity' do %>
3
+ <div class="actor_logo">
4
+ <%= link_to image_tag(activity.sender_subject.logo.url(:actor),
5
+ :alt => activity.sender_subject.name),
6
+ activity.sender_subject %>
7
+ </div>
8
+ <div class="activity_content">
9
+ <div class="actor_name">
10
+ <%= activity.title(self) %>
11
+ </div>
12
+ <div class="activity_objects">
13
+ <%= link_to comment do%>
14
+ <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 180) || "" %>
15
+ <% if text.length < 400 %>
16
+ <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 540 - text.length) || "" %>
17
+ <% end %>
18
+ <%= highlight(text,get_search_query_words) %>
19
+ <% end %>
20
+ </div>
21
+ <div class="activity_options">
22
+ <div class="comment_time_ago">
23
+ <%= t('time.ago', :time => time_ago_in_words(activity.created_at)) %>
24
+ </div>
25
+ <% if user_signed_in? %>
26
+ ·
27
+ <%= link_to activity.audience_in_words(current_subject, :details => :summary),
28
+ 'javascript:;',
29
+ :class => 'activity_audience_summary' %>
30
+ <div class="activity_audience">
31
+ <%= activity.audience_in_words(current_subject) %>
32
+ </div>
33
+ <% end %>
34
+ </div>
35
+ </div>
36
+ <% end %>
37
+
@@ -0,0 +1,18 @@
1
+ <% author = comment.author_subject %>
2
+ <div class="model_with_details">
3
+ <div class="logo">
4
+ <%= link_to (image_tag(author.logo.url , :size => "50x50", :alt => author.name )), author %>
5
+ </div>
6
+ <div class="sub-block">
7
+ <div class="brief">
8
+ <%= link_to comment do%>
9
+ <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 25) || "" %>
10
+ <% if text.length < 60 %>
11
+ <% text = excerpt(strip_tags(comment.text),get_search_query_words.first,:radius => 30 + (60 - text.length)) || "" %>
12
+ <% end %>
13
+ <%= highlight(text,get_search_query_words) %>
14
+ <% end %>
15
+ <br>
16
+ </div>
17
+ </div>
18
+ </div>
@@ -0,0 +1,3 @@
1
+ <%= div_for comment, :class => 'content_size' do %>
2
+ <%= simple_format comment.text %>
3
+ <% end %>
@@ -13,6 +13,7 @@
13
13
 
14
14
  <div class="conversations">
15
15
  <% @notifications.each do |notification|%>
16
+ <% @notification = notification %>
16
17
  <% read_class = notification.is_unread?(@actor) ? 'unread' : '' %>
17
18
  <%= render :partial => 'notification', :object => notification, :locals => {:read_class => read_class} %>
18
19
  <% end %>
@@ -16,15 +16,15 @@
16
16
  :whose => t('notification.whose.'+ activity.receiver.subject.class.to_s.underscore,
17
17
  :receiver => truncate_name(activity.receiver.name)),
18
18
  :thing => link_to(t(activity.direct_object.class.to_s.underscore+'.name'),
19
- polymorphic_url( activity.direct_object))) %>
19
+ notification_url_of( activity.direct_object, @notification))) %>
20
20
  </div>
21
21
  <div class="briefing">
22
22
  <% if activity.direct_object.respond_to? :text %>
23
23
  "<%= link_to(sanitize(activity.direct_object.text.truncate(100, :separator =>' ')),
24
- polymorphic_url( activity.direct_object))%>"
24
+ notification_url_of( activity.direct_object, @notification))%>"
25
25
  <% else%>
26
26
  <%= link_to(t('notification.watch_it'),
27
- polymorphic_url( activity.direct_object))%>
27
+ notification_url_of( activity.direct_object, @notification))%>
28
28
  <%end%>
29
29
  </div>
30
- <% end %>
30
+ <% end %>
@@ -13,9 +13,9 @@
13
13
 
14
14
  <% if activity.direct_object.respond_to? :text %>
15
15
  "<%= sanitize(activity.direct_object.text.truncate(100, :separator =>' '))%>"
16
- <%= raw t('notification.all_text', :url => polymorphic_url(activity.direct_object))%>
16
+ <%= raw t('notification.all_text', :url => notification_url_of(activity.direct_object, @notification))%>
17
17
  <% else%>
18
- --><%= raw t('notification.watch', :url => polymorphic_url( activity.direct_object))%>
18
+ --><%= raw t('notification.watch', :url => notification_url_of( activity.direct_object, @notification))%>
19
19
  <%end%>
20
20
  <% end %>
21
21
 
@@ -5,9 +5,9 @@
5
5
  :whose => t('notification.whose.'+ activity.receiver.subject.class.to_s.underscore,
6
6
  :receiver => truncate_name(activity.receiver.name)),
7
7
  :title => link_to(title_of(activity.direct_object),
8
- polymorphic_url(activity.direct_object))) %>
8
+ notification_url_of(activity.direct_object, @notification))) %>
9
9
  </div>
10
10
  <div class="briefing">
11
- "<%= link_to(description_of(activity.direct_object), polymorphic_url(activity.direct_object))%>"
11
+ "<%= link_to(description_of(activity.direct_object), notification_url_of(activity.direct_object, @notification))%>"
12
12
  </div>
13
13
 
@@ -6,7 +6,7 @@
6
6
  :title => title_of(activity.direct_object)) %>
7
7
 
8
8
  "<%= description_of(activity.direct_object) %>"
9
- --><%= t('notification.all_text', :url => polymorphic_url(activity.direct_object))%>
9
+ --><%= t('notification.all_text', :url => notification_url_of(activity.direct_object, @notification))%>
10
10
 
11
11
  <%= raw t('notification.look',
12
12
  :sender => truncate_name(activity.sender.name))%>: <%=polymorphic_url(activity.sender.subject)%>
@@ -5,14 +5,14 @@
5
5
  :whose => t('notification.whose.'+ activity.receiver.subject.class.to_s.underscore,
6
6
  :receiver => truncate_name(activity.receiver.name)),
7
7
  :thing => link_to(t(activity.direct_object.class.to_s.underscore+'.one'),
8
- polymorphic_url( activity.direct_object))) %>
8
+ notification_url_of( activity.direct_object, @notification))) %>
9
9
  </div>
10
10
  <div class="briefing">
11
11
  <% if activity.direct_object.respond_to? :text %>
12
12
  "<%= link_to(sanitize(activity.direct_object.text.truncate(100, :separator =>' ')),
13
- polymorphic_url(activity.direct_object))%>"
13
+ notification_url_of(activity.direct_object, @notification))%>"
14
14
  <% else%>
15
15
  <%= link_to(t('notification.watch_it'),
16
- polymorphic_url( activity.direct_object))%>
16
+ notification_url_of( activity.direct_object, @notification))%>
17
17
  <%end%>
18
18
  </div>
@@ -6,10 +6,10 @@
6
6
 
7
7
  <% if activity.direct_object.respond_to? :text %>
8
8
  "<%= sanitize activity.direct_object.text.truncate(100, :separator =>' ')%>"
9
- --><%= t('notification.all_text', :url => polymorphic_url(activity.direct_object))%>
9
+ --><%= t('notification.all_text', :url => notification_url_of(activity.direct_object, @notification))%>
10
10
  <% else%>
11
- <%= t('notification.watch', :url => polymorphic_url( activity.direct_object))%>
11
+ <%= t('notification.watch', :url => notification_url_of( activity.direct_object, @notification))%>
12
12
  <% end%>
13
13
 
14
14
  <%= raw t('notification.look',
15
- :sender => truncate_name(activity.sender.name))%>: <%=polymorphic_url(activity.sender.subject)%>
15
+ :sender => truncate_name(activity.sender.name))%>: <%=polymorphic_url(activity.sender.subject)%>
@@ -10,6 +10,7 @@ module SocialStream
10
10
  autoload :TestHelpers, 'social_stream/test_helpers'
11
11
 
12
12
  module Controllers
13
+ autoload :MarkNotificationsRead, 'social_stream/controllers/mark_notifications_read'
13
14
  autoload :I18nIntegration, 'social_stream/controllers/i18n_integration'
14
15
  autoload :CancanDeviseIntegration, 'social_stream/controllers/cancan_devise_integration'
15
16
  autoload :Helpers, 'social_stream/controllers/helpers'
@@ -62,7 +63,7 @@ module SocialStream
62
63
  @@quick_search_models = [ :user, :group, :post ]
63
64
 
64
65
  mattr_accessor :extended_search_models
65
- @@extended_search_models = [ :user, :group, :post ]
66
+ @@extended_search_models = [ :user, :group, :post, :comment ]
66
67
 
67
68
  mattr_accessor :cleditor_controls
68
69
  @@cleditor_controls = "bold italic underline strikethrough subscript superscript | size style | bullets | image link unlink"
@@ -31,6 +31,7 @@ module SocialStream
31
31
  include SocialStream::Controllers::Helpers
32
32
  include SocialStream::Controllers::CancanDeviseIntegration
33
33
  include SocialStream::Controllers::I18nIntegration
34
+ include SocialStream::Controllers::MarkNotificationsRead
34
35
  end
35
36
  end
36
37
 
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Base
3
- VERSION = "0.16.1".freeze
3
+ VERSION = "0.16.2".freeze
4
4
  end
5
5
  end
@@ -0,0 +1,19 @@
1
+ module SocialStream
2
+ module Controllers
3
+ # Common methods added to ApplicationController
4
+ module MarkNotificationsRead
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+ before_filter :mark_notifications_read
9
+ end
10
+
11
+ # Mark notifications read when following a link
12
+ def mark_notifications_read
13
+ return if params[:notification_id].blank? or !user_signed_in?
14
+ n = Notification.find(params[:notification_id])
15
+ current_subject.read n
16
+ end
17
+ end
18
+ end
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-16 00:00:00.000000000Z
13
+ date: 2012-02-21 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &76633680 !ruby/object:Gem::Requirement
17
+ requirement: &81495330 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *76633680
25
+ version_requirements: *81495330
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: ancestry
28
- requirement: &76633180 !ruby/object:Gem::Requirement
28
+ requirement: &81494920 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.2.3
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *76633180
36
+ version_requirements: *81494920
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: foreigner
39
- requirement: &76632640 !ruby/object:Gem::Requirement
39
+ requirement: &81494510 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.1.1
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *76632640
47
+ version_requirements: *81494510
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: devise
50
- requirement: &76632260 !ruby/object:Gem::Requirement
50
+ requirement: &81494270 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.5.3
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *76632260
58
+ version_requirements: *81494270
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: inherited_resources
61
- requirement: &76631820 !ruby/object:Gem::Requirement
61
+ requirement: &81494010 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.3.0
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *76631820
69
+ version_requirements: *81494010
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: stringex
72
- requirement: &76631280 !ruby/object:Gem::Requirement
72
+ requirement: &81493640 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ~>
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 1.3.0
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *76631280
80
+ version_requirements: *81493640
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: avatars_for_rails
83
- requirement: &76630910 !ruby/object:Gem::Requirement
83
+ requirement: &81486780 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 0.2.2
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *76630910
91
+ version_requirements: *81486780
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: jquery-rails
94
- requirement: &76630540 !ruby/object:Gem::Requirement
94
+ requirement: &81486530 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 1.0.9
100
100
  type: :runtime
101
101
  prerelease: false
102
- version_requirements: *76630540
102
+ version_requirements: *81486530
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: cancan
105
- requirement: &76630270 !ruby/object:Gem::Requirement
105
+ requirement: &81486210 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ~>
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: 1.6.4
111
111
  type: :runtime
112
112
  prerelease: false
113
- version_requirements: *76630270
113
+ version_requirements: *81486210
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: kaminari
116
- requirement: &76630020 !ruby/object:Gem::Requirement
116
+ requirement: &81485880 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ~>
@@ -121,10 +121,10 @@ dependencies:
121
121
  version: 0.13.0
122
122
  type: :runtime
123
123
  prerelease: false
124
- version_requirements: *76630020
124
+ version_requirements: *81485880
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: omniauth
127
- requirement: &76629770 !ruby/object:Gem::Requirement
127
+ requirement: &81485550 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ~>
@@ -132,10 +132,10 @@ dependencies:
132
132
  version: 1.0.2
133
133
  type: :runtime
134
134
  prerelease: false
135
- version_requirements: *76629770
135
+ version_requirements: *81485550
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: omniauth-facebook
138
- requirement: &76629530 !ruby/object:Gem::Requirement
138
+ requirement: &81485240 !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements:
141
141
  - - ~>
@@ -143,10 +143,10 @@ dependencies:
143
143
  version: 1.2.0
144
144
  type: :runtime
145
145
  prerelease: false
146
- version_requirements: *76629530
146
+ version_requirements: *81485240
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: omniauth-linkedin
149
- requirement: &76629300 !ruby/object:Gem::Requirement
149
+ requirement: &81485000 !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements:
152
152
  - - ~>
@@ -154,10 +154,10 @@ dependencies:
154
154
  version: 0.0.6
155
155
  type: :runtime
156
156
  prerelease: false
157
- version_requirements: *76629300
157
+ version_requirements: *81485000
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: mailboxer
160
- requirement: &76629060 !ruby/object:Gem::Requirement
160
+ requirement: &81484680 !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements:
163
163
  - - ~>
@@ -165,10 +165,10 @@ dependencies:
165
165
  version: 0.6.0
166
166
  type: :runtime
167
167
  prerelease: false
168
- version_requirements: *76629060
168
+ version_requirements: *81484680
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: acts-as-taggable-on
171
- requirement: &76628820 !ruby/object:Gem::Requirement
171
+ requirement: &81484350 !ruby/object:Gem::Requirement
172
172
  none: false
173
173
  requirements:
174
174
  - - ~>
@@ -176,10 +176,10 @@ dependencies:
176
176
  version: 2.2.2
177
177
  type: :runtime
178
178
  prerelease: false
179
- version_requirements: *76628820
179
+ version_requirements: *81484350
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: formtastic
182
- requirement: &76628580 !ruby/object:Gem::Requirement
182
+ requirement: &81483950 !ruby/object:Gem::Requirement
183
183
  none: false
184
184
  requirements:
185
185
  - - ~>
@@ -187,10 +187,10 @@ dependencies:
187
187
  version: 1.2.3
188
188
  type: :runtime
189
189
  prerelease: false
190
- version_requirements: *76628580
190
+ version_requirements: *81483950
191
191
  - !ruby/object:Gem::Dependency
192
192
  name: simple-navigation
193
- requirement: &76614470 !ruby/object:Gem::Requirement
193
+ requirement: &81483600 !ruby/object:Gem::Requirement
194
194
  none: false
195
195
  requirements:
196
196
  - - ~>
@@ -198,10 +198,10 @@ dependencies:
198
198
  version: 3.5.1
199
199
  type: :runtime
200
200
  prerelease: false
201
- version_requirements: *76614470
201
+ version_requirements: *81483600
202
202
  - !ruby/object:Gem::Dependency
203
203
  name: resque
204
- requirement: &76614240 !ruby/object:Gem::Requirement
204
+ requirement: &81483120 !ruby/object:Gem::Requirement
205
205
  none: false
206
206
  requirements:
207
207
  - - ~>
@@ -209,10 +209,10 @@ dependencies:
209
209
  version: 1.19.0
210
210
  type: :runtime
211
211
  prerelease: false
212
- version_requirements: *76614240
212
+ version_requirements: *81483120
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: modernizr-rails
215
- requirement: &76614000 !ruby/object:Gem::Requirement
215
+ requirement: &81482650 !ruby/object:Gem::Requirement
216
216
  none: false
217
217
  requirements:
218
218
  - - ~>
@@ -220,10 +220,10 @@ dependencies:
220
220
  version: 2.0.6
221
221
  type: :runtime
222
222
  prerelease: false
223
- version_requirements: *76614000
223
+ version_requirements: *81482650
224
224
  - !ruby/object:Gem::Dependency
225
225
  name: thinking-sphinx
226
- requirement: &76613760 !ruby/object:Gem::Requirement
226
+ requirement: &81482050 !ruby/object:Gem::Requirement
227
227
  none: false
228
228
  requirements:
229
229
  - - ~>
@@ -231,10 +231,10 @@ dependencies:
231
231
  version: 2.0.8
232
232
  type: :runtime
233
233
  prerelease: false
234
- version_requirements: *76613760
234
+ version_requirements: *81482050
235
235
  - !ruby/object:Gem::Dependency
236
236
  name: sass-rails
237
- requirement: &76613510 !ruby/object:Gem::Requirement
237
+ requirement: &81481710 !ruby/object:Gem::Requirement
238
238
  none: false
239
239
  requirements:
240
240
  - - ! '>='
@@ -242,10 +242,10 @@ dependencies:
242
242
  version: 3.1.0
243
243
  type: :runtime
244
244
  prerelease: false
245
- version_requirements: *76613510
245
+ version_requirements: *81481710
246
246
  - !ruby/object:Gem::Dependency
247
247
  name: rails_autolink
248
- requirement: &76613270 !ruby/object:Gem::Requirement
248
+ requirement: &81481330 !ruby/object:Gem::Requirement
249
249
  none: false
250
250
  requirements:
251
251
  - - ~>
@@ -253,10 +253,10 @@ dependencies:
253
253
  version: 1.0.4
254
254
  type: :runtime
255
255
  prerelease: false
256
- version_requirements: *76613270
256
+ version_requirements: *81481330
257
257
  - !ruby/object:Gem::Dependency
258
258
  name: social_cheesecake
259
- requirement: &76613030 !ruby/object:Gem::Requirement
259
+ requirement: &81480840 !ruby/object:Gem::Requirement
260
260
  none: false
261
261
  requirements:
262
262
  - - ~>
@@ -264,10 +264,10 @@ dependencies:
264
264
  version: 0.3.0
265
265
  type: :runtime
266
266
  prerelease: false
267
- version_requirements: *76613030
267
+ version_requirements: *81480840
268
268
  - !ruby/object:Gem::Dependency
269
269
  name: i18n-js
270
- requirement: &76612780 !ruby/object:Gem::Requirement
270
+ requirement: &81480340 !ruby/object:Gem::Requirement
271
271
  none: false
272
272
  requirements:
273
273
  - - ~>
@@ -275,10 +275,10 @@ dependencies:
275
275
  version: 2.1.2
276
276
  type: :runtime
277
277
  prerelease: false
278
- version_requirements: *76612780
278
+ version_requirements: *81480340
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: capybara
281
- requirement: &76612540 !ruby/object:Gem::Requirement
281
+ requirement: &81480000 !ruby/object:Gem::Requirement
282
282
  none: false
283
283
  requirements:
284
284
  - - ~>
@@ -286,10 +286,10 @@ dependencies:
286
286
  version: 0.3.9
287
287
  type: :development
288
288
  prerelease: false
289
- version_requirements: *76612540
289
+ version_requirements: *81480000
290
290
  - !ruby/object:Gem::Dependency
291
291
  name: sqlite3-ruby
292
- requirement: &76612350 !ruby/object:Gem::Requirement
292
+ requirement: &81479690 !ruby/object:Gem::Requirement
293
293
  none: false
294
294
  requirements:
295
295
  - - ! '>='
@@ -297,10 +297,10 @@ dependencies:
297
297
  version: '0'
298
298
  type: :development
299
299
  prerelease: false
300
- version_requirements: *76612350
300
+ version_requirements: *81479690
301
301
  - !ruby/object:Gem::Dependency
302
302
  name: ruby-debug19
303
- requirement: &76612100 !ruby/object:Gem::Requirement
303
+ requirement: &81479310 !ruby/object:Gem::Requirement
304
304
  none: false
305
305
  requirements:
306
306
  - - ! '>='
@@ -308,10 +308,10 @@ dependencies:
308
308
  version: '0'
309
309
  type: :development
310
310
  prerelease: false
311
- version_requirements: *76612100
311
+ version_requirements: *81479310
312
312
  - !ruby/object:Gem::Dependency
313
313
  name: rspec-rails
314
- requirement: &76611850 !ruby/object:Gem::Requirement
314
+ requirement: &81478900 !ruby/object:Gem::Requirement
315
315
  none: false
316
316
  requirements:
317
317
  - - ~>
@@ -319,10 +319,10 @@ dependencies:
319
319
  version: 2.6.1
320
320
  type: :development
321
321
  prerelease: false
322
- version_requirements: *76611850
322
+ version_requirements: *81478900
323
323
  - !ruby/object:Gem::Dependency
324
324
  name: factory_girl
325
- requirement: &76611600 !ruby/object:Gem::Requirement
325
+ requirement: &81478590 !ruby/object:Gem::Requirement
326
326
  none: false
327
327
  requirements:
328
328
  - - ~>
@@ -330,10 +330,10 @@ dependencies:
330
330
  version: 1.3.2
331
331
  type: :development
332
332
  prerelease: false
333
- version_requirements: *76611600
333
+ version_requirements: *81478590
334
334
  - !ruby/object:Gem::Dependency
335
335
  name: forgery
336
- requirement: &76611370 !ruby/object:Gem::Requirement
336
+ requirement: &81478360 !ruby/object:Gem::Requirement
337
337
  none: false
338
338
  requirements:
339
339
  - - ~>
@@ -341,10 +341,10 @@ dependencies:
341
341
  version: 0.4.2
342
342
  type: :development
343
343
  prerelease: false
344
- version_requirements: *76611370
344
+ version_requirements: *81478360
345
345
  - !ruby/object:Gem::Dependency
346
346
  name: ci_reporter
347
- requirement: &76611140 !ruby/object:Gem::Requirement
347
+ requirement: &81478110 !ruby/object:Gem::Requirement
348
348
  none: false
349
349
  requirements:
350
350
  - - ~>
@@ -352,10 +352,10 @@ dependencies:
352
352
  version: 1.6.4
353
353
  type: :development
354
354
  prerelease: false
355
- version_requirements: *76611140
355
+ version_requirements: *81478110
356
356
  - !ruby/object:Gem::Dependency
357
357
  name: nifty-generators
358
- requirement: &76610910 !ruby/object:Gem::Requirement
358
+ requirement: &81477870 !ruby/object:Gem::Requirement
359
359
  none: false
360
360
  requirements:
361
361
  - - ~>
@@ -363,7 +363,7 @@ dependencies:
363
363
  version: 0.4.5
364
364
  type: :development
365
365
  prerelease: false
366
- version_requirements: *76610910
366
+ version_requirements: *81477870
367
367
  description: ! 'Social Stream is a Ruby on Rails engine providing your application
368
368
  with social networking features and activity streams.
369
369
 
@@ -685,6 +685,9 @@ files:
685
685
  - app/views/cheesecake/index.html.erb
686
686
  - app/views/cheesecake/update.js.erb
687
687
  - app/views/comments/_comment.html.erb
688
+ - app/views/comments/_comment_focus_search.html.erb
689
+ - app/views/comments/_comment_global_search.html.erb
690
+ - app/views/comments/_comment_with_details.html.erb
688
691
  - app/views/comments/_new.html.erb
689
692
  - app/views/comments/create.js.erb
690
693
  - app/views/comments/destroy.js.erb
@@ -888,6 +891,7 @@ files:
888
891
  - lib/social_stream/controllers/cancan_devise_integration.rb
889
892
  - lib/social_stream/controllers/helpers.rb
890
893
  - lib/social_stream/controllers/i18n_integration.rb
894
+ - lib/social_stream/controllers/mark_notifications_read.rb
891
895
  - lib/social_stream/controllers/objects.rb
892
896
  - lib/social_stream/controllers/subjects.rb
893
897
  - lib/social_stream/d3.rb