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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 797c7b2806e2568fa25daa1a9ee6e35a923fc648
4
- data.tar.gz: f6926c05b71a1df73d9ba5330d26829b3fee939c
3
+ metadata.gz: 86f9a1b4c8804bd7074b68d1ba4f7d494cb04af2
4
+ data.tar.gz: 007ef1c78e53c80faccfe1c5a1aa2c84d6c96bc9
5
5
  SHA512:
6
- metadata.gz: 48f697a73e6e4e0dbc938a8aac50caa97d0c21b55af40841dfc27006284884a5ab91ab479936a006ab4fa057d1651e18c7fe439774f1d30b293b7c8cda105d75
7
- data.tar.gz: d70bf06e2f690e6f448a22921dafbe8434a07896c948596f7ad9df4ce71cfb81473176953f1bda247647e7370323dfc630ce685d4cffff9dedcefea43430a08b
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=MPEGTS")
115
- header << "\nX-TIMESTAMP-MAP=MPEGTS:900000,LOCAL:00:00:00.000"
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 = 'webvtt-ruby'
3
- s.version = '0.2.1'
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'
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) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webvtt-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Celeste