
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
h1. Growl Notifier
Copyright (c) 2007-2008 Satoshi Nakagawa psychs@limechat.net Exported as a gem by Damien MATHIEU 42@dmathieu.com You can redistribute it and/or modify it under the same terms as Ruby.
h2. Overview
Growl Notifier is a class to post notifications to the Growl daemon. And also it can receive clicked and timeout notifications from Growl.
h2. Requirements
Mac OS X 10.4 or 10.5 Ruby 1.8 (http://ruby-lang.org/) RubyCocoa (http://rubycocoa.sourceforge.net/)
h2. How to install
The Growl Notifier is a gem. So to install it, you only need to do :
gem sources -a http://gems.github.com sudo gem install dmathieu-growlcocoa
And you're ready to go :)
h2. How to use Growl Notifier
A simple example:
require 'growl'
g = Growl::Notifier.alloc.init
g.start('test_app', ['message_type'])
g.notify('message_type', 'title', 'desc')
How to receive clicked and timeout notifications in your application:
require 'growl'
class GrowlController < OSX::NSObject def init @g = Growl::Notifier.alloc.initWithDelegate(self) @g.start('test_app', ['message_type']) @g.notify('message_type', 'title', 'desc', 'click_context') self end
def growl_onClicked(sender, context) puts 'clicked' end
def growl_onTimeout(sender, context) puts 'timeout' end
end
FAQs
Unknown package
We found that dmathieu-growlcocoa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.