webvtt-ruby 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/segmenter.rb +2 -2
- data/webvtt-ruby.gemspecs +9 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86f9a1b4c8804bd7074b68d1ba4f7d494cb04af2
|
4
|
+
data.tar.gz: 007ef1c78e53c80faccfe1c5a1aa2c84d6c96bc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d371d84f3946ebc16c42517b3360a660e2f44318fb2f0403e641e130d00836845b1657c0de38171ab01b9a6de4e7897c0d1832baa2a06e2e1f902af6be53832d
|
7
|
+
data.tar.gz: 4a6d51ea3bb451d3841fecd958d8727cb983ff57faa666a55abdebed72449da4864c6ba9962dd53c6c71ced4679dfee0db5073cc661c2c9a68e989aa0513d783
|
data/lib/segmenter.rb
CHANGED
@@ -111,8 +111,8 @@ module WebVTT
|
|
111
111
|
filename = sprintf(@options[:output], i)
|
112
112
|
header = @webvtt.header
|
113
113
|
|
114
|
-
if !header.include?("X-TIMESTAMP-MAP
|
115
|
-
header << "\nX-TIMESTAMP-MAP=MPEGTS:
|
114
|
+
if !header.include?("X-TIMESTAMP-MAP")
|
115
|
+
header << "\nX-TIMESTAMP-MAP=MPEGTS:000000,LOCAL:00:00:00.000"
|
116
116
|
end
|
117
117
|
|
118
118
|
content = [header, f.map{|c| c.to_webvtt }.join("\n\n")].join("\n\n")
|
data/webvtt-ruby.gemspecs
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
|
-
s.name
|
3
|
-
s.version
|
4
|
-
s.summary
|
5
|
-
s.description
|
6
|
-
s.authors
|
7
|
-
s.email
|
8
|
-
s.homepage
|
9
|
-
s.license
|
10
|
-
s.bindir
|
2
|
+
s.name = 'webvtt-ruby'
|
3
|
+
s.version = '0.2.2'
|
4
|
+
s.summary = "WebVTT parser and segmenter in ruby"
|
5
|
+
s.description = "WebVTT parser and segmenter in ruby for HTML5 and HTTP Live Streaming (HLS)."
|
6
|
+
s.authors = ["Bruno Celeste"]
|
7
|
+
s.email = 'bruno@heywatch.com'
|
8
|
+
s.homepage = 'https://github.com/HeyWatch/webvtt-ruby'
|
9
|
+
s.license = 'MIT'
|
10
|
+
s.bindir = 'bin'
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
12
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
13
13
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|