awslive-poster 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awslive-poster/awslive_poster.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df64c7f470bd9e2d44a2198ec794d6573f4e4d516dc5cbfcdd16a49ae03ea9e2
|
4
|
+
data.tar.gz: 6f2f54a4907142a17b4358d334d322055bec9bf08a833a18d8cb4069ae0967c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad5b38a8ab418dd169dc0b9e49bd07f68862c05ae30912f07e85ec9f90c1973b58f55a0bdd38b315408e1cb6a2936041c1c62e47da4c971567cb6c9203c01a21
|
7
|
+
data.tar.gz: b1d55f9bb287bf8f426b5d09e71161f078fa049b2097aeb7a403a8bc020eef04fa4e1e8f50da64c0ae2a4055912801bc6a6d62852831ce5226f3b59b74afd4d9
|
@@ -76,7 +76,7 @@ module Awslive
|
|
76
76
|
channel_start_time = Time.iso8601(start_time).to_i
|
77
77
|
current_time = Time.now.utc.to_i
|
78
78
|
diff_time = current_time - channel_start_time
|
79
|
-
image_index = (diff_time / interval.to_i).to_i
|
79
|
+
image_index = (diff_time / interval.to_i).to_i.round
|
80
80
|
index = image_index.to_s.rjust(5,'0')
|
81
81
|
index
|
82
82
|
end
|
@@ -152,4 +152,4 @@ module Awslive
|
|
152
152
|
video_info
|
153
153
|
end
|
154
154
|
end
|
155
|
-
end
|
155
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awslive-poster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maheshwaran G
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|