scorm_engine 0.7.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/lib/scorm_engine/api/endpoints.rb +4 -0
  3. data/lib/scorm_engine/api/endpoints/configuration.rb +94 -0
  4. data/lib/scorm_engine/api/endpoints/courses/configuration.rb +1 -1
  5. data/lib/scorm_engine/api/endpoints/registrations/configuration.rb +1 -1
  6. data/lib/scorm_engine/api/endpoints/tenants/configuration.rb +108 -0
  7. data/lib/scorm_engine/configuration.rb +4 -2
  8. data/lib/scorm_engine/faraday/connection.rb +10 -4
  9. data/lib/scorm_engine/faraday/request.rb +19 -4
  10. data/lib/scorm_engine/models.rb +1 -0
  11. data/lib/scorm_engine/models/tenant_configuration.rb +34 -0
  12. data/lib/scorm_engine/version.rb +1 -1
  13. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/is_successful.yml +24 -15
  14. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_platform.yml +24 -15
  15. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_version.yml +24 -15
  16. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_before_option.yml +23 -15
  17. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_since_option.yml +23 -15
  18. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/is_successful.yml +23 -15
  19. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_combined_counts.yml +23 -15
  20. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_per_tenantcounts.yml +23 -15
  21. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/fails_when_settings_are_invalid.yml +46 -0
  22. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/is_successful.yml +42 -0
  23. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/is_successful.yml +931 -0
  24. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/returns_metadata_in_raw_response_when_included_in_options.yml +931 -0
  25. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/is_successful.yml +64 -0
  26. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/returns_settings_and_values.yml +64 -0
  27. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/fails_when_settings_are_invalid.yml +48 -0
  28. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/is_successful.yml +44 -0
  29. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/persists_the_settings.yml +207 -0
  30. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/fails_when_id_is_invalid.yml +23 -15
  31. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/works.yml +19 -9
  32. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/fails_when_id_is_invalid.yml +23 -15
  33. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/is_successful.yml +24 -16
  34. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/results/sucessfully_creates_the_Course_attributes.yml +24 -16
  35. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/fails_when_id_is_invalid.yml +23 -15
  36. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/is_successful.yml +23 -15
  37. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string.yml +23 -15
  38. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/fetches_a_single_course_but_perhaps_multiple_versions.yml +23 -15
  39. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/returns_404_when_ID_is_invalid.yml +23 -15
  40. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_all_the_courses.yml +65 -45
  41. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +32 -24
  42. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/fails_when_passed_an_invalid_value.yml +20 -10
  43. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/works.yml +42 -19
  44. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/is_successful.yml +32 -19
  45. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/is_an_enumerator_of_Course_models.yml +32 -19
  46. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/sucessfully_creates_the_Course_attributes.yml +32 -19
  47. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/fails_when_id_is_invalid.yml +23 -15
  48. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/is_successful.yml +23 -15
  49. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/results/makes_settings_available_as_key/value_pairs.yml +23 -15
  50. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_course_id_is_invalid.yml +23 -15
  51. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  52. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/is_successful.yml +41 -19
  53. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/results/returns_the_value_as_a_string.yml +41 -19
  54. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_id_is_invalid.yml +25 -15
  55. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_settings_are_invalid.yml +24 -12
  56. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/is_successful.yml +21 -9
  57. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/persists_the_settings.yml +88 -48
  58. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_course_id_is_invalid.yml +25 -15
  59. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  60. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/is_successful.yml +41 -19
  61. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/results/persists_the_changes.yml +61 -29
  62. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/successful_imports/works.yml +102 -95
  63. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/unsuccessful_imports/fails_to_import_given_an_invalid_url.yml +73 -294
  64. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_post_course_import/unsuccessful_imports/fails_to_import_a_previously_existing_course.yml +21 -9
  65. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/returns_success_even_when_id_is_invalid.yml +19 -9
  66. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/works.yml +19 -9
  67. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/fails_when_id_is_invalid.yml +22 -14
  68. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/is_successful.yml +22 -14
  69. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/results/sucessfully_creates_the_destination_attributes.yml +22 -14
  70. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/fails_when_invalid.yml +22 -14
  71. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/works.yml +20 -10
  72. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_all_the_destinations.yml +48 -31
  73. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +23 -15
  74. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/fails_when_passed_an_invalid_value.yml +22 -13
  75. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/works.yml +24 -15
  76. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/is_successful.yml +23 -15
  77. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/is_an_enumerator_of_Destination_models.yml +23 -15
  78. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/sucessfully_creates_the_Destination_attributes.yml +65 -13
  79. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful.yml +40 -18
  80. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful_even_if_the_destination_id_is_not_unique.yml +21 -9
  81. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/fails_when_invalid.yml +24 -12
  82. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_false.yml +21 -9
  83. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_true.yml +21 -9
  84. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/fails_when_invalid.yml +24 -12
  85. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_false.yml +21 -9
  86. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_true.yml +21 -9
  87. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/is_successful.yml +21 -9
  88. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/results/sucessfully_creates_the_destination_attributes.yml +43 -23
  89. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/returns_success_even_when_id_is_invalid.yml +19 -7
  90. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/works.yml +19 -7
  91. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/is_successful.yml +19 -7
  92. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/succeeds_even_when_id_is_invalid.yml +19 -7
  93. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/fails_when_id_is_invalid.yml +22 -12
  94. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/is_successful.yml +23 -13
  95. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +23 -13
  96. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_false_when_disabled.yml +39 -15
  97. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_true_when_enabled.yml +39 -15
  98. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/fails_when_id_is_invalid.yml +41 -19
  99. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/is_successful.yml +42 -20
  100. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/results/sucessfully_creates_the_dispatch_attributes.yml +42 -20
  101. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_id.yml +22 -12
  102. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_type.yml +20 -8
  103. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works.yml +24 -12
  104. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_AICC.yml +24 -12
  105. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM12.yml +24 -12
  106. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM2004-3RD.yml +23 -11
  107. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_all_the_dispatches.yml +47 -27
  108. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +23 -13
  109. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/fails_when_passed_an_invalid_value.yml +20 -8
  110. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/works.yml +23 -13
  111. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/is_successful.yml +23 -13
  112. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/is_an_enumerator_of_dispatch_models.yml +23 -13
  113. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/sucessfully_creates_the_dispatch_attributes.yml +21 -44
  114. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/is_successful.yml +38 -14
  115. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/updates_if_same_dispatch_id.yml +65 -33
  116. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/is_successful.yml +19 -7
  117. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +42 -20
  118. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/fails_when_invalid.yml +22 -10
  119. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_false.yml +19 -7
  120. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_true.yml +19 -7
  121. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/is_successful.yml +23 -15
  122. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/reports_the_api_is_up.yml +23 -15
  123. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/is_unsuccessful.yml +25 -17
  124. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/returns_status_403.yml +25 -17
  125. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_failure_when_registration_does_not_exist.yml +23 -13
  126. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_successful_when_registration_exists.yml +19 -7
  127. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_false_when_registration_does_not_exist.yml +23 -13
  128. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_true_when_registration_exists.yml +20 -8
  129. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/includes_results_we_expect.yml +26 -14
  130. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/is_successful.yml +26 -14
  131. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/returns_an_array_of_registrations.yml +26 -14
  132. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/fails_when_id_is_invalid.yml +23 -13
  133. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/is_successful.yml +23 -13
  134. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/results/returns_a_URL_string.yml +23 -13
  135. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/does_not_return_activity_details_by_default.yml +24 -14
  136. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/returns_activity_details_if_requested.yml +24 -14
  137. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/fails_when_registration_does_not_exist.yml +23 -13
  138. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/returns_a_registration_when_it_exists.yml +24 -14
  139. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/excludes_results.yml +22 -12
  140. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/includes_results.yml +26 -14
  141. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/excludes_results.yml +22 -12
  142. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/includes_results.yml +26 -14
  143. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/includes_results_we_expect.yml +26 -14
  144. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml +26 -14
  145. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/returns_an_array_of_registrations.yml +26 -14
  146. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_course_id_is_invalid.yml +22 -10
  147. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_registration_id_already_exists.yml +20 -8
  148. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml +38 -14
  149. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful_even_when_given_a_UTF8/slashed_username.yml +38 -14
  150. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/fails_when_id_is_invalid.yml +23 -15
  151. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/is_successful.yml +23 -15
  152. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/results/makes_settings_available_as_key/value_pairs.yml +23 -15
  153. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +23 -15
  154. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  155. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/is_successful.yml +41 -19
  156. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/results/returns_the_value_as_a_string.yml +41 -19
  157. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_id_is_invalid.yml +25 -15
  158. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_settings_are_invalid.yml +24 -12
  159. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/is_successful.yml +21 -9
  160. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/persists_the_settings.yml +88 -48
  161. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +25 -15
  162. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +20 -10
  163. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/is_successful.yml +41 -19
  164. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/results/persists_the_changes.yml +61 -29
  165. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/fails_when_registration_does_not_exist.yml +23 -15
  166. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/is_successful.yml +23 -31
  167. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/returns_an_array_of_registration_launch_histories.yml +23 -31
  168. data/spec/scorm_engine/api/endpoints/about_spec.rb +1 -1
  169. data/spec/scorm_engine/api/endpoints/configuration_spec.rb +82 -0
  170. data/spec/scorm_engine/api/endpoints/courses/configuration_spec.rb +5 -5
  171. data/spec/scorm_engine/api/endpoints/courses_spec.rb +6 -6
  172. data/spec/scorm_engine/api/endpoints/destinations_spec.rb +2 -2
  173. data/spec/scorm_engine/api/endpoints/dispatches_spec.rb +1 -1
  174. data/spec/scorm_engine/api/endpoints/registrations/configuration_spec.rb +5 -5
  175. data/spec/scorm_engine/api/endpoints/registrations_spec.rb +2 -2
  176. data/spec/scorm_engine/api/endpoints/tenants/configuration_spec.rb +126 -0
  177. data/spec/scorm_engine/faraday/connection_spec.rb +23 -5
  178. data/spec/scorm_engine/models/tenant_configuration_spec.rb +16 -0
  179. data/spec/support/vcr.rb +1 -0
  180. metadata +28 -13
  181. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/raises_ArgumentError_when_destination_id_is_missing.yml +0 -32
  182. data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/when_dispatch_has_registrations/knows_it_s_registration_count.yml +0 -63
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: oops
9
9
  headers:
10
10
  User-Agent:
11
- - ScormEngine Ruby Gem 0.6.10
11
+ - ScormEngine Ruby Gem 0.8.2
12
12
  Authorization:
13
13
  - Basic <BASIC_AUTH>
14
14
  Content-Type:
@@ -16,23 +16,35 @@ http_interactions:
16
16
  response:
17
17
  status:
18
18
  code: 400
19
- message: ''
19
+ message: Bad Request
20
20
  headers:
21
21
  content-type:
22
22
  - text/plain
23
- date:
24
- - Thu, 04 Oct 2018 21:22:30 GMT
25
- server:
26
- - nginx
27
23
  content-length:
28
- - '198'
24
+ - '191'
29
25
  connection:
30
- - Close
26
+ - close
27
+ date:
28
+ - Tue, 10 Nov 2020 22:59:03 GMT
29
+ p3p:
30
+ - CP="NOI"
31
+ server:
32
+ - Apache
33
+ x-xss-protection:
34
+ - 1; mode=block
35
+ x-cache:
36
+ - Error from cloudfront
37
+ via:
38
+ - 1.1 52271e90b57cafa189a2830b7c04a6f9.cloudfront.net (CloudFront)
39
+ x-amz-cf-pop:
40
+ - SLC50-C1
41
+ x-amz-cf-id:
42
+ - hnBOjbsF8Z31aSvU_IW3IVGf_p4zZHacHwo60Sd_-Cggx66MJixJgA==
31
43
  body:
32
44
  encoding: UTF-8
33
45
  string: |-
34
46
  Unrecognized token 'oops': was expecting ('true', 'false' or 'null')
35
- at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@57adebb3; line: 1, column: 9]
47
+ at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 9]
36
48
  http_version:
37
- recorded_at: Thu, 04 Oct 2018 21:22:30 GMT
49
+ recorded_at: Tue, 10 Nov 2020 22:59:03 GMT
38
50
  recorded_with: VCR 4.0.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: 'false'
9
9
  headers:
10
10
  User-Agent:
11
- - ScormEngine Ruby Gem 0.6.10
11
+ - ScormEngine Ruby Gem 0.8.2
12
12
  Authorization:
13
13
  - Basic <BASIC_AUTH>
14
14
  Content-Type:
@@ -16,17 +16,29 @@ http_interactions:
16
16
  response:
17
17
  status:
18
18
  code: 204
19
- message: ''
19
+ message: No Content
20
20
  headers:
21
+ connection:
22
+ - close
21
23
  date:
22
- - Thu, 04 Oct 2018 21:22:32 GMT
24
+ - Tue, 10 Nov 2020 22:59:03 GMT
25
+ p3p:
26
+ - CP="NOI"
23
27
  server:
24
- - nginx
25
- connection:
26
- - Close
28
+ - Apache
29
+ x-xss-protection:
30
+ - 1; mode=block
31
+ x-cache:
32
+ - Miss from cloudfront
33
+ via:
34
+ - 1.1 07c02ae6c53d85283eb15380264d9998.cloudfront.net (CloudFront)
35
+ x-amz-cf-pop:
36
+ - SLC50-C1
37
+ x-amz-cf-id:
38
+ - nHi5t0-lQ6MBOYSMUD5k6weq4XiD1mYV9Oz8K8B4qoFDu0yJ_LBVew==
27
39
  body:
28
40
  encoding: UTF-8
29
41
  string: ''
30
42
  http_version:
31
- recorded_at: Thu, 04 Oct 2018 21:22:32 GMT
43
+ recorded_at: Tue, 10 Nov 2020 22:59:03 GMT
32
44
  recorded_with: VCR 4.0.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: 'true'
9
9
  headers:
10
10
  User-Agent:
11
- - ScormEngine Ruby Gem 0.6.10
11
+ - ScormEngine Ruby Gem 0.8.2
12
12
  Authorization:
13
13
  - Basic <BASIC_AUTH>
14
14
  Content-Type:
@@ -16,17 +16,29 @@ http_interactions:
16
16
  response:
17
17
  status:
18
18
  code: 204
19
- message: ''
19
+ message: No Content
20
20
  headers:
21
+ connection:
22
+ - close
21
23
  date:
22
- - Thu, 04 Oct 2018 21:22:34 GMT
24
+ - Tue, 10 Nov 2020 22:59:00 GMT
25
+ p3p:
26
+ - CP="NOI"
23
27
  server:
24
- - nginx
25
- connection:
26
- - Close
28
+ - Apache
29
+ x-xss-protection:
30
+ - 1; mode=block
31
+ x-cache:
32
+ - Miss from cloudfront
33
+ via:
34
+ - 1.1 a1d0bea525f74dd86deb7d34bec14cac.cloudfront.net (CloudFront)
35
+ x-amz-cf-pop:
36
+ - SLC50-C1
37
+ x-amz-cf-id:
38
+ - 66pWMLmTstkLGfKGL_U_9SW0IZ6JS_ImjmqASMuJa3MvzC8ZRwG7_A==
27
39
  body:
28
40
  encoding: UTF-8
29
41
  string: ''
30
42
  http_version:
31
- recorded_at: Thu, 04 Oct 2018 21:22:34 GMT
43
+ recorded_at: Tue, 10 Nov 2020 22:59:02 GMT
32
44
  recorded_with: VCR 4.0.0
@@ -7,32 +7,40 @@ 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.8.2
14
12
  Authorization:
15
13
  - Basic <BASIC_AUTH>
16
14
  response:
17
15
  status:
18
16
  code: 200
19
- message: ''
17
+ message: OK
20
18
  headers:
21
19
  content-type:
22
20
  - application/json
23
- date:
24
- - Tue, 24 Jul 2018 20:24:48 GMT
25
- server:
26
- - nginx
27
- vary:
28
- - Accept-Encoding
29
21
  content-length:
30
- - '44'
22
+ - '74'
31
23
  connection:
32
- - Close
24
+ - close
25
+ date:
26
+ - Tue, 10 Nov 2020 22:58:26 GMT
27
+ p3p:
28
+ - CP="NOI"
29
+ server:
30
+ - Apache
31
+ x-xss-protection:
32
+ - 1; mode=block
33
+ x-cache:
34
+ - Miss from cloudfront
35
+ via:
36
+ - 1.1 6fd49f86f210f7efc9603d6f872dd0cd.cloudfront.net (CloudFront)
37
+ x-amz-cf-pop:
38
+ - SLC50-C1
39
+ x-amz-cf-id:
40
+ - Fqzns7briM5gwYFeTf0TmVCaNBoyJz6e4cPEWu60gdzGGLfvQgwgEQ==
33
41
  body:
34
- encoding: ASCII-8BIT
35
- string: '{"message":"API is up."}'
42
+ encoding: UTF-8
43
+ string: '{"message":"API is up.\nCurrent System Time: 2020-11-10T22:58:26.647Z.\n"}'
36
44
  http_version:
37
- recorded_at: Tue, 24 Jul 2018 20:24:48 GMT
45
+ recorded_at: Tue, 10 Nov 2020 22:58:26 GMT
38
46
  recorded_with: VCR 4.0.0
@@ -7,32 +7,40 @@ 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.8.2
14
12
  Authorization:
15
13
  - Basic <BASIC_AUTH>
16
14
  response:
17
15
  status:
18
16
  code: 200
19
- message: ''
17
+ message: OK
20
18
  headers:
21
19
  content-type:
22
20
  - application/json
23
- date:
24
- - Tue, 24 Jul 2018 20:24:47 GMT
25
- server:
26
- - nginx
27
- vary:
28
- - Accept-Encoding
29
21
  content-length:
30
- - '44'
22
+ - '74'
31
23
  connection:
32
- - Close
24
+ - close
25
+ date:
26
+ - Tue, 10 Nov 2020 22:58:24 GMT
27
+ p3p:
28
+ - CP="NOI"
29
+ server:
30
+ - Apache
31
+ x-xss-protection:
32
+ - 1; mode=block
33
+ x-cache:
34
+ - Miss from cloudfront
35
+ via:
36
+ - 1.1 93602184543f38c8cb58276d2ff471a9.cloudfront.net (CloudFront)
37
+ x-amz-cf-pop:
38
+ - SLC50-C1
39
+ x-amz-cf-id:
40
+ - aRXH7Gdd8WWEbsQWe0sfre2qBjdpGZNjLjvb2jL1iP09SprcoSfAXA==
33
41
  body:
34
- encoding: ASCII-8BIT
35
- string: '{"message":"API is up."}'
42
+ encoding: UTF-8
43
+ string: '{"message":"API is up.\nCurrent System Time: 2020-11-10T22:58:24.975Z.\n"}'
36
44
  http_version:
37
- recorded_at: Tue, 24 Jul 2018 20:24:47 GMT
45
+ recorded_at: Tue, 10 Nov 2020 22:58:26 GMT
38
46
  recorded_with: VCR 4.0.0
@@ -7,35 +7,43 @@ 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.8.2
14
12
  Authorization:
15
- - Basic UmUzaWpFWU1xcXBOZXZlUDNBNFlLNkc6aW52YWxpZA==
13
+ - Basic UnVzdGljaUVuZ2luZTppbnZhbGlk
16
14
  response:
17
15
  status:
18
16
  code: 403
19
- message: ''
17
+ message: Forbidden
20
18
  headers:
21
- content-language:
22
- - en
23
19
  content-type:
24
20
  - text/html;charset=utf-8
25
- date:
26
- - Tue, 24 Jul 2018 20:24:48 GMT
27
- server:
28
- - nginx
29
- vary:
30
- - Accept-Encoding
31
21
  content-length:
32
- - '303'
22
+ - '650'
33
23
  connection:
34
- - Close
24
+ - close
25
+ content-language:
26
+ - en
27
+ date:
28
+ - Tue, 10 Nov 2020 22:58:27 GMT
29
+ p3p:
30
+ - CP="NOI"
31
+ server:
32
+ - Apache
33
+ x-xss-protection:
34
+ - 1; mode=block
35
+ x-cache:
36
+ - Error from cloudfront
37
+ via:
38
+ - 1.1 2a3b50173a77fe71ee16466542bd1fdd.cloudfront.net (CloudFront)
39
+ x-amz-cf-pop:
40
+ - SLC50-C1
41
+ x-amz-cf-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41
49
  recorded_with: VCR 4.0.0
@@ -7,35 +7,43 @@ 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.8.2
14
12
  Authorization:
15
- - Basic UmUzaWpFWU1xcXBOZXZlUDNBNFlLNkc6aW52YWxpZA==
13
+ - Basic UnVzdGljaUVuZ2luZTppbnZhbGlk
16
14
  response:
17
15
  status:
18
16
  code: 403
19
- message: ''
17
+ message: Forbidden
20
18
  headers:
21
- content-language:
22
- - en
23
19
  content-type:
24
20
  - text/html;charset=utf-8
25
- date:
26
- - Tue, 24 Jul 2018 20:24:48 GMT
27
- server:
28
- - nginx
29
- vary:
30
- - Accept-Encoding
31
21
  content-length:
32
- - '303'
22
+ - '650'
33
23
  connection:
34
- - Close
24
+ - close
25
+ content-language:
26
+ - en
27
+ date:
28
+ - Tue, 10 Nov 2020 22:58:26 GMT
29
+ p3p:
30
+ - CP="NOI"
31
+ server:
32
+ - Apache
33
+ x-xss-protection:
34
+ - 1; mode=block
35
+ x-cache:
36
+ - Error from cloudfront
37
+ via:
38
+ - 1.1 794a3d3af21f401cf5ddf53187ea3030.cloudfront.net (CloudFront)
39
+ x-amz-cf-pop:
40
+ - SLC50-C1
41
+ x-amz-cf-id:
42
+ - OziNyEKDxoI6NpQgYgYLyc6qvitCtPAlC8m5baGDSAeY91TPbHF-iw==
35
43
  body:
36
44
  encoding: ASCII-8BIT
37
45
  string: !binary |-
38
- PCFkb2N0eXBlIGh0bWw+PGh0bWwgbGFuZz0iZW4iPjxoZWFkPjx0aXRsZT5IVFRQIFN0YXR1cyA0MDMg4oCTIEZvcmJpZGRlbjwvdGl0bGU+PHN0eWxlIHR5cGU9InRleHQvY3NzIj5oMSB7Zm9udC1mYW1pbHk6VGFob21hLEFyaWFsLHNhbnMtc2VyaWY7Y29sb3I6d2hpdGU7YmFja2dyb3VuZC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ndoaXRlO2JhY2tncm91bmQtY29sb3I6IzUyNUQ3Njt9IGgxIHtmb250LXNpemU6MjJweDt9IGgyIHtmb250LXNpemU6MTZweDt9IGgzIHtmb250LXNpemU6MTRweDt9IHAge2ZvbnQtc2l6ZToxMnB4O30gYSB7Y29sb3I6YmxhY2s7fSAubGluZSB7aGVpZ2h0OjFweDtiYWNrZ3JvdW5kLWNvbG9yOiM1MjVENzY7Ym9yZGVyOm5vbmU7fTwvc3R5bGU+PC9oZWFkPjxib2R5PjxoMT5IVFRQIFN0YXR1cyA0MDMg4oCTIEZvcmJpZGRlbjwvaDE+PGhyIGNsYXNzPSJsaW5lIiAvPjxwPjxiPlR5cGU8L2I+IFN0YXR1cyBSZXBvcnQ8L3A+PHA+PGI+TWVzc2FnZTwvYj4gRm9yYmlkZGVuPC9wPjxwPjxiPkRlc2NyaXB0aW9uPC9iPiBUaGUgc2VydmVyIHVuZGVyc3Rvb2QgdGhlIHJlcXVlc3QgYnV0IHJlZnVzZXMgdG8gYXV0aG9yaXplIGl0LjwvcD48aHIgY2xhc3M9ImxpbmUiIC8+PGgzPkFwYWNoZSBUb21jYXQvNy4wLjEwMDwvaDM+PC9ib2R5PjwvaHRtbD4=
39
47
  http_version:
40
- recorded_at: Tue, 24 Jul 2018 20:24:48 GMT
48
+ recorded_at: Tue, 10 Nov 2020 22:58:27 GMT
41
49
  recorded_with: VCR 4.0.0
@@ -8,29 +8,39 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - ScormEngine Ruby Gem 0.6.2
11
+ - ScormEngine Ruby Gem 0.8.2
12
12
  Authorization:
13
13
  - Basic <BASIC_AUTH>
14
14
  response:
15
15
  status:
16
16
  code: 404
17
- message: ''
17
+ message: Not Found
18
18
  headers:
19
19
  content-type:
20
20
  - application/json
21
- date:
22
- - Fri, 24 Aug 2018 21:33:43 GMT
23
- server:
24
- - nginx
25
- vary:
26
- - Accept-Encoding
27
21
  content-length:
28
- - '78'
22
+ - '65'
29
23
  connection:
30
- - Close
24
+ - close
25
+ date:
26
+ - Tue, 10 Nov 2020 22:54:39 GMT
27
+ p3p:
28
+ - CP="NOI"
29
+ server:
30
+ - Apache
31
+ x-xss-protection:
32
+ - 1; mode=block
33
+ x-cache:
34
+ - Error from cloudfront
35
+ via:
36
+ - 1.1 5eba6942302eb68c1d27c1cd82dcda27.cloudfront.net (CloudFront)
37
+ x-amz-cf-pop:
38
+ - SLC50-C1
39
+ x-amz-cf-id:
40
+ - gw8kPFqht24VjEK9dOoflOLjYPpwqjqKwnpzznn3gboEs5lv4CeYsw==
31
41
  body:
32
- encoding: ASCII-8BIT
33
- string: '{"message":"External Registration ID ''reg-does-not-exist''"}'
42
+ encoding: UTF-8
43
+ string: '{"message":"Registration ID ''reg-does-not-exist'' does not exist"}'
34
44
  http_version:
35
- recorded_at: Fri, 24 Aug 2018 21:33:43 GMT
45
+ recorded_at: Tue, 10 Nov 2020 22:54:40 GMT
36
46
  recorded_with: VCR 4.0.0
@@ -8,23 +8,35 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - ScormEngine Ruby Gem 0.6.2
11
+ - ScormEngine Ruby Gem 0.8.2
12
12
  Authorization:
13
13
  - Basic <BASIC_AUTH>
14
14
  response:
15
15
  status:
16
16
  code: 204
17
- message: ''
17
+ message: No Content
18
18
  headers:
19
+ connection:
20
+ - close
19
21
  date:
20
- - Fri, 24 Aug 2018 21:33:45 GMT
22
+ - Tue, 10 Nov 2020 22:54:37 GMT
23
+ p3p:
24
+ - CP="NOI"
21
25
  server:
22
- - nginx
23
- connection:
24
- - Close
26
+ - Apache
27
+ x-xss-protection:
28
+ - 1; mode=block
29
+ x-cache:
30
+ - Miss from cloudfront
31
+ via:
32
+ - 1.1 f8e91eeca584f530dcca3e3417221c89.cloudfront.net (CloudFront)
33
+ x-amz-cf-pop:
34
+ - SLC50-C1
35
+ x-amz-cf-id:
36
+ - cUWbhnqxhRo2_F6SnnpQZrFIf3N55XSFzXUHYiBvq8T4QCME-FOCyw==
25
37
  body:
26
38
  encoding: UTF-8
27
39
  string: ''
28
40
  http_version:
29
- recorded_at: Fri, 24 Aug 2018 21:33:45 GMT
41
+ recorded_at: Tue, 10 Nov 2020 22:54:39 GMT
30
42
  recorded_with: VCR 4.0.0