social_stream-presence 0.0.7 → 0.0.8

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.
@@ -14,8 +14,8 @@
14
14
  <script type="text/javascript">
15
15
 
16
16
  //Global variables
17
- var BOSH_SERVICE = '<%= SocialStream::Presence.bosh_service || root_url + "http-bind" %>';
18
- var domain = '<%=SocialStream::Presence.domain%>';
17
+ var BOSH_SERVICE = '<%= SocialStream::Presence.bosh_service || root_url + "http-bind/" %>';
18
+ var domain = '<%=SocialStream::Presence.domain || controller.request.host %>';
19
19
  var user_name = '<%=current_user.name%>';
20
20
  var user_slug = '<%=current_user.slug%>';
21
21
  var user_jid = '<%=current_user.slug%>'+"@"+domain;
@@ -1,5 +1,5 @@
1
1
  module Socialstream
2
2
  module Presence
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: social_stream-presence
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.7
5
+ version: 0.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Aldo Gordillo