Socket
Book a DemoInstallSign in
Socket

ruby-snarl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruby-snarl

0.0.8
bundlerRubygems
Version published
Maintainers
1
Created
Source

You must install snarl for this to work: http://www.fullphat.net/snarl.html, it is a GPL growl like notification system for Win32.

I saw zenspiders autotest movie and cried once again that for a variety of reasons primarly centered around my employment I am still using a Win32 platform for development. What beautiful test notifications -- I needed it.

I decided it would be much easier to implement then to get my office manager to get me a Mac (not to mention most of my customers are using Win32), so I started looking into the issue. At the South East Michigan Ruby Users Group (www.rubymi.org) I mentioned it and Winston Tsang mentioned snarl and even found the somewhat difficult to google for link.

I started writing a C extention, but remembered DL and decided it would be much easier to distrubute a pure ruby extension -- so here it is.

I would like to thank Gordon Thiesfeld, he found the great icons at famfamfam.com and I stole much of his autotest (in preference to the) one I originally wrote -- of course I hacked it up, so if anything does not work I am sure it is all my fault. He also helped layout the code for gemification.

If you have any problems please let me know. Also if you have any pointers on providing tests for this code please contact me.

A few autotest notes, I changed line 71 in autotest.rb

*** autotest.rb Mon Aug 7 12:47:30 2006 --- \tmp\autotest.rb Mon Aug 7 12:20:29 2006

*** 68,74 **** @files = Hash.new Time.at(0) @files_to_test = Hash.new { |h,k| h[k] = [] } @exceptions = false ! @libs = '.:lib:test' @output = $stderr @sleep = 2 end --- 68,74 ---- @files = Hash.new Time.at(0) @files_to_test = Hash.new { |h,k| h[k] = [] } @exceptions = false ! @libs = %w[. lib test].join(File::PATH_SEPARATOR) @output = $stderr @sleep = 2 end

And if you are using a 4NT (www.jpsoft.com) shell, this helps as well (works fine if you are using cmd.exe)

*** 208,214 ****

  unless full.empty? then
    classes = full.map {|k,v| k}.flatten.join(' ')

! cmds << "#{ruby} -I#{@libs} -rtest/unit -e "%w[#{classes}].each { |f| load f }" | unit_diff -u" end

  partial.each do |klass, methods|

--- 208,214 ----

  unless full.empty? then
    classes = full.map {|k,v| k}.flatten.join(' ')

! cmds << "#{ruby} -I#{@libs} -rtest/unit -e "%%w[#{classes}].each { |f| load f }" | unit_diff -u" end

  partial.each do |klass, methods|

FAQs

Package last updated on 25 Jul 2009

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.