Ruby-stemp - Secure tempfile extension for Ruby

Hi all,

I’ve just released ruby-stemp, a secure tempfile extension for Ruby.

Pure Ruby tempfile implementations appear to suffer from well-known
race conditions. The ‘mkstemp’ family of functions now popular on
Linux & *BSD attempt to work around these issues. This module makes
them available to Ruby programmers on platforms where they are
present.

This is a Ruby extension in C that simply wraps mkdtemp(3), mkstemp(3)
and tmpfile(3). It ought to be useful to people writing Ruby code who
need tempfiles/directories without the usual check-name-then-create
race condition.

Project page, documentation, etc. is at http://ruby-stemp.rubyforge.org/

Do let me know if you find this extension useful, or come across any
problems. Thanks!

Cian

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs