Skip to content
Mina tasks for Rpush deployment.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/mina
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
mina-rpush.gemspec

README.md

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!

You can’t perform that action at this time.