scorm_engine 0.5.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb7b48b89bca65bdb06ede4fe1cff9c182778eba1f1d87f36cf9dca77acf8f1e
4
- data.tar.gz: 8955c69310384981324f9e3460ef43a8885ad46325a4f4968d00489967d51918
3
+ metadata.gz: d74269c1ef26c6a9f5666cb0b34eb3030d96d4a94068f9461eb19e9f29f1680d
4
+ data.tar.gz: 27fd6f294d5fb5253ee040e2b1e096cd4d721561fd749529528d17b46c266bb5
5
5
  SHA512:
6
- metadata.gz: 25c7dd5e73b364501d0d95bbc72eed02ee31585fd78faaa7982a8767fbd7fc613ba1518c5ca44d97b072d5c1f09f0d1175138f3347e57e73a9a6aeb628f57fe6
7
- data.tar.gz: a65243ffefe6bd148e18c33f3ec8b8b2c7fff0ce57d7459c483d57f18119cbaafc85e856abec2c7205dba2caa04bbc03e03b216b6b1e065c029b08616f71bfd9
6
+ metadata.gz: 302e041de9c1f187b0cd5948e99291b6a775977bfb436b846a1065034e5b1ab7608867862204a3e3cf36ab786dea0a39e91d0ca6fb5f01acef4afe91c94d13a4
7
+ data.tar.gz: 73198c298c04155839cbcbe20a99933633d0c8e6e472c638ab4b2bb2c6d4b130e51256ca9ad691b4c32cb572dc20191253bc23ca6d7cf52f7299b0b33d4623f9
@@ -270,6 +270,7 @@ module ScormEngine
270
270
 
271
271
  if options[:post_back]
272
272
  body[:postBack] = {
273
+ url: options[:post_back][:url],
273
274
  authType: options[:post_back][:auth_type],
274
275
  userName: options[:post_back][:user_name],
275
276
  password: options[:post_back][:password],
@@ -78,7 +78,9 @@ module ScormEngine
78
78
  #
79
79
  #
80
80
  def self.get_total_seconds_tracked_from_api(options = {})
81
- # for why we check trailing spaces see https://basecamp.com/2819363/projects/15019959/messages/79573438
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", {})
@@ -1,3 +1,3 @@
1
1
  module ScormEngine
2
- VERSION = "0.5.3".freeze
2
+ VERSION = "0.6.0".freeze
3
3
  end
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.5.3
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-22 00:00:00.000000000 Z
11
+ date: 2018-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday