dash_timeline_validator 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: 5b74f2fdd7ec49805efa703b0a85468501b09ed2f54038532b18f3fd83836db6
4
- data.tar.gz: 4462c95fecc23e84bd784ea836a1fee498407217db724c9ce45d6fae4b1d7736
3
+ metadata.gz: 52e5a4f17e6dd08f698799e4e87fcdcde70e3294a39cfefa65c708b2e28127ff
4
+ data.tar.gz: 54cc7973bbba9118ee09cb5f338656bd8a2119e61f2dc5ff878f2b66d7660163
5
5
  SHA512:
6
- metadata.gz: 1fde36835fd4181517bebf42ab875360f0090ebce81311ba2e982b6afe414efd961f46331cad0162b0c5c8b84ca3cf785485c62337180479f34369efac9466b7
7
- data.tar.gz: 29269ab73e6d22e27c3197d3f436e7c5e7b917727a6dde16ef795ed577a55e82fa0b4af2898165a4b6e9896daecb0d05d999ad9d8199553e9d6b735d80fb3491
6
+ metadata.gz: 873c711887dfe229a49c90fe5849d8263a00b080daa4e32dba16141686133cd382788efef9614efc9b26cd86f52373c93a4950ada7d3b75f6e1adf0816bb2f8e
7
+ data.tar.gz: cd346325770dd7365a650c20fb8de56417846801fede5af75ac1bc589d1407d37fb5edddb1c8e12909245b1c78c831923ae55213670b19bc15f377e3b735442e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dash_timeline_validator (0.1.1)
4
+ dash_timeline_validator (0.1.2)
5
5
  awesome_print (~> 1.8.0)
6
6
  iso8601 (~> 0.10.1)
7
7
  ox (~> 2.9.0)
@@ -2,11 +2,11 @@ require "securerandom"
2
2
 
3
3
  module DashTimelineValidator
4
4
  class Options
5
- ACCEPTABLE_DRIFT = ENV["ACCEPTABLE_DRIFT"] || 2
6
- DEFAULT_PRESENTATION_DELAY = ENV["DEFAULT_PRESENTATION_DELAY"] || 10
7
- BUFFERED_SEGMENTS = ENV["BUFFERED_SEGMENTS"] || 2
8
- VERIFY_SEGMENTS_DURATION = ENV["VERIFY_SEGMENTS_DURATION"] || false
9
- ANALYZER_FOLDER = ENV["ANALYZER_FOLDER"] || "data/#{SecureRandom.uuid}".freeze
10
- ANALYZER_MANIFEST_PATH = ENV["ANALYZER_MANIFEST_PATH"] || "#{ANALYZER_FOLDER}/manifest.mpd".freeze
5
+ ACCEPTABLE_DRIFT = (ENV["ACCEPTABLE_DRIFT"] || 2).to_i
6
+ DEFAULT_PRESENTATION_DELAY = (ENV["DEFAULT_PRESENTATION_DELAY"] || 10).to_i
7
+ BUFFERED_SEGMENTS = (ENV["BUFFERED_SEGMENTS"] || 2).to_i
8
+ VERIFY_SEGMENTS_DURATION = ENV["VERIFY_SEGMENTS_DURATION"].eql? "true" || false
9
+ ANALYZER_FOLDER = (ENV["ANALYZER_FOLDER"] || "data/#{SecureRandom.uuid}").freeze
10
+ ANALYZER_MANIFEST_PATH = (ENV["ANALYZER_MANIFEST_PATH"] || "#{ANALYZER_FOLDER}/manifest.mpd").freeze
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module DashTimelineValidator
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dash_timeline_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ana Carolina Castro