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.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/lib/scorm_engine/api/endpoints/dispatches.rb +1 -0
  3. data/lib/scorm_engine/api/endpoints/registrations.rb +5 -5
  4. data/lib/scorm_engine/configuration.rb +3 -2
  5. data/lib/scorm_engine/faraday/connection.rb +1 -1
  6. data/lib/scorm_engine/models/course.rb +35 -6
  7. data/lib/scorm_engine/models/course_configuration.rb +3 -3
  8. data/lib/scorm_engine/models/course_import.rb +22 -6
  9. data/lib/scorm_engine/models/destination.rb +9 -4
  10. data/lib/scorm_engine/models/dispatch.rb +44 -5
  11. data/lib/scorm_engine/models/dispatch_zip.rb +20 -2
  12. data/lib/scorm_engine/models/learner.rb +14 -4
  13. data/lib/scorm_engine/models/registration.rb +67 -22
  14. data/lib/scorm_engine/models/registration_activity_detail.rb +21 -11
  15. data/lib/scorm_engine/models/registration_configuration.rb +3 -3
  16. data/lib/scorm_engine/models/registration_launch_history.rb +46 -13
  17. data/lib/scorm_engine/models/registration_runtime_interaction.rb +58 -11
  18. data/lib/scorm_engine/version.rb +1 -1
  19. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_id.yml +3 -3
  20. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_type.yml +3 -3
  21. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works.yml +6 -6
  22. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_AICC.yml +6 -6
  23. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM12.yml +6 -6
  24. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM2004-3RD.yml +6 -6
  25. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_failure_when_registration_does_not_exist.yml +3 -5
  26. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_successful_when_registration_exists.yml +3 -5
  27. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_false_when_registration_does_not_exist.yml +3 -5
  28. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_true_when_registration_exists.yml +3 -5
  29. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/includes_results_we_expect.yml +6 -8
  30. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/is_successful.yml +6 -8
  31. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/returns_an_array_of_registrations.yml +6 -8
  32. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/fails_when_id_is_invalid.yml +3 -5
  33. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/is_successful.yml +3 -5
  34. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/results/returns_a_URL_string.yml +3 -5
  35. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/does_not_return_activity_details_by_default.yml +5 -7
  36. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/returns_activity_details_if_requested.yml +5 -7
  37. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/fails_when_registration_does_not_exist.yml +3 -5
  38. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/returns_a_registration_when_it_exists.yml +5 -7
  39. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/excludes_results.yml +3 -5
  40. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/includes_results.yml +6 -9
  41. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/excludes_results.yml +3 -5
  42. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/includes_results.yml +5 -7
  43. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/includes_results_we_expect.yml +6 -9
  44. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml +6 -9
  45. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/returns_an_array_of_registrations.yml +6 -9
  46. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_course_id_is_invalid.yml +6 -6
  47. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_registration_id_already_exists.yml +6 -6
  48. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml +9 -11
  49. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful_even_when_given_a_UTF8/slashed_username.yml +9 -47
  50. data/spec/scorm_engine/api/endpoints/dispatches_spec.rb +1 -1
  51. data/spec/scorm_engine/api/endpoints/registrations_spec.rb +8 -1
  52. data/spec/scorm_engine/configuration_spec.rb +22 -0
  53. data/spec/scorm_engine/models/course_import_spec.rb +2 -2
  54. data/spec/scorm_engine/models/course_spec.rb +2 -2
  55. data/spec/scorm_engine/models/dispatch_zip_spec.rb +1 -1
  56. data/spec/scorm_engine/models/registration_runtime_interaction_spec.rb +7 -0
  57. data/spec/scorm_engine/models/registration_spec.rb +7 -0
  58. 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.1.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
- - Wed, 25 Jul 2018 19:35:33 GMT
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: Wed, 25 Jul 2018 19:35:33 GMT
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.1.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
- - Wed, 25 Jul 2018 17:19:02 GMT
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: Wed, 25 Jul 2018 17:19:02 GMT
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.1.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
- - Wed, 25 Jul 2018 17:19:03 GMT
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: Wed, 25 Jul 2018 17:19:03 GMT
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.1.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
- - Wed, 25 Jul 2018 18:06:55 GMT
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
- - '407'
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","xapiRegistrationId":"9bb62334-1985-495e-9c49-b0e50fdb60c8","instance":0,"updated":"2018-07-25T17:57:15.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"firstAccessDate":"2018-07-25T17:54:10.000Z","lastAccessDate":"2018-07-25T17:57:15.000Z","createdDate":"2018-07-25T17:18:56.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
36
- 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":[]}]}'
37
35
  http_version:
38
- recorded_at: Wed, 25 Jul 2018 18:06:55 GMT
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.1.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
- - Wed, 25 Jul 2018 18:06:57 GMT
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
- - '407'
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","xapiRegistrationId":"9bb62334-1985-495e-9c49-b0e50fdb60c8","instance":0,"updated":"2018-07-25T17:57:15.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"firstAccessDate":"2018-07-25T17:54:10.000Z","lastAccessDate":"2018-07-25T17:57:15.000Z","createdDate":"2018-07-25T17:18:56.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
36
- 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":[]}]}'
37
35
  http_version:
38
- recorded_at: Wed, 25 Jul 2018 18:06:58 GMT
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.1.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
- - Wed, 25 Jul 2018 18:07:00 GMT
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
- - '407'
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","xapiRegistrationId":"9bb62334-1985-495e-9c49-b0e50fdb60c8","instance":0,"updated":"2018-07-25T17:57:15.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"firstAccessDate":"2018-07-25T17:54:10.000Z","lastAccessDate":"2018-07-25T17:57:15.000Z","createdDate":"2018-07-25T17:18:56.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
36
- 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":[]}]}'
37
35
  http_version:
38
- recorded_at: Wed, 25 Jul 2018 18:07:00 GMT
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.1.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
- - Wed, 25 Jul 2018 23:02:17 GMT
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: Wed, 25 Jul 2018 23:02:17 GMT
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.1.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
- - Wed, 25 Jul 2018 17:56:28 GMT
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&registration=testing-golf-explained-registration-1&RedirectOnExitUrl=https%3A%2F%2Fexample.com&forceReview=false"}'
36
34
  http_version:
37
- recorded_at: Wed, 25 Jul 2018 17:56:28 GMT
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.1.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
- - Wed, 25 Jul 2018 17:56:31 GMT
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&registration=testing-golf-explained-registration-1&RedirectOnExitUrl=https%3A%2F%2Fexample.com&forceReview=false"}'
36
34
  http_version:
37
- recorded_at: Wed, 25 Jul 2018 17:56:31 GMT
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.1.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
- - Wed, 25 Jul 2018 19:44:36 GMT
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-07-25T19:35:51.000Z","registrationCompletion":"UNKNOWN","registrationCompletionAmount":0.0,"registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-07-25T19:35:51.000Z","createdDate":"2018-07-25T19:35:51.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
36
- 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: '{"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: Wed, 25 Jul 2018 19:44:36 GMT
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.1.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
- - Wed, 25 Jul 2018 19:44:34 GMT
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-07-25T19:35:51.000Z","registrationCompletion":"UNKNOWN","registrationCompletionAmount":0.0,"registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-07-25T19:35:51.000Z","createdDate":"2018-07-25T19:35:51.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
36
- 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":[],"activityDetails":{"id":"golf_sample_default_org","title":"Golf
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: Wed, 25 Jul 2018 19:44:34 GMT
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.1.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
- - Wed, 25 Jul 2018 19:44:28 GMT
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: Wed, 25 Jul 2018 19:44:29 GMT
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.1.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
- - Wed, 25 Jul 2018 19:44:31 GMT
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-07-25T19:35:51.000Z","registrationCompletion":"UNKNOWN","registrationCompletionAmount":0.0,"registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-07-25T19:35:51.000Z","createdDate":"2018-07-25T19:35:51.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
36
- 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: '{"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: Wed, 25 Jul 2018 19:44:31 GMT
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.1.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
- - Wed, 25 Jul 2018 17:35:14 GMT
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: Wed, 25 Jul 2018 17:35:14 GMT
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.1.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
- - Wed, 25 Jul 2018 17:35:16 GMT
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
- - '402'
28
+ - '354'
31
29
  connection:
32
30
  - Close
33
31
  body:
34
32
  encoding: ASCII-8BIT
35
- string: '{"registrations":[{"id":"reg-1","instance":0,"updated":"2018-07-25T16:21:20.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-07-25T16:21:20.000Z","createdDate":"2018-07-25T16:21:20.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
36
- Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":2,"updated":"2018-07-24T20:22:19.000Z"},"learner":{"id":"learner-1","firstName":"Philip","lastName":"Hallstrom"},"globalObjectives":[],"sharedData":[]},{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2018-07-25T17:18:56.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2018-07-25T17:18:56.000Z","createdDate":"2018-07-25T17:18:56.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
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: Wed, 25 Jul 2018 17:35:16 GMT
36
+ recorded_at: Fri, 24 Aug 2018 21:33:37 GMT
40
37
  recorded_with: VCR 4.0.0