srt 0.0.5 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +7 -1
- data/README.md +39 -15
- data/lib/srt/file.rb +73 -66
- data/lib/srt/line.rb +12 -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 +446 -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 +54 -0
- data/spec/parser_spec.rb +42 -0
- data/spec/spec_helper.rb +2 -0
- data/srt.gemspec +2 -0
- metadata +50 -32
- data/spec/srt_spec.rb +0 -361
- /data/spec/{coordinates-dummy.srt → fixtures/coordinates-dummy.srt} +0 -0