![]() Fires off delayed job that hits the turnitin callback url, creates a submission, and maps originality data into the turnitin_data field. Fixes PLAT-1167 Fixes PLAT-1169 Test Plan: You'll need to have the TurnItIn LTI tool installed, and delayed_jobs running Create an assignment with the submission set to the External Tool for turnitin. As a student, submit the assignment. wait for the delayed job to run. check out /jobs to see whats going on After the job has ran you should see turnitin data, as you would normally with the plugin Change-Id: I5d60d250e91b422b5e77255d715abf2e4712f130 Reviewed-on: https://gerrit.instructure.com/59942 Tested-by: Jenkins Reviewed-by: Nathan Mills <nathanm@instructure.com> Product-Review: Nathan Mills <nathanm@instructure.com> QA-Review: Nathan Mills <nathanm@instructure.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
spec | ||
.rspec | ||
Gemfile | ||
LICENSE.txt | ||
README.md | ||
Rakefile | ||
test.sh | ||
turnitin_api.gemspec |
README.md
TurnitinApi
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/turnitin
. To experiment with that code, run bin/console
for an interactive prompt.
TODO: Delete this and the text above, and describe your gem
Installation
Add this line to your application's Gemfile:
gem 'turnitin'
And then execute:
$ bundle
Or install it yourself as:
$ gem install turnitin
Usage
TODO: Write usage instructions here
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run rake rspec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/turnitin.
License
The gem is available as open source under the terms of the MIT License.