panda_pal 5.12.3 → 5.12.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: 9d8ac5de141425606ffd72e020dec815ebacc8fbe840e07c94c7d390fc885f07
4
- data.tar.gz: e2eafa4325bff57b66d3b0bba977c0318c5d3a2821d5be3ec20f04324196f2a1
3
+ metadata.gz: 427b8c2fd4edd7d2f4e8e8ea329bb6a61aa1ca0c78623f18f0ebd77d14909cc0
4
+ data.tar.gz: 85d633457678c235b6755bb56d8085ed6712e3be042acfffff1d2a29c0b39806
5
5
  SHA512:
6
- metadata.gz: 4624ae3e064ca1547951a9171503d3e13170d92370b50557f8473e69655fc46b38748e39cfb920990d8a1b9fd38c30c4b7972e8584faafbcf0ea9481cc707794
7
- data.tar.gz: db2597130346e0c0afe6739200b61cb14a2c1f8441a038c1cba7426f653e65b987757b94bf2ef22c8d727b712754135d87e0c7c8326371ab5be407a180f8d1ca
6
+ metadata.gz: 4752a6f25b0c938f32aa9ef3b15c24ec21418b7287d9ac7d55c5987de82d24369fd33bd7e95e9a2da26c7e35800402e439f6da55a339856ee0b1e9c542b1ce25
7
+ data.tar.gz: d09935e4b817e371922553acf5bca5532b77b48c408c9d6fb9c83477e79b8731d794839bd8b661aaa68c796851b1445823048e398364540f4a9fba04b56dc1c7
@@ -145,7 +145,7 @@ module PandaPal
145
145
 
146
146
  org_canvas_url = current_organization.canvas_url
147
147
 
148
- if (canvas_env == 'beta' || canvas_env == 'test') && org_canvas_url.present && !org_canvas_url.include?(".#{canvas_env}.")
148
+ if (canvas_env == 'beta' || canvas_env == 'test') && org_canvas_url.present? && !org_canvas_url.include?(".#{canvas_env}.")
149
149
  render plain: "This tool is not properly configured for use in #{canvas_env}", status: 400
150
150
  end
151
151
  end
@@ -193,7 +193,9 @@ module PandaPal
193
193
  elsif exists == :replace || exists == :update
194
194
  # Update Existing
195
195
  ekey = bearcat_client.put("api/lti/developer_keys/#{ekey[:id]}/tool_configuration", {
196
- developer_key: ekey[:developer_key],
196
+ developer_key: {
197
+ redirect_uris: valid_redirect_uris.join("\n"),
198
+ },
197
199
  # tool_configuration: lti_json,
198
200
  tool_configuration: {
199
201
  settings: lti_json,
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.12.3"
2
+ VERSION = "5.12.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.12.3
4
+ version: 5.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails