social_stream-documents 0.5.0 → 0.5.1

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.
@@ -11,7 +11,7 @@ class Document < ActiveRecord::Base
11
11
  validates_presence_of :title
12
12
 
13
13
  before_validation(:on => :create) do
14
- set_title_and_description
14
+ set_title
15
15
  end
16
16
 
17
17
  define_index do
@@ -71,7 +71,7 @@ class Document < ActiveRecord::Base
71
71
 
72
72
  protected
73
73
 
74
- def set_title_and_description
74
+ def set_title
75
75
  self.title = self.file_file_name
76
76
  end
77
77
 
@@ -1,4 +1,4 @@
1
- <% profile_subject ||= document.post_activity.receiver_subject %>
1
+ <% profile_subject ||= document.owner_subject %>
2
2
 
3
3
  <% content_for :title do %>
4
4
  <%= profile_subject.name + ": " + t('repository.title') %>
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Documents
3
- VERSION = "0.5.0".freeze
3
+ VERSION = "0.5.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.10.0')
15
+ s.add_runtime_dependency('social_stream-base', '~> 0.10.6')
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.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-11-28 00:00:00 +01:00
19
+ date: 2011-12-09 00:00:00 +01: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: 55
30
+ hash: 59
31
31
  segments:
32
32
  - 0
33
33
  - 10
34
- - 0
35
- version: 0.10.0
34
+ - 6
35
+ version: 0.10.6
36
36
  type: :runtime
37
37
  version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency