blatyo/bencodr — pull request #3 by quaternion (2012-03-23 12:32:53+00:00)
Title: Fix file decode

Fix `ArgumentError: invalid byte sequence in UTF-8` when decoding real files in ruby-1.9.2p312:

```ruby
File.bdecode('bencode.txt')
# or
file = File.open('bencode.txt', 'rb')
file.bdecode
```
Add necessary tests.
Remove `force_encoding('UTF-8')` from `File#bdecode`.
Fix minor error in readme file.
Also had update gem dependencies.