social_stream 0.27.2 → 0.27.3
Sign up to get free protection for your applications and to get access to all the features.
- data/events/app/assets/javascripts/social_stream.events.action.js +1 -1
- data/events/app/controllers/events_controller.rb +8 -12
- data/events/lib/social_stream/events/version.rb +1 -1
- data/events/social_stream-events.gemspec +1 -1
- data/lib/social_stream/version.rb +1 -1
- data/social_stream.gemspec +1 -1
- metadata +4 -4
@@ -27,22 +27,18 @@ class EventsController < ApplicationController
|
|
27
27
|
|
28
28
|
private
|
29
29
|
|
30
|
-
def collection
|
31
|
-
@activities =
|
32
|
-
(profile_subject || current_subject).wall(:profile,
|
33
|
-
:for => current_subject,
|
34
|
-
:object_type => :Event)
|
35
|
-
end
|
36
|
-
|
37
30
|
def events_with_start_and_end
|
38
31
|
@start_time = Time.at(params[:start].to_i)
|
39
32
|
@end_time = Time.at(params[:end].to_i)
|
40
33
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
subject = profile_or_current_subject
|
35
|
+
|
36
|
+
@events = Event.followed_by(subject)
|
37
|
+
|
38
|
+
if subject != current_subject
|
39
|
+
@events = @events.shared_with(current_subject)
|
40
|
+
end
|
45
41
|
|
46
|
-
@events = @
|
42
|
+
@events = @events.between(@start_time, @end_time)
|
47
43
|
end
|
48
44
|
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.21.
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.21.2')
|
16
16
|
s.add_runtime_dependency('rails-scheduler', '~> 0.0.8')
|
17
17
|
|
18
18
|
# Development Gem dependencies
|
data/social_stream.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
# Gem dependencies
|
14
14
|
s.add_runtime_dependency('social_stream-base', '~> 0.21.2')
|
15
15
|
s.add_runtime_dependency('social_stream-documents', '~> 0.15.1')
|
16
|
-
s.add_runtime_dependency('social_stream-events', '~> 0.13.
|
16
|
+
s.add_runtime_dependency('social_stream-events', '~> 0.13.2')
|
17
17
|
s.add_runtime_dependency('social_stream-linkser', '~> 0.12.0')
|
18
18
|
s.add_runtime_dependency('social_stream-presence', '~> 0.14.0')
|
19
19
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-06-
|
13
|
+
date: 2012-06-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: social_stream-base
|
@@ -51,7 +51,7 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.13.
|
54
|
+
version: 0.13.2
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - ~>
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.13.
|
62
|
+
version: 0.13.2
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: social_stream-linkser
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|