srt 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +72 -10
- data/lib/srt/file.rb +174 -31
- data/lib/srt/line.rb +12 -0
- data/lib/srt/version.rb +1 -1
- data/spec/blackswan-part1.srt +1962 -0
- data/spec/blackswan-part2.srt +1567 -0
- data/spec/coordinates-dummy.srt +13 -0
- data/spec/srt_spec.rb +291 -48
- data/spec/wotw-dubious.srt +5025 -0
- metadata +12 -4
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: srt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -61,8 +61,12 @@ files:
|
|
61
61
|
- lib/srt/file.rb
|
62
62
|
- lib/srt/line.rb
|
63
63
|
- lib/srt/version.rb
|
64
|
+
- spec/blackswan-part1.srt
|
65
|
+
- spec/blackswan-part2.srt
|
64
66
|
- spec/bsg-s01e01.srt
|
67
|
+
- spec/coordinates-dummy.srt
|
65
68
|
- spec/srt_spec.rb
|
69
|
+
- spec/wotw-dubious.srt
|
66
70
|
- srt.gemspec
|
67
71
|
homepage: https://github.com/cpetersen/srt
|
68
72
|
licenses: []
|
@@ -78,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
82
|
version: '0'
|
79
83
|
segments:
|
80
84
|
- 0
|
81
|
-
hash:
|
85
|
+
hash: 1816904703886705092
|
82
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
87
|
none: false
|
84
88
|
requirements:
|
@@ -87,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
91
|
version: '0'
|
88
92
|
segments:
|
89
93
|
- 0
|
90
|
-
hash:
|
94
|
+
hash: 1816904703886705092
|
91
95
|
requirements: []
|
92
96
|
rubyforge_project:
|
93
97
|
rubygems_version: 1.8.24
|
@@ -95,5 +99,9 @@ signing_key:
|
|
95
99
|
specification_version: 3
|
96
100
|
summary: Ruby gem for parsing subtitle files.
|
97
101
|
test_files:
|
102
|
+
- spec/blackswan-part1.srt
|
103
|
+
- spec/blackswan-part2.srt
|
98
104
|
- spec/bsg-s01e01.srt
|
105
|
+
- spec/coordinates-dummy.srt
|
99
106
|
- spec/srt_spec.rb
|
107
|
+
- spec/wotw-dubious.srt
|