Sha256: 6537a788f1d23d8dd383e14256e7b2524594e291b5e469288bf133273b7cd926
Contents?: true
Size: 854 Bytes
Versions: 76
Compression:
Stored size: 854 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::synchronizePresence 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::synchronizeRosters puts "Rosters Synchronization complete" end end end
Version data entries
76 entries across 76 versions & 3 rubygems