More tests, add
filename to Torrent, fast Database#include? method
I'm sorry I did not make separated Pull Requests, but I got carried out and pushed too much.
Torrent.filename: it'll contain the path a torrent was downloaded to. Add tests: Yamazaki now has more tests, covering the usual behaviour of the library. A travis.yml has been added too. `Database#size` returns the number of saved items inside the database.
…database also refactor spec_helper a bit
ruby1.9.3 is removed because `Array#bsearch` is not supported from <2.x ruby releases Roxas noticed a lot of imperfections and little problems, they're fixed now.
Filenames should be considered unique in the database, so duplicates are not allowed. If duplicates are present in the source file, they won't be deleted after the JSON load (and it would be very, very time consuming to do this, unless we switch to hashtables).
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.