social_stream-documents 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => audio} %>
3
+
@@ -0,0 +1,3 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => audio} %>
3
+
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => video} %>
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => video} %>
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => picture} %>
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => picture} %>
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => video} %>
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'documents/document_with_details',
2
+ :locals => {:document => video} %>
@@ -9,6 +9,11 @@ module SocialStream
9
9
  module Documents
10
10
  # Add :document to SocialStream.objects and SocialStream.activity_forms by default
11
11
  # It can be configured by users at application's config/initializers/social_stream.rb
12
+ [ :picture, :video, :audio, :document].each do |o|
13
+ SocialStream.quick_search_models.push(o) unless SocialStream.quick_search_models.include?(o)
14
+ SocialStream.extended_search_models.push(o) unless SocialStream.extended_search_models.include?(o)
15
+ end
16
+
12
17
  %w(objects activity_forms).each do |m|
13
18
  SocialStream.__send__(m).push(:document) unless SocialStream.__send__(m).include?(:document)
14
19
  end
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Documents
3
- VERSION = "0.3.0".freeze
3
+ VERSION = "0.3.1".freeze
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.files = `git ls-files`.split("\n")
13
13
 
14
14
  # Gem dependencies
15
- s.add_runtime_dependency('social_stream-base', '~> 0.9.15')
15
+ s.add_runtime_dependency('social_stream-base', '~> 0.9.16')
16
16
  s.add_runtime_dependency('paperclip-ffmpeg', '~> 0.7.0')
17
17
  s.add_runtime_dependency('paperclip','2.3.11')
18
18
  s.add_runtime_dependency('delayed_paperclip','>= 0.7.2')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-documents
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "V\xC3\xADctor S\xC3\xA1nchez Belmar"
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-10-06 00:00:00 +02:00
19
+ date: 2011-10-07 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -27,12 +27,12 @@ dependencies:
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- hash: 37
30
+ hash: 27
31
31
  segments:
32
32
  - 0
33
33
  - 9
34
- - 15
35
- version: 0.9.15
34
+ - 16
35
+ version: 0.9.16
36
36
  name: social_stream-base
37
37
  version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency
@@ -249,6 +249,8 @@ files:
249
249
  - app/models/picture.rb
250
250
  - app/models/video.rb
251
251
  - app/views/audios/_audio.html.erb
252
+ - app/views/audios/_audio_focus_search.html.erb
253
+ - app/views/audios/_audio_global_search.html.erb
252
254
  - app/views/audios/_audio_processed.html.erb
253
255
  - app/views/audios/_audio_processing.html.erb
254
256
  - app/views/audios/_audio_with_details.html.erb
@@ -260,6 +262,8 @@ files:
260
262
  - app/views/audios/show.html.erb
261
263
  - app/views/common-documents/_index.html.erb
262
264
  - app/views/documents/_document.html.erb
265
+ - app/views/documents/_document_focus_search.html.erb
266
+ - app/views/documents/_document_global_search.html.erb
263
267
  - app/views/documents/_document_with_details.html.erb
264
268
  - app/views/documents/_header.html.erb
265
269
  - app/views/documents/_new_activity.html.erb
@@ -271,6 +275,8 @@ files:
271
275
  - app/views/pictures/_mediapreviews.html.erb
272
276
  - app/views/pictures/_new.html.erb
273
277
  - app/views/pictures/_picture.html.erb
278
+ - app/views/pictures/_picture_focus_search.html.erb
279
+ - app/views/pictures/_picture_global_search.html.erb
274
280
  - app/views/pictures/_picture_with_details.html.erb
275
281
  - app/views/pictures/destroy.js.erb
276
282
  - app/views/pictures/index.html.erb
@@ -279,6 +285,8 @@ files:
279
285
  - app/views/toolbar/_uploads_menu.html.erb
280
286
  - app/views/videos/_new.html.erb
281
287
  - app/views/videos/_video.html.erb
288
+ - app/views/videos/_video_focus_search.html.erb
289
+ - app/views/videos/_video_global_search.html.erb
282
290
  - app/views/videos/_video_processed.html.erb
283
291
  - app/views/videos/_video_processing.html.erb
284
292
  - app/views/videos/_video_with_details.html.erb