panda_pal 5.4.0.beta9 → 5.4.0.beta10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83ce940ea822b2d77eaeb63a8d6ba7e5ef213151c881a1b1fa872527adac42fd
4
- data.tar.gz: cc4439a2431281e657deb7c61eaedc9dd0b647593657c8c9e112774cd4b9897f
3
+ metadata.gz: 4e8e58d3536fde62fef266458e96d98db54f45d91f067050717e17fdc00dcdf2
4
+ data.tar.gz: 73b390447618698dfaaf87ea6c2372bfb0f8a9cc4f9594b436cf4f29d379407f
5
5
  SHA512:
6
- metadata.gz: 0ae381028c6bbac74c6084dc3aa914e50da57c6126bf394f7150e5e98744c8ec5d025abe3111e18a97f076e31fd2b63f1dec5d2496d1cc3032b6e0a8351d1f6a
7
- data.tar.gz: cda153e9bedb6253d5ab5375657989567ae4cf5e542838d16516a64b1c20cfc2058895504aad10e0e56dfb6a7330c43a467a71be78f192f0c4a221d16ab26f9c
6
+ metadata.gz: 427b3efbb5bc569a2d4c775aac76ce7701a014c03def9ba6066f58cd31f03f6e3099d554cbcfa1a198ed6cf436ab743d5eab2b91109bb5fafa61a751c1115eb0
7
+ data.tar.gz: 2a11146be413ba7036e9c092fae83b94f7e8dc8a0b9333cdf918995219169a681c5a5dcf9cfa3fd19b19b8e7873ab2b80f9aa106d1d3dded51a9e4de5817a52d
@@ -4,10 +4,10 @@ module PandaPal::Jobs
4
4
  class GradePassbackFailure < StandardError; end
5
5
 
6
6
  class GradePassbackJob < ActiveJob::Base
7
- sidekiq_options retry: 5
8
-
9
7
  attr_accessor :organization, :opts
10
8
 
9
+ sidekiq_options(retry: 5) if respond_to?(:sidekiq_options)
10
+
11
11
  # Required values for opts: passback_guid, passback_url, score AND/OR total_score.
12
12
  # Possible values for opts: cdata_text, text, url, submitted_at, lti_launch_url.
13
13
  # passback_guid is sent in launch params as 'lis_result_sourcedid'.
data/lib/panda_pal.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require "panda_pal/engine"
2
2
  require 'panda_pal/plugins'
3
3
  require 'panda_pal/helpers'
4
- require 'panda_pal/jobs'
5
4
  require 'oauth/request_proxy/rack_request'
6
5
  require 'oauth/request_proxy/action_dispatch_request'
7
6
 
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.4.0.beta9"
2
+ VERSION = "5.4.0.beta10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.0.beta9
4
+ version: 5.4.0.beta10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure ProServe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-15 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -218,6 +218,7 @@ files:
218
218
  - app/controllers/panda_pal/lti_v1_p0_controller.rb
219
219
  - app/controllers/panda_pal/lti_v1_p3_controller.rb
220
220
  - app/helpers/panda_pal/application_helper.rb
221
+ - app/jobs/panda_pal/jobs/grade_passback_job.rb
221
222
  - app/lib/lti_xml/base_platform.rb
222
223
  - app/lib/lti_xml/bridge_platform.rb
223
224
  - app/lib/lti_xml/canvas_platform.rb
@@ -251,8 +252,6 @@ files:
251
252
  - lib/panda_pal/helpers/route_helper.rb
252
253
  - lib/panda_pal/helpers/secure_headers.rb
253
254
  - lib/panda_pal/helpers/session_replacement.rb
254
- - lib/panda_pal/jobs.rb
255
- - lib/panda_pal/jobs/grade_passback_job.rb
256
255
  - lib/panda_pal/plugins.rb
257
256
  - lib/panda_pal/version.rb
258
257
  - lib/tasks/panda_pal_tasks.rake
@@ -1,3 +0,0 @@
1
- module PandaPal::Jobs
2
- require_relative 'jobs/grade_passback_job'
3
- end