Sha256: 75666cb66c7b2a3769a907f553366d78c0267c45a52e299866f00ad424406a89

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

SocialStream::Presence.setup do |config| 
  #Configures XMPP Server Domain
  config.domain = "localhost"
  #Configures Bosh Service Path
  #config.bosh_service = "http://xmpp-proxy/http-bind"
  #Configures Authentication Method: "cookie" or "password"
  config.auth_method = "cookie"
  #Configures XMPP Server Password
  config.xmpp_server_password = <%= SecureRandom.hex(64).inspect %>
  #Remote or local mode
  config.remote_xmpp_server = false
  #Scripts path to execute ejabberd scripts: local or remote
  config.scripts_path = "/scripts_path"
  #Ejabberd module path in the xmpp server
  config.ejabberd_module_path = "/lib/ejabberd/ebin"
  #Uncomment to enable Social Stream Presence
  #config.enable = true
  
  #Parameters for remote mode
  #SSH Login
  #config.ssh_domain = "domain"
  #config.ssh_user = "login"
  #Comment to allow SSH authentication with key instead of password
  #config.ssh_password= "password"

  #Configure to use a Xmpp Client on Rails App
  #Username of the the Social Stream Admin sid
  config.social_stream_presence_username = "social_stream-presence"
  #Configures Social Stream Rails App Password
  config.password = <%= SecureRandom.hex(64).inspect %>  

end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
social_stream-0.15.4 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.15.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.15.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.1.4 lib/generators/social_stream/presence/templates/initializer.rb