On Feb 16, 7:24=A0am, Robert Gleeson <r... / flowof.info> wrote:
> Hey
>
> For anyone on OSX who has a few minutes to spare you might "Dia" a fun
> project to play around with.
>
> It can run a Ruby block or an OSX Application under a sandbox with five
> different profiles that affect the restrictions of the sandbox.
>
> Here is a quick example:
>
> require 'rubygems'
> require 'dia'
> require 'open-uri'
>
> Dia::SandBox.new(Dia::Profiles::NO_INTERNET).run_with_block do
> =A0 open(URI.parse('http://www.google.com')).read# Exception raised.
> end
>
> If anyone is curious, it use's the features exposed in the C header file
> "sandbox.h" on OSX to create a sandbox ..
>
> I released 1.1 today .
>
> http://gemcutter.org/gems/diahttp://github.com/robgleeson/dia

Looks interesting. I'm curious about the name, though. When I think of
"Dia" I first think of this:

http://projects.gnome.org/dia/

Regards,

Dan