[ANN] rubytorrent 0.2 (bittorrent for ruby)

Hello all,

I'm happy to release RubyTorrent version 0.2. RubyTorrent is a pure-Ruby
BitTorrent peer library. Changes in version 0.2 include many bugfixes
and API enhancements, plus (finally!) some API documentation.

RubyTorrent has a RubyForge page:

  http://rubytorrent.rubyforge.org

Download 0.2 directly from:

  http://rubyforge.org/frs/?group_id=498&release_id=1405

RubyTorrent now has a mailing list:

  http://rubyforge.org/mailman/listinfo/rubytorrent-devel

Have fun,

···

--
William <wmorgan-ruby-talk@masanjin.net>

Hey William,

I did some more testing on version 0.2 and found .torrent structures with unconsidered fields.
btw, great job so far!

Andreas

Here is my changed code:

class MetaInfoInfo
[...]
       s.field :length => Integer,
               :md5sum => String,
               :name => String,
               :piece_length => Integer,
               :pieces => String,
               :publisher_url => String,
               :publisher_url_utf8 => String,
               :files => MetaInfoInfoFile,
               :name_utf8 => String,
        :sha1 => String,
               :ed2k => String
       s.label :piece_length => "piece length",
        :name_utf8 => "name.utf-8",
               :publisher_url => "publisher-url",
               :publisher_url_utf8 => "publisher-url.utf-8"
[...]

class MetaInfo
[...]
  s.field :info => MetaInfoInfo,
                 :announce => URI::HTTP,
                 :announce_list => Array,
                 :creation_date => Time,
                 :comment => String,
                 :created_by => String,
                 :encoding => String,
                 :comment_utf8 => String,
                 :torrent_name => String
         s.label :announce_list => "announce-list",
                 :comment_utf8 => "comment.utf-8",
                 :creation_date => "creation date",
                 :created_by => "created by",
                 :torrent_name => "torrent filename"
[...]