This repository was archived by the owner on Mar 4, 2021. It is now read-only.
Open
Conversation
Cleanup and updating to latest gems
Allow a custom API URL to be used
url handling cleanup
- Allow uploading courses directly with one method call - Course files can now be passed in as any IO-like object
Course upload improvements
Remove the unused lib/scorm_cloud/connection.rb
Add course.get_metadata
Typo in get_registration_result: :format should be :resultsformat
Raise a custom exception type, RequestError, on failed calls
- Raise more informative exceptions when we get weird responses - Raise exceptions properly from request failures in course.import_course
Exception fixes
Also raise exceptions when other, unknown failures happen while uploading packages
Raise an exception when a non-SCORM file is uploaded
Handle non-zip files correctly round 2
Handle non-zip files correctly round 3
add TransportError for network errors
Default behavior is to not log anything. A fourth argument has been added to the initialization method that expects a Logger (or any object that quacks like a Logger). Alternatively you can instantiate the scorm object and then set `logger`. If set, the HTTP request and response will be written to the log.
Add logging functionality for request/response
- Added the ability to specify a custom SCORM API url via an ENV var. - Added undercased versions of ENV vars so they are usable on the command line. - Replaced use of `try` which is Rails specific with Ruby begin/rescue handler. - Updated README to reflect above changes and fix some inaccuracies.
…thods. Adds functionality to support importing courses asynchronously. http://cloud.scorm.com/doc/web-services/api.html#rustici.course.importCourseAsync http://cloud.scorm.com/doc/web-services/api.html#rustici.course.getAsyncImportResult This is necessary in our application as SCORM engine otherwise tries to process the course inline and the upstream web server times out making our app think the import failed. Async gets around this.
Add ability to specify custom SCORM API url and other minor tweaks
This is a continuation of the previous patch to clean up a few redundant test expecations and provide clarity regarding the format of an error response from SCORM engine.
Implement course's import_course_async and get_async_import_result methods
Implement registration's get_launch_history methods
Fix some README formatting and update comment
This implements the tagging service for courses and learners. I would do it for registrations, but in local testing, while the methods work, they never actually set any tags so I opted to leave them out.
add tagging support for courses and learners
Add get_postback_info to registration service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.