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

Version Path
social_stream-presence-0.8.0 lib/tasks/presence/synchronize.rake
social_stream-0.21.4 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.7.5 lib/tasks/presence/synchronize.rake
social_stream-presence-0.7.4 lib/tasks/presence/synchronize.rake
social_stream-0.21.3 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.7.3 lib/tasks/presence/synchronize.rake
social_stream-0.21.2 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.7.2 lib/tasks/presence/synchronize.rake
social_stream-0.21.1 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.7.1 lib/tasks/presence/synchronize.rake
social_stream-0.21.0 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.7.0 lib/tasks/presence/synchronize.rake
social_stream-presence-0.6.3 lib/tasks/presence/synchronize.rake
social_stream-0.20.2 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.6.2 lib/tasks/presence/synchronize.rake
social_stream-0.20.1 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.6.1 lib/tasks/presence/synchronize.rake
social_stream-0.20.0 presence/lib/tasks/presence/synchronize.rake
social_stream-presence-0.6.0 lib/tasks/presence/synchronize.rake
social_stream-presence-0.5.4 lib/tasks/presence/synchronize.rake