Sha256: c0266aa26bdb275503cfa64cc187a5bcc7ac00860f498a0c79ca5c043250448b

Contents?: true

Size: 250 Bytes

Versions: 37

Compression:

Stored size: 250 Bytes

Contents

module Rpush
  def self.push
    require 'rpush/daemon'

    Rpush.config.push = true
    Rpush::Daemon.common_init
    Rpush::Daemon::Synchronizer.sync
    Rpush::Daemon::Feeder.start(true) # non-blocking
    Rpush::Daemon::AppRunner.stop
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
rpush-9.1.0 lib/rpush/push.rb
rpush-9.0.0 lib/rpush/push.rb
rpush-8.0.0 lib/rpush/push.rb
rpush-7.0.1 lib/rpush/push.rb
rpush-7.0.0 lib/rpush/push.rb
rpush-6.0.1 lib/rpush/push.rb
rpush-6.0.0 lib/rpush/push.rb
rpush-5.4.0 lib/rpush/push.rb
rpush-5.3.0 lib/rpush/push.rb
rpush-5.2.0 lib/rpush/push.rb
rpush-5.1.0 lib/rpush/push.rb
rpush-5.0.0 lib/rpush/push.rb
rpush-4.2.0 lib/rpush/push.rb
rpush-4.1.1 lib/rpush/push.rb
rpush-4.1.0 lib/rpush/push.rb
rpush-4.0.1 lib/rpush/push.rb
rpush-4.0.0 lib/rpush/push.rb
rpush-3.3.1 lib/rpush/push.rb
rpush-3.3.0 lib/rpush/push.rb
rpush_extended-3.2.6 lib/rpush/push.rb