panda_pal 5.8.4 → 5.8.5

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: cd953a87fa9112452135474919816d3955cd83240d3814534a9d0cce715ab648
4
- data.tar.gz: 833ce3c958a66074f62f31fe24212bab4937aa08f8b77103aa509d649fd3a641
3
+ metadata.gz: b99a6e3fecfa610524f2b960b7f45ea9b2a337493662a8e6bde4894670c8ded1
4
+ data.tar.gz: 6362fd1bd34723195353ddd9a5288ea98d13acf1ddc390291e16f35715a1e2da
5
5
  SHA512:
6
- metadata.gz: 434bd73034d184046b7683e0fcccb35cff695ce4efcbc217047b8058ee5d7b5c81c2295973da79b5b64ca395992d864fdcc1f4b1876cb532d1402cefb5781af1
7
- data.tar.gz: 7bfb9934d3caad860a1f141b35c8ab65347803da6c737fbe15fc5a85356044eba6fd43470654fd7bba925611b4c1ef59ce3c1e245a17cb242a956683d708dcc2
6
+ metadata.gz: 82513c2b4a82fce30288b38b9e1edc9f2071c1d174a9b5eedc337b8f18c4c72214b4731f0df91ab6ce3ab83a52b47bed1e753c1454c81bbe1bd4a68d7c14db34
7
+ data.tar.gz: 8bdc013083dfd97b5e3cbfce9b62c111ac31f1018fb773a9fef091e1ba7d94a22284930b231d2a8b4803436aae7b1ca0ee44ca49d75fad6ebd059d08dfb7b148
@@ -49,12 +49,6 @@ module PandaPal
49
49
 
50
50
  redirect_with_session_to(:"#{LaunchUrlHelpers.launch_route(ltype)}_url", route_context: main_app)
51
51
  end
52
- # render json: {
53
- # launch_type: params[:launch_type],
54
- # final_url: LaunchUrlHelpers.launch_url(params[:launch_type]),
55
- # final_route: LaunchUrlHelpers.launch_route(params[:launch_type]),
56
- # decoded_jwt: @decoded_lti_jwt,
57
- # }
58
52
  end
59
53
 
60
54
  def tool_config
@@ -75,7 +75,7 @@ module PandaPal
75
75
 
76
76
  def validate_settings
77
77
  validate_settings_level(settings || {}, settings_structure).each do |err|
78
- errors[:settings] << err
78
+ errors.add(:settings, err)
79
79
  end
80
80
  end
81
81
 
@@ -323,7 +323,6 @@ module PandaPal
323
323
  Bearcat::Client.new(
324
324
  prefix: canvas_url,
325
325
  token: canvas_token,
326
- master_rate_limit: (Rails.env.production? && !!defined?(Redis) && ENV['REDIS_URL'].present?),
327
326
  )
328
327
  end
329
328
  end
@@ -9,7 +9,9 @@ module PandaPal::Helpers::RouteHelper
9
9
  path = "#{base_path}/#{nav.to_s}"
10
10
 
11
11
  lti_options = options.delete(:lti_options) || {}
12
+
12
13
  lti_options[:auto_launch] = options.delete(:auto_launch)
14
+ # NB if lti_nav is outside an :organization_id scope, auto_launch defaults differently between 1.1 and 1.3 - 1.1 defaults off, 1.3 defaults on
13
15
  lti_options[:auto_launch] = true if lti_options[:auto_launch].nil? && (@scope[:path] || '').include?(':organization_id')
14
16
 
15
17
  lti_options[:route_helper_key] = path.split('/').reject(&:empty?).join('_')
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.8.4"
2
+ VERSION = "5.8.5"
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.8.4
4
+ version: 5.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-22 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -282,7 +282,7 @@ dependencies:
282
282
  - - '='
283
283
  - !ruby/object:Gem::Version
284
284
  version: 2.7.1
285
- description:
285
+ description:
286
286
  email:
287
287
  - pseng@instructure.com
288
288
  executables: []
@@ -394,7 +394,7 @@ homepage: http://instructure.com
394
394
  licenses:
395
395
  - MIT
396
396
  metadata: {}
397
- post_install_message:
397
+ post_install_message:
398
398
  rdoc_options: []
399
399
  require_paths:
400
400
  - lib
@@ -410,7 +410,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
410
410
  version: '0'
411
411
  requirements: []
412
412
  rubygems_version: 3.1.6
413
- signing_key:
413
+ signing_key:
414
414
  specification_version: 4
415
415
  summary: LTI mountable engine
416
416
  test_files: