Build Status Coverage Status

Guard::Pushover

Send Pushover notifications with Guard!

Installation

$ gem install guard-pushover

or

# Add to Gemfile
gem 'guard/pushover

or install it yourself

$ git clone [email protected]:joenas/guard-pushover.git
$ cd guard-pushover
$ rake install

Usage

To generate template:

$ guard init pushover

Example

guard :pushover, :api_key => '', :user_key => '' do
  watch(/lib\/(.*).rb/)
end

Available options

:title => 'Title'            # Custom title, default is 'Guard'
:priority => 1               # Priority, default is 0
:message => "Filename: %s"   # Custom message, using sprintf. 
:ignore_additions => true    # Ignores added files
:ignore_changes => true      # Ignores changed files
:ignore_removals => true     # Ignores removed files

Read more on Pushover API.

Guard::Pushover will send a message like "[filename] was changed/removed/added". Support will be added for custom messages.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request