Package: ruby-rubytorrent / 0.3-4

Metadata

Package Version Patches format
ruby-rubytorrent 0.3-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
convert_break_into_return_outside_a_loop.patch | (download)

lib/rubytorrent/controller.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 convert break statement out of a loop into a return
  Otherwise, this leads to an SyntaxError (Invalid break) with ruby1.9.1
fix_fetching_ascii_codes_from_chars.patch | (download)

lib/rubytorrent/message.rb | 17 11 + 6 - 0 !
lib/rubytorrent/peer.rb | 4 2 + 2 - 0 !
lib/rubytorrent/server.rb | 2 1 + 1 - 0 !
lib/rubytorrent/tracker.rb | 4 2 + 2 - 0 !
rtpeer-ncurses.rb | 2 1 + 1 - 0 !
5 files changed, 17 insertions(+), 12 deletions(-)

 extract ascii code of characters in way understandable for ruby1.9
 Using chr and ord method to pass from integers to the corresponding characters and vice versa
remove_rubygems_from_examples.patch | (download)

rtpeer-ncurses.rb | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 remove rubygems stuff from examples