social_stream-presence 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,12 @@ module SocialStream
|
|
18
18
|
include SocialStream::Views::Settings::Presence
|
19
19
|
end
|
20
20
|
end
|
21
|
+
|
22
|
+
initializer "social_stream-presence.views.toolbar" do
|
23
|
+
SocialStream::Views::Toolbar.module_eval do
|
24
|
+
include SocialStream::Views::Toolbar::Presence
|
25
|
+
end
|
26
|
+
end
|
21
27
|
end
|
22
28
|
end
|
23
29
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module SocialStream
|
2
|
+
module Views
|
3
|
+
module Toolbar
|
4
|
+
module Presence
|
5
|
+
def toolbar_items type, options = {}
|
6
|
+
super.tap do |items|
|
7
|
+
case type
|
8
|
+
when :home, :messages
|
9
|
+
items << {
|
10
|
+
:key => 'chat',
|
11
|
+
:html => render(:partial => 'chat/index' , :locals => {:flow => false })
|
12
|
+
}
|
13
|
+
when :profile
|
14
|
+
items << {
|
15
|
+
:key => 'chat',
|
16
|
+
:html => render(:partial => 'chat/index',
|
17
|
+
:locals => {
|
18
|
+
:flow => true ,
|
19
|
+
:group => @group
|
20
|
+
})
|
21
|
+
}
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,99 +1,80 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-presence
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 10
|
8
|
-
- 3
|
9
|
-
version: 0.10.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.11.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Aldo Gordillo
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-21 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: social_stream-base
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &75715360 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 0
|
30
|
-
- 17
|
31
|
-
- 2
|
32
|
-
version: 0.17.2
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.18.0
|
33
22
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: xmpp4r
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: *75715360
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: xmpp4r
|
27
|
+
requirement: &75714090 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
- 0
|
45
|
-
version: "0"
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
46
33
|
type: :runtime
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: net-ssh
|
50
34
|
prerelease: false
|
51
|
-
|
35
|
+
version_requirements: *75714090
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: net-ssh
|
38
|
+
requirement: &75713110 !ruby/object:Gem::Requirement
|
52
39
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
- 0
|
58
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
59
44
|
type: :runtime
|
60
|
-
version_requirements: *id003
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: net-sftp
|
63
45
|
prerelease: false
|
64
|
-
|
46
|
+
version_requirements: *75713110
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: net-sftp
|
49
|
+
requirement: &75712050 !ruby/object:Gem::Requirement
|
65
50
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
|
70
|
-
- 0
|
71
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
72
55
|
type: :runtime
|
73
|
-
version_requirements: *id004
|
74
|
-
- !ruby/object:Gem::Dependency
|
75
|
-
name: ruby-debug19
|
76
56
|
prerelease: false
|
77
|
-
|
57
|
+
version_requirements: *75712050
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: ruby-debug19
|
60
|
+
requirement: &75711360 !ruby/object:Gem::Requirement
|
78
61
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
- 0
|
84
|
-
version: "0"
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
85
66
|
type: :development
|
86
|
-
|
87
|
-
|
88
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *75711360
|
69
|
+
description: Social Stream Presence provides everything you need for including presence,
|
70
|
+
instant messaging and video chat services in your social network website, including
|
71
|
+
a complete chat fully integrated with Social Stream.
|
72
|
+
email:
|
89
73
|
- agordillos@gmail.com
|
90
74
|
executables: []
|
91
|
-
|
92
75
|
extensions: []
|
93
|
-
|
94
76
|
extra_rdoc_files: []
|
95
|
-
|
96
|
-
files:
|
77
|
+
files:
|
97
78
|
- .gitignore
|
98
79
|
- Gemfile
|
99
80
|
- Rakefile
|
@@ -224,6 +205,7 @@ files:
|
|
224
205
|
- lib/social_stream/presence/xmpp_server_order.rb
|
225
206
|
- lib/social_stream/presence/xmpp_ssclient.rb
|
226
207
|
- lib/social_stream/views/settings/presence.rb
|
208
|
+
- lib/social_stream/views/toolbar/presence.rb
|
227
209
|
- lib/tasks/presence/installer.rake
|
228
210
|
- lib/tasks/presence/multidomain.rake
|
229
211
|
- lib/tasks/presence/synchronize.rake
|
@@ -287,37 +269,30 @@ files:
|
|
287
269
|
- vendor/assets/javascripts/strophe.muc.js
|
288
270
|
- vendor/assets/stylesheets/flexselect.css
|
289
271
|
- vendor/assets/stylesheets/jquery.ui.chatbox.css
|
290
|
-
has_rdoc: true
|
291
272
|
homepage: https://github.com/ging/social_stream/wiki/Getting-Started-With-Social-Stream-Presence
|
292
273
|
licenses: []
|
293
|
-
|
294
274
|
post_install_message:
|
295
275
|
rdoc_options: []
|
296
|
-
|
297
|
-
require_paths:
|
276
|
+
require_paths:
|
298
277
|
- lib
|
299
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
278
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
300
279
|
none: false
|
301
|
-
requirements:
|
302
|
-
- -
|
303
|
-
- !ruby/object:Gem::Version
|
304
|
-
|
305
|
-
|
306
|
-
version: "0"
|
307
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
+
requirements:
|
281
|
+
- - ! '>='
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
version: '0'
|
284
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
308
285
|
none: false
|
309
|
-
requirements:
|
310
|
-
- -
|
311
|
-
- !ruby/object:Gem::Version
|
312
|
-
|
313
|
-
- 0
|
314
|
-
version: "0"
|
286
|
+
requirements:
|
287
|
+
- - ! '>='
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
315
290
|
requirements: []
|
316
|
-
|
317
291
|
rubyforge_project: social_stream-presence
|
318
|
-
rubygems_version: 1.
|
292
|
+
rubygems_version: 1.8.12
|
319
293
|
signing_key:
|
320
294
|
specification_version: 3
|
321
|
-
summary: Presence capabilities for Social Stream, the core for building social network
|
295
|
+
summary: Presence capabilities for Social Stream, the core for building social network
|
296
|
+
websites.
|
322
297
|
test_files: []
|
323
|
-
|
298
|
+
has_rdoc:
|