A Ruby logger that uses native Mac/Linux notifications.
Gets in yo face when you write ruby.
Add this line to your application's Gemfile under the :development
tree:
gem 'kvetch'
And then execute:
$ bundle
Some examples of how to use kvetch:
Kvetch.yell("yo homie there's a problem") #=> String
Kvetch.yell("yo homie there's a problem", { :sound => "Frog" }) #=> String
Kvetch.silence!; Kvetch.yell("yo homie there's a problem") #=> false
Kvetch.silence!; Kvetch.unsilence!; Kvetch.yell("stop that") #=> String
Kvetch.yell
's second parameter is a hash of symbols/values based on the terminal-notifier documentation.
This repo depends upon my fork of @alloy's terminal-notifier
gem. To clone with submodules:
$ git clone --recursive https://github.com/JacksonGariety/terminal-notifier.git
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request