Sha256: acab332d7c538adf06a96e9e3718bd61153464b1eed0d7d84bfe9f918adec5fb
Contents?: true
Size: 856 Bytes
Versions: 8
Compression:
Stored size: 856 Bytes
Contents
namespace :presence do desc 'Synchronize Xmpp Server with Social Stream Rails Application' task :synchronize => [ 'presence:synchronize:connections', 'presence:synchronize:rosters' ] namespace :synchronize do desc "Synchronize user presence" task :connections => :environment do puts "Starting presence:synchronize:connections" SocialStream::Presence::XmppServerOrder::synchronize_presence puts "Synchronization complete" end desc "Synchronize Xmpp Server database with Social Stream Rails Application database" desc "Remove all rosters and populate rosters from Social Stream data." task :rosters => :environment do puts "Starting presence:synchronize:rosters" SocialStream::Presence::XmppServerOrder::synchronize_rosters puts "Rosters Synchronization complete" end end end
Version data entries
8 entries across 8 versions & 2 rubygems