notifies

Simple notifications with Growl and OS X Notification Center.

Installation

In your Gemfile:

gem 'notifies', '~> 0.1.0'

Manually:

gem install notifies

Usage

It’s as simple as:

Notifies.notify 'Hello World!'

This will automatically select and use the first available notifier.

The method returns:

Notification Options

The following options are available:

Notifies.notify 'Hello World!', type: :ok, title: 'My App', subtitle: 'Notifications'

Aliases

You can uses these aliases instead of passing the :type option:

Notifies.notify_ok 'It works!'
Notifies.notify_info 'Useful information'
Notifies.notify_warning 'Beware'
Notifies.notify_error 'Broken'

Contributing

Please add a changelog entry for new features and bug fixes. Writing specs will get your code pulled faster.

Meta