social_stream 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -186,7 +186,7 @@ class Activity < ActiveRecord::Base
186
186
  I18n.t "activity.verb.#{ verb }.#{ receiver.subject_type }.title",
187
187
  :subject => view.link_name(sender_subject),
188
188
  :contact => view.link_name(receiver_subject)
189
- when "post"
189
+ when "post", "update"
190
190
  if sender == receiver
191
191
  view.link_name sender_subject
192
192
  else
@@ -194,6 +194,8 @@ class Activity < ActiveRecord::Base
194
194
  :sender => view.link_name(sender_subject),
195
195
  :receiver => view.link_name(receiver_subject)
196
196
  end
197
+ else
198
+ "Must define activity title"
197
199
  end.html_safe
198
200
  end
199
201
 
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Base
3
- VERSION = "0.10.4".freeze
3
+ VERSION = "0.10.5".freeze
4
4
  end
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module SocialStream
2
- VERSION = "0.14.0".freeze
2
+ VERSION = "0.14.1".freeze
3
3
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.files = `git ls-files`.split("\n")
12
12
 
13
13
  # Gem dependencies
14
- s.add_runtime_dependency('social_stream-base', '~> 0.10.4')
14
+ s.add_runtime_dependency('social_stream-base', '~> 0.10.5')
15
15
  s.add_runtime_dependency('social_stream-documents', '~> 0.5.0')
16
16
  s.add_runtime_dependency('social_stream-events', '~> 0.1.0')
17
17
  s.add_runtime_dependency('social_stream-linkser', '~> 0.0.1')
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: 39
4
+ hash: 37
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
- - 0
10
- version: 0.14.0
9
+ - 1
10
+ version: 0.14.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - GING - DIT - UPM
@@ -27,12 +27,12 @@ dependencies:
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- hash: 63
30
+ hash: 61
31
31
  segments:
32
32
  - 0
33
33
  - 10
34
- - 4
35
- version: 0.10.4
34
+ - 5
35
+ version: 0.10.5
36
36
  type: :runtime
37
37
  version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency