ruby-dicom 0.9.2 is out!

38 views
Skip to first unread message

Christoffer Lervåg

unread,
Oct 16, 2011, 3:30:56 PM10/16/11
to ruby-...@googlegroups.com
Hello everyone!

Version 0.9.2 of the ruby-dicom gem has now been released. Actually, some of you may have already noticed, as it was published a few days ago. I've been somewhat busy, so I didn't get the time to make the announcement yet.

This is a fairly minor improvement, with 3 new features:
* Both upper case and lower case can be used when using tag strings with ruby-dicom's methods.
* All logging (message output) in ruby-dicom is now handled by a proper Logger class (either the Standard library's Logger, or if running with a Rails application, Rails' logger is used).
* DObject#new has been offloaded with a few new class methods to handle DICOM object creation in the various circumstances we support. From now on, using DObject#new for anything else than creating a new (empty) DICOM object has been deprecated. The new methods are:
  DObject#read (for reading a DICOM file - the most used case I guess)
  DObject#parse (for reading/parsing a DICOM string)
  DObject#get (retrieving a DICOM file through http - experimental feature)

Some resources:

Installation:
gem install dicom

Documentation:

README and source code:

Issues:

Please check it out and don't hesitate to give me any feedback!

Chris

Christoffer Lervåg

unread,
Oct 23, 2011, 6:58:02 AM10/23/11
to ruby-...@googlegroups.com
An update regarding the ruby-dicom 0.9.2 gem release:

It seems that I by accident have used a method in the new Logger implementation which is only part of Ruby 1.9 (public_send). This means the 0.9.2 gem will not work on Ruby 1.8. This was not intended, but since I have switched all my Ruby environments to 1.9 I didn't detect it.

Now that it has happened though, I think Im not going back. Ruby 1.8 support was planned to be ended anyway next year.

For those of you who is still on Ruby 1.8: Remember, ruby-dicom 0.9.1 will always be there for you, so just make sure to specify that version in your applications.

Regards,
Chris
Reply all
Reply to author
Forward
0 new messages