scorm_engine 0.5.3 → 0.6.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d74269c1ef26c6a9f5666cb0b34eb3030d96d4a94068f9461eb19e9f29f1680d
|
4
|
+
data.tar.gz: 27fd6f294d5fb5253ee040e2b1e096cd4d721561fd749529528d17b46c266bb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 302e041de9c1f187b0cd5948e99291b6a775977bfb436b846a1065034e5b1ab7608867862204a3e3cf36ab786dea0a39e91d0ca6fb5f01acef4afe91c94d13a4
|
7
|
+
data.tar.gz: 73198c298c04155839cbcbe20a99933633d0c8e6e472c638ab4b2bb2c6d4b130e51256ca9ad691b4c32cb572dc20191253bc23ca6d7cf52f7299b0b33d4623f9
|
@@ -78,7 +78,9 @@ module ScormEngine
|
|
78
78
|
#
|
79
79
|
#
|
80
80
|
def self.get_total_seconds_tracked_from_api(options = {})
|
81
|
-
#
|
81
|
+
# There is a bug in the API that returns a trailing space sometimes.
|
82
|
+
# I swear I also saw `totalSecondsTracked` as part of `score`, but can't find it now.
|
83
|
+
# However, since I intentionally did it I'm going to leave it for now.
|
82
84
|
seconds = options["totalSecondsTracked"]
|
83
85
|
seconds ||= options["totalSecondsTracked "]
|
84
86
|
score = options.fetch("score", {})
|
data/lib/scorm_engine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scorm_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Hallstrom
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|