scorm_engine 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scorm_engine/api/endpoints/dispatches.rb +1 -0
- data/lib/scorm_engine/api/endpoints/registrations.rb +5 -5
- data/lib/scorm_engine/configuration.rb +3 -2
- data/lib/scorm_engine/faraday/connection.rb +1 -1
- data/lib/scorm_engine/models/course.rb +35 -6
- data/lib/scorm_engine/models/course_configuration.rb +3 -3
- data/lib/scorm_engine/models/course_import.rb +22 -6
- data/lib/scorm_engine/models/destination.rb +9 -4
- data/lib/scorm_engine/models/dispatch.rb +44 -5
- data/lib/scorm_engine/models/dispatch_zip.rb +20 -2
- data/lib/scorm_engine/models/learner.rb +14 -4
- data/lib/scorm_engine/models/registration.rb +67 -22
- data/lib/scorm_engine/models/registration_activity_detail.rb +21 -11
- data/lib/scorm_engine/models/registration_configuration.rb +3 -3
- data/lib/scorm_engine/models/registration_launch_history.rb +46 -13
- data/lib/scorm_engine/models/registration_runtime_interaction.rb +58 -11
- data/lib/scorm_engine/version.rb +1 -1
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_id.yml +3 -3
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_type.yml +3 -3
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_AICC.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM12.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM2004-3RD.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_failure_when_registration_does_not_exist.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_successful_when_registration_exists.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_false_when_registration_does_not_exist.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_true_when_registration_exists.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/includes_results_we_expect.yml +6 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/is_successful.yml +6 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/returns_an_array_of_registrations.yml +6 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/fails_when_id_is_invalid.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/is_successful.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/results/returns_a_URL_string.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/does_not_return_activity_details_by_default.yml +5 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/returns_activity_details_if_requested.yml +5 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/fails_when_registration_does_not_exist.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/returns_a_registration_when_it_exists.yml +5 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/excludes_results.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/includes_results.yml +6 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/excludes_results.yml +3 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/includes_results.yml +5 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/includes_results_we_expect.yml +6 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml +6 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/returns_an_array_of_registrations.yml +6 -9
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_course_id_is_invalid.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_registration_id_already_exists.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml +9 -11
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful_even_when_given_a_UTF8/slashed_username.yml +9 -47
- data/spec/scorm_engine/api/endpoints/dispatches_spec.rb +1 -1
- data/spec/scorm_engine/api/endpoints/registrations_spec.rb +8 -1
- data/spec/scorm_engine/configuration_spec.rb +22 -0
- data/spec/scorm_engine/models/course_import_spec.rb +2 -2
- data/spec/scorm_engine/models/course_spec.rb +2 -2
- data/spec/scorm_engine/models/dispatch_zip_spec.rb +1 -1
- data/spec/scorm_engine/models/registration_runtime_interaction_spec.rb +7 -0
- data/spec/scorm_engine/models/registration_spec.rb +7 -0
- metadata +1 -1
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -19,7 +17,7 @@ http_interactions:
|
|
19
17
|
message: ''
|
20
18
|
headers:
|
21
19
|
date:
|
22
|
-
-
|
20
|
+
- Fri, 24 Aug 2018 21:33:45 GMT
|
23
21
|
server:
|
24
22
|
- nginx
|
25
23
|
connection:
|
@@ -28,5 +26,5 @@ http_interactions:
|
|
28
26
|
encoding: UTF-8
|
29
27
|
string: ''
|
30
28
|
http_version:
|
31
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 24 Aug 2018 21:33:45 GMT
|
32
30
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:49 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -34,5 +32,5 @@ http_interactions:
|
|
34
32
|
encoding: ASCII-8BIT
|
35
33
|
string: '{"message":"External Registration ID ''reg-does-not-exist''"}'
|
36
34
|
http_version:
|
37
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 24 Aug 2018 21:33:49 GMT
|
38
36
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:47 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
content-length:
|
@@ -32,5 +30,5 @@ http_interactions:
|
|
32
30
|
encoding: UTF-8
|
33
31
|
string: '{"exists":true}'
|
34
32
|
http_version:
|
35
|
-
recorded_at:
|
33
|
+
recorded_at: Fri, 24 Aug 2018 21:33:47 GMT
|
36
34
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,19 +19,19 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:24 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
28
26
|
- Accept-Encoding
|
29
27
|
content-length:
|
30
|
-
- '
|
28
|
+
- '354'
|
31
29
|
connection:
|
32
30
|
- Close
|
33
31
|
body:
|
34
32
|
encoding: ASCII-8BIT
|
35
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","
|
36
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":
|
33
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-08-24T21:33:12.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-08-24T21:33:12.000Z","createdDate":"2018-08-24T21:33:12.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
34
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2018-08-15T23:19:49.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}]}'
|
37
35
|
http_version:
|
38
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 24 Aug 2018 21:33:25 GMT
|
39
37
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,19 +19,19 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:23 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
28
26
|
- Accept-Encoding
|
29
27
|
content-length:
|
30
|
-
- '
|
28
|
+
- '354'
|
31
29
|
connection:
|
32
30
|
- Close
|
33
31
|
body:
|
34
32
|
encoding: ASCII-8BIT
|
35
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","
|
36
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":
|
33
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-08-24T21:33:12.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-08-24T21:33:12.000Z","createdDate":"2018-08-24T21:33:12.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
34
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2018-08-15T23:19:49.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}]}'
|
37
35
|
http_version:
|
38
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 24 Aug 2018 21:33:23 GMT
|
39
37
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,19 +19,19 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:21 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
28
26
|
- Accept-Encoding
|
29
27
|
content-length:
|
30
|
-
- '
|
28
|
+
- '354'
|
31
29
|
connection:
|
32
30
|
- Close
|
33
31
|
body:
|
34
32
|
encoding: ASCII-8BIT
|
35
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","
|
36
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":
|
33
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-08-24T21:33:12.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-08-24T21:33:12.000Z","createdDate":"2018-08-24T21:33:12.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
34
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2018-08-15T23:19:49.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}]}'
|
37
35
|
http_version:
|
38
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 24 Aug 2018 21:33:21 GMT
|
39
37
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:40 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -34,5 +32,5 @@ http_interactions:
|
|
34
32
|
encoding: ASCII-8BIT
|
35
33
|
string: '{"message":"External Registration ID ''nonexistent-registration''"}'
|
36
34
|
http_version:
|
37
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 24 Aug 2018 21:33:40 GMT
|
38
36
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:38 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -34,5 +32,5 @@ http_interactions:
|
|
34
32
|
encoding: ASCII-8BIT
|
35
33
|
string: '{"launchLink":"https://<SCORM_ENGINE_HOST>/ScormEngineInterface/defaultui/launch.jsp?configuration=ScormEngineGemTesting-default®istration=testing-golf-explained-registration-1&RedirectOnExitUrl=https%3A%2F%2Fexample.com&forceReview=false"}'
|
36
34
|
http_version:
|
37
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 24 Aug 2018 21:33:38 GMT
|
38
36
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:42 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -34,5 +32,5 @@ http_interactions:
|
|
34
32
|
encoding: ASCII-8BIT
|
35
33
|
string: '{"launchLink":"https://<SCORM_ENGINE_HOST>/ScormEngineInterface/defaultui/launch.jsp?configuration=ScormEngineGemTesting-default®istration=testing-golf-explained-registration-1&RedirectOnExitUrl=https%3A%2F%2Fexample.com&forceReview=false"}'
|
36
34
|
http_version:
|
37
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 24 Aug 2018 21:33:42 GMT
|
38
36
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:19 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -32,8 +30,8 @@ http_interactions:
|
|
32
30
|
- Close
|
33
31
|
body:
|
34
32
|
encoding: ASCII-8BIT
|
35
|
-
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-
|
36
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":
|
33
|
+
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-08-24T21:33:12.000Z","registrationCompletion":"UNKNOWN","registrationCompletionAmount":0.0,"registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-08-24T21:33:12.000Z","createdDate":"2018-08-24T21:33:12.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
34
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2018-08-15T23:19:49.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}'
|
37
35
|
http_version:
|
38
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 24 Aug 2018 21:33:19 GMT
|
39
37
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:17 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -32,10 +30,10 @@ http_interactions:
|
|
32
30
|
- Close
|
33
31
|
body:
|
34
32
|
encoding: ASCII-8BIT
|
35
|
-
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-
|
36
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":
|
33
|
+
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-08-24T21:33:12.000Z","registrationCompletion":"UNKNOWN","registrationCompletionAmount":0.0,"registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-08-24T21:33:12.000Z","createdDate":"2018-08-24T21:33:12.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
34
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2018-08-15T23:19:49.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[],"activityDetails":{"id":"golf_sample_default_org","title":"Golf
|
37
35
|
Explained - Run-time Basic Calls","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","activityAbsoluteDuration":"0000:00:00","attemptAbsoluteDuration":"0000:00:00","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":true,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[{"id":"item_1","title":"Golf
|
38
36
|
Explained","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","timeTracked":"0000:00:00","activityAbsoluteDuration":"0000:00:00","attemptAbsoluteDuration":"0000:00:00","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":true,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""},"runtime":{"completionStatus":"unknown","credit":"credit","entry":"abinitio","exit":"Unknown","learnerPreference":{"audioLevel":1.0,"language":"","deliverySpeed":1.0,"audioCaptioning":0},"mode":"Normal","progressMeasure":"","scoreScaled":"","scoreRaw":"","scoreMin":"","scoreMax":"","totalTime":"0000:00:00","timeTracked":"0000:00:00","successStatus":"Unknown","suspendData":"","learnerComments":[],"lmsComments":[],"runtimeInteractions":[],"runtimeObjectives":[]}}],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""}}}'
|
39
37
|
http_version:
|
40
|
-
recorded_at:
|
38
|
+
recorded_at: Fri, 24 Aug 2018 21:33:17 GMT
|
41
39
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:14 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -34,5 +32,5 @@ http_interactions:
|
|
34
32
|
encoding: ASCII-8BIT
|
35
33
|
string: '{"message":"External Registration ID ''reg-does-not-exist''"}'
|
36
34
|
http_version:
|
37
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 24 Aug 2018 21:33:14 GMT
|
38
36
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:15 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -32,8 +30,8 @@ http_interactions:
|
|
32
30
|
- Close
|
33
31
|
body:
|
34
32
|
encoding: ASCII-8BIT
|
35
|
-
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-
|
36
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":
|
33
|
+
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-08-24T21:33:12.000Z","registrationCompletion":"UNKNOWN","registrationCompletionAmount":0.0,"registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-08-24T21:33:12.000Z","createdDate":"2018-08-24T21:33:12.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
34
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2018-08-15T23:19:49.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}'
|
37
35
|
http_version:
|
38
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 24 Aug 2018 21:33:16 GMT
|
39
37
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,7 +19,7 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:35 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
@@ -34,5 +32,5 @@ http_interactions:
|
|
34
32
|
encoding: ASCII-8BIT
|
35
33
|
string: '{"registrations":[]}'
|
36
34
|
http_version:
|
37
|
-
recorded_at:
|
35
|
+
recorded_at: Fri, 24 Aug 2018 21:33:35 GMT
|
38
36
|
recorded_with: VCR 4.0.0
|
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
10
|
User-Agent:
|
13
|
-
- ScormEngine Ruby Gem 0.
|
11
|
+
- ScormEngine Ruby Gem 0.6.2
|
14
12
|
Authorization:
|
15
13
|
- Basic <BASIC_AUTH>
|
16
14
|
response:
|
@@ -21,20 +19,19 @@ http_interactions:
|
|
21
19
|
content-type:
|
22
20
|
- application/json
|
23
21
|
date:
|
24
|
-
-
|
22
|
+
- Fri, 24 Aug 2018 21:33:37 GMT
|
25
23
|
server:
|
26
24
|
- nginx
|
27
25
|
vary:
|
28
26
|
- Accept-Encoding
|
29
27
|
content-length:
|
30
|
-
- '
|
28
|
+
- '354'
|
31
29
|
connection:
|
32
30
|
- Close
|
33
31
|
body:
|
34
32
|
encoding: ASCII-8BIT
|
35
|
-
string: '{"registrations":[{"id":"
|
36
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":
|
37
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":2,"updated":"2018-07-24T20:22:19.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}]}'
|
33
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-08-24T21:33:12.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-08-24T21:33:12.000Z","createdDate":"2018-08-24T21:33:12.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
34
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2018-08-15T23:19:49.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}]}'
|
38
35
|
http_version:
|
39
|
-
recorded_at:
|
36
|
+
recorded_at: Fri, 24 Aug 2018 21:33:37 GMT
|
40
37
|
recorded_with: VCR 4.0.0
|