[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] rubytorrent 0.2 (bittorrent for ruby

William Morgan

1/10/2005 3:27:00 AM

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.rub...

Download 0.2 directly from:

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

RubyTorrent now has a mailing list:

http://rubyforge.org/mailman/listinfo/rubytor...

Have fun,

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




1 Answer

Andreas Habel

1/12/2005 6:51:00 PM

0

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"
[...]