srt 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +2 -0
- data/README.md +39 -15
- data/lib/srt/file.rb +69 -63
- data/lib/srt/line.rb +6 -2
- data/lib/srt/parser.rb +31 -0
- data/lib/srt/version.rb +1 -1
- data/lib/srt.rb +2 -1
- data/spec/file_spec.rb +440 -0
- data/spec/{blackswan-part1.srt → fixtures/blackswan-part1.srt} +1962 -1962
- data/spec/{blackswan-part2.srt → fixtures/blackswan-part2.srt} +1567 -1567
- data/spec/{bsg-s01e01.srt → fixtures/bsg-s01e01.srt} +2708 -2708
- data/spec/fixtures/invalid.srt +4 -0
- data/spec/{wotw-dubious.srt → fixtures/wotw-dubious.srt} +5025 -5025
- data/spec/line_spec.rb +25 -0
- data/spec/parser_spec.rb +38 -0
- data/spec/spec_helper.rb +2 -0
- data/srt.gemspec +2 -0
- metadata +42 -24
- data/spec/srt_spec.rb +0 -361
- /data/spec/{coordinates-dummy.srt → fixtures/coordinates-dummy.srt} +0 -0