Project

mina-rpush

0.01
No commit activity in last 3 years
No release in over 3 years
Mina tasks for Rpush deployment.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0

Runtime

>= 0
 Project Readme

mina-rpush

Mina tasks for rpush deployment.

This version of gem is compatible with Mina 1.x, check out older version for 0.3 support

Installation

# Gemfile
gem 'mina-rpush', require: false

Usage

# config/deploy.rb

require 'mina/rpush'

task deploy: :environment do
  deploy do
    ...

    on :launch do
      ...
      invoke 'rpush:restart'
    end
  end
end

Tasks

mina rpush:restart  # Restart rpush (stop + start)
mina rpush:start    # Start rpush
mina rpush:stop     # Stop rpush
mina rpush:push     # Deliver all pending notifications
mina rpush:status   # Shows status of the running Rpush instance

Thanks

Thanks to the author of mina-clockwork for giving me a starting point in developing this gem.

Contributing

Feel free to contribute!