Home
Testing 1,2,3... - January 27th, 2005 [entries|archive|friends|userinfo]
djberg96

[ website | Sapphire ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| Ruby Home RubyForge RAA comp.lang.ruby Ruby Documentation ]

January 27th, 2005

Time reporting [Jan. 27th, 2005|03:20 pm]
As of today our web based time reporting software no longer works in IE. However, as of today it DOES work in Firefox. It didn't previously.

Haha.
link2 comments|post comment

New Ruby Project Launched [Jan. 27th, 2005|08:41 pm]
I've launched a new project on RubyForge called Solaris Utils. I've already released the first version of solaris-file, which extends Ruby's File class to handle ACL files on Solaris. Soon, I'll move over the solaris-kstat package from SourceForge.

Here's a quick taste of the ACL interface
require "solaris/file"

file = "somefile.txt"
acl  = "user::rw-,user:nobody:r--,group::r--,group:sys:r--,mask:r--,other:r--"

# Instance Methods
File.open(file){ |fh|
   p fh.trivial?           # was true
   fh.write_acl_text(acl)
   p fh.trivial?           # now false
}

# Class Methods
File.read_acl_text # "user::rw-,user:nobody:r--,group::r--,group:sys:r--,mask:r--,other:r--"

I also plan on adding support for extended file attributes and all the methods associated with them. I haven't settled on the API yet, so it's BETA for now. I dunno if I like the method names.
linkpost comment

navigation
[ viewing | January 27th, 2005 ]
[ go | Previous Day|Next Day ]

Advertisement