social_stream-presence 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ Group.class_eval do
2
+ include SocialStream::Presence::Models::GroupManager
3
+ end
@@ -0,0 +1,3 @@
1
+ Tie.class_eval do
2
+ include SocialStream::Presence::Models::BuddyManager
3
+ end
@@ -4,7 +4,7 @@ class SocialStream::Presence::InstallGenerator < Rails::Generators::Base
4
4
  source_root File.expand_path('../templates', __FILE__)
5
5
 
6
6
  def create_initializer_file
7
- template 'initializer.rb', 'config/initializers/social_stream_presence.rb'
7
+ template 'initializer.rb', 'config/initializers/social_stream-presence.rb'
8
8
  end
9
9
 
10
10
  def create_migration_file
@@ -1,18 +1,6 @@
1
1
  module SocialStream
2
2
  module Presence
3
3
  class Engine < Rails::Engine
4
- initializer "social_stream-presence.tie" do
5
- ActiveSupport.on_load(:tie) do
6
- include SocialStream::Presence::Models::BuddyManager
7
- end
8
- end
9
-
10
- initializer "social_stream-presence.group" do
11
- ActiveSupport.on_load(:group) do
12
- include SocialStream::Presence::Models::GroupManager
13
- end
14
- end
15
-
16
4
  initializer "social_stream-presence.views.settings" do
17
5
  SocialStream::Views::Settings.module_eval do
18
6
  include SocialStream::Views::Settings::Presence
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Presence
3
- VERSION = "0.15.0"
3
+ VERSION = "0.16.0"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  # Gem dependencies
22
- s.add_runtime_dependency('social_stream-base', '~> 0.22.0')
22
+ s.add_runtime_dependency('social_stream-base', '~> 0.23.0')
23
23
 
24
24
  s.add_runtime_dependency "xmpp4r"
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-presence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-28 00:00:00.000000000 Z
12
+ date: 2012-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: social_stream-base
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.22.0
21
+ version: 0.23.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.22.0
29
+ version: 0.23.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: xmpp4r
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -180,6 +180,8 @@ files:
180
180
  - app/assets/stylesheets/chat.css.scss
181
181
  - app/assets/stylesheets/social_stream-presence.css
182
182
  - app/controllers/xmpp_controller.rb
183
+ - app/decorators/social_stream/base/models/group_decorator.rb
184
+ - app/decorators/social_stream/base/models/tie_decorator.rb
183
185
  - app/helpers/xmpp_helper.rb
184
186
  - app/views/chat/_contacts.html.erb
185
187
  - app/views/chat/_index.html.erb