scorm_engine 0.6.5 → 0.6.6
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c507da57a7a18d0c058187941df270ff46ef49adf40a3014e5db7634e171966
|
|
4
|
+
data.tar.gz: fcfdde88f3edc1626bb5d8706baf44e57e435a3261a7c97b82db9fbd79f0a9f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e879b2fa7079cf528999dbc8858b2a6e7ce4ae2e98e956981ccc4febb08bfe1386978ba4d4a0378224d57c64f4d1f892c2fe41ef7dfd05b7f786917af1b58491
|
|
7
|
+
data.tar.gz: 1f008d07e1816cb3e908b2329c613d5bb08b8e368c1e7a1519f248ded21b4cd96c836e4050a70289924f1ad1e40c7acd042ece0304b3557bf9e918adcd09a813
|
|
@@ -91,7 +91,7 @@ module ScormEngine
|
|
|
91
91
|
response = get("destinations/#{options[:destination_id]}")
|
|
92
92
|
|
|
93
93
|
# merge options to pick up destination_id which isn't passed back in the response
|
|
94
|
-
result = response.success? ? ScormEngine::Models::Destination.new_from_api(options.merge(response.body)) : nil
|
|
94
|
+
result = response.success? ? ScormEngine::Models::Destination.new_from_api({ "id" => options[:destination_id] }.merge(response.body)) : nil
|
|
95
95
|
|
|
96
96
|
Response.new(raw_response: response, result: result)
|
|
97
97
|
end
|
data/lib/scorm_engine/version.rb
CHANGED
|
@@ -102,6 +102,7 @@ RSpec.describe ScormEngine::Api::Endpoints::Destinations do
|
|
|
102
102
|
it "sucessfully creates the destination attributes" do
|
|
103
103
|
aggregate_failures do
|
|
104
104
|
destination = response.result
|
|
105
|
+
expect(destination.id).to eq destination_options[:destination_id]
|
|
105
106
|
expect(destination.name).to eq destination_options[:name]
|
|
106
107
|
end
|
|
107
108
|
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.6.
|
|
4
|
+
version: 0.6.6
|
|
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-09-
|
|
11
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|