Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

currency#11

Open
amaladevi-selvaraj wants to merge 49 commits intoaeseducation:masterfrom
instructure:master
Open

currency#11
amaladevi-selvaraj wants to merge 49 commits intoaeseducation:masterfrom
instructure:master

Conversation

@amaladevi-selvaraj
Copy link

No description provided.

miquella and others added 30 commits August 25, 2014 15:35
Cleanup and updating to latest gems
Allow a custom API URL to be used
  - Allow uploading courses directly with one method call
  - Course files can now be passed in as any IO-like object
Remove the unused lib/scorm_cloud/connection.rb
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
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
Philip Hallstrom and others added 7 commits May 12, 2016 11:15
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

Comments